URL: https://github.com/freeipa/freeipa/pull/451
Author: tomaskrizek
 Title: #451: certdb: remove unused keysize property
Action: synchronized

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/451/head:pr451
git checkout pr451
From 6084a2c3651c54a2662f708c803e27aa8d678c64 Mon Sep 17 00:00:00 2001
From: Tomas Krizek <tkri...@redhat.com>
Date: Wed, 8 Feb 2017 18:28:25 +0100
Subject: [PATCH 1/2] certdb: remove unused keysize property

Keysize property is no longer used anywhere in the code. It was
originally introduced for the request_cert function, which was later
refactored to use a function argument instead.
---
 ipaserver/install/certs.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/ipaserver/install/certs.py b/ipaserver/install/certs.py
index 80918d4..e6d0ce2 100644
--- a/ipaserver/install/certs.py
+++ b/ipaserver/install/certs.py
@@ -110,7 +110,6 @@ def __init__(
 
         self.cacert_name = get_ca_nickname(self.realm)
         self.valid_months = "120"
-        self.keysize = "1024"
 
         # We are going to set the owner of all of the cert
         # files to the owner of the containing directory

From 3877bbb1c6b99b2d639d4dc6ef68af4cd2558181 Mon Sep 17 00:00:00 2001
From: Tomas Krizek <tkri...@redhat.com>
Date: Wed, 8 Feb 2017 18:54:20 +0100
Subject: [PATCH 2/2] certdb: remove unused valid_moths property

Property valid_months is no longer used anywhere in the code. It was
removed when the selfsign funcionality was dropped.
---
 ipaserver/install/certs.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/ipaserver/install/certs.py b/ipaserver/install/certs.py
index e6d0ce2..d484d8a 100644
--- a/ipaserver/install/certs.py
+++ b/ipaserver/install/certs.py
@@ -109,7 +109,6 @@ def __init__(
             raise RuntimeError("Unable to determine the current directory: %s" % str(e))
 
         self.cacert_name = get_ca_nickname(self.realm)
-        self.valid_months = "120"
 
         # We are going to set the owner of all of the cert
         # files to the owner of the containing directory
-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

Reply via email to