Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

certdb: remove unused keysize property #451

Closed
wants to merge 2 commits into from

Conversation

tkrizek
Copy link
Contributor

@tkrizek tkrizek commented Feb 8, 2017

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.


The value of this property caught my eye, because I don't think we should be using 1024bit keys. Fortunately, I discovered this bit of code is obsolete and we actually use 2048bit key length by default.

Commit that originally introduced the property: 158b4e8
Commit that removed the usage of the property: 9182c10

@stlaz
Copy link
Contributor

stlaz commented Feb 8, 2017

If you want to remove them, you may want to check for other properties as well (I see valid_months at least).

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.
@tkrizek tkrizek force-pushed the remove-ununsed-certdb-keysize branch from 1de9bfd to 3877bbb Compare February 8, 2017 18:03
@tkrizek
Copy link
Contributor Author

tkrizek commented Feb 8, 2017

Commit that removed valid_moths property: e736e75

@frasertweedale
Copy link
Contributor

frasertweedale commented Feb 9, 2017

Conditional ACK: just fix the typo s/moths/months/ in the commit message.

Property valid_months is no longer used anywhere in the code. It was
removed when the selfsign funcionality was dropped.
@tkrizek tkrizek force-pushed the remove-ununsed-certdb-keysize branch from 3877bbb to 0184b7f Compare February 9, 2017 09:29
@tkrizek
Copy link
Contributor Author

tkrizek commented Feb 9, 2017

@frasertweedale Fixed.

@tiran tiran added the ack Pull Request approved, can be merged label Feb 9, 2017
@MartinBasti MartinBasti added the pushed Pull Request has already been pushed label Feb 9, 2017
@MartinBasti MartinBasti closed this Feb 9, 2017
@tkrizek tkrizek deleted the remove-ununsed-certdb-keysize branch September 15, 2017 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ack Pull Request approved, can be merged pushed Pull Request has already been pushed
Projects
None yet
5 participants