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

pki: fix tidy removal on revoked entries #11367

Merged
merged 2 commits into from
Apr 19, 2021
Merged

pki: fix tidy removal on revoked entries #11367

merged 2 commits into from
Apr 19, 2021

Conversation

calvn
Copy link
Contributor

@calvn calvn commented Apr 15, 2021

This PR fixes an issue introduced by #9609 in which entries under revoked/ are removed from storage if a tidy operation is performed with tidy_revoked_certs set to true even if the certificate's NotAfter value is has not been past the current time yet. This can be problematic since it can result in the removal of said certs from the CRL, which uses entries under revoked/ to construct the revoked certs list.

@calvn calvn added this to the 1.7.1 milestone Apr 15, 2021
@vercel vercel bot temporarily deployed to Preview – vault-storybook April 15, 2021 22:07 Inactive
@vercel vercel bot temporarily deployed to Preview – vault April 15, 2021 22:07 Inactive
@calvn calvn merged commit 2ce4f11 into master Apr 19, 2021
@calvn calvn deleted the pki-tidy-fix-crl branch April 19, 2021 16:40
calvn added a commit that referenced this pull request Apr 19, 2021
* pki: fix tidy removal on revoked entries

* add CL entry
calvn added a commit that referenced this pull request Apr 19, 2021
* pki: fix tidy removal on revoked entries

* add CL entry
calvn added a commit that referenced this pull request Apr 19, 2021
* pki: fix tidy removal on revoked entries

* add CL entry
calvn added a commit that referenced this pull request Apr 19, 2021
* pki: fix tidy removal on revoked entries

* add CL entry
calvn added a commit that referenced this pull request Apr 19, 2021
* pki: fix tidy removal on revoked entries

* add CL entry
calvn added a commit that referenced this pull request Apr 19, 2021
* pki: fix tidy removal on revoked entries

* add CL entry
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