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

Rekey on renew #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Rekey on renew #6

wants to merge 1 commit into from

Conversation

kubicek
Copy link
Contributor

@kubicek kubicek commented Jan 8, 2016

Regenerating key when renewing certificate should be mandatory.

There are good reasons to change encryption keys regularly. It protects against long-term key leaks and it hardens decrypting captured traffic in the future.

The fastest way was to delete the key in the renewal process, but i admit it is not very polite to delete the old key before having new certificate issued.

Regenerate key when renewing certificate
@zealot128
Copy link
Owner

I would only use this as an optional argument (--rekey?) as it breaks backwards compatibility and other people's potential running setup.
As you mentioned, deleting the key before having a new one, doesn't sound very great; maybe add a new private key as a Tempfile first and move it to the location on success?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants