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

Remove unified CRLs, cross-cluster revocations #365

Merged
merged 1 commit into from
Jul 10, 2024

Conversation

cipherboy
Copy link
Member

@cipherboy cipherboy commented Jun 15, 2024

In Vault Enterprise's split-storage clustering (Performance Secondary), the PKI engine needed a way of maintaining a single, unified CRL across all Perf Secondary clusters and accepting revocations given to any cluster for certs stored on any other cluster. The combination of Unified CRLs and Revocation Queues solved this problem for Vault Enterprise, but the code largely lived in Vault Community.

Since OpenBao lacks these clustering semantics and is unlikely to add them, remove this code.

Resolves: #272


Based on #362; will be rebased once that merges.

@cipherboy cipherboy added this to the GA milestone Jun 15, 2024
@cipherboy cipherboy requested review from JanMa and DanGhita June 15, 2024 14:41
@cipherboy cipherboy marked this pull request as draft June 15, 2024 14:44
@cipherboy cipherboy force-pushed the remove-unified-crl branch 2 times, most recently from 3efc5fb to 3de9993 Compare June 20, 2024 12:19
@cipherboy cipherboy marked this pull request as ready for review June 20, 2024 12:19
Copy link
Contributor

@DanGhita DanGhita left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, it seems OK for me.
However, while I understand the rational behind this, the changes (cleaning) are important.
So I could not guarantee there is no regression for nominal CRL (without cross or unified validation).
I hope the tests are complete enough to catch any side effects.

@cipherboy
Copy link
Member Author

Thanks @DanGhita -- there are extensive tests still left testing CRLs in crl_test.go and backend_test.go. :-)

In Vault Enterprise's split-storage clustering (Performance Secondary),
the PKI engine needed a way of maintaining a single, unified CRL across
all Perf Secondary clusters and accepting revocations given to any
cluster for certs stored on any other cluster. The combination of
Unified CRLs and Revocation Queues solved this problem for Vault
Enterprise, but the code largely lived in Vault Community.

Since OpenBao lacks these clustering semantics and is unlikely to add
them, remove this code.

Resolves: openbao#272

Signed-off-by: Alexander Scheel <[email protected]>
@cipherboy cipherboy merged commit 22c93f7 into openbao:main Jul 10, 2024
52 of 53 checks passed
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.

Remove last vestiges of Unified CRL
2 participants