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

Backport of Optional automatic default issuer selection into release/1.12.x #17854

Conversation

hc-github-team-secure-vault-core
Copy link
Collaborator

Backport

This PR is auto-generated from #17824 to be assessed for backporting due to the inclusion of the label backport/1.12.x.

The below text is copied from the body of the original PR.


When attempting compatibility against multiple versions of Vault, one major breaking change in Vault 1.11 was the multiple issuer's functionality and behavior changes around importing issuers (wherein /config/ca required a deletion first) and generation of new issuers (where both root/intermediate generation silently removed old keys!).

While we don't wish to remove key material any more, thus becoming more safe, the net was a breaking change across APIs: because the default issuer was not updated on these operations, the issuer would appear "lost" to any callers. Only when an operator updated the default issuer would non-multi-issuer aware applications see this new CA.

However, not everyone will want to automatically change the default issuer: for applications and operators aware of multi-issuer functionality, who wish to proactively prime new isseurs prior to enabling them (perhaps for distribution purposes), this change shouldn't be automatic and retroactive.

Thus, make this an opt-in change on /config/issuers.


This obviously needs:

  • Tests
  • Changelog
  • Docs

Like #17823, I'm curious to get people's thoughts.


Overview of commits

@hc-github-team-secure-vault-core hc-github-team-secure-vault-core force-pushed the backport/cipherboy-automatic-default-issuer/firstly-vast-tapir branch from 96e6d5c to eebd435 Compare November 8, 2022 19:40
@cipherboy cipherboy enabled auto-merge (squash) November 8, 2022 19:41
@cipherboy cipherboy merged commit 25cb1ef into release/1.12.x Nov 8, 2022
cipherboy added a commit that referenced this pull request Nov 9, 2022
Co-authored-by: Alexander Scheel <[email protected]>
Signed-off-by: Alexander Scheel <[email protected]>
cipherboy added a commit that referenced this pull request Nov 9, 2022
Co-authored-by: Alexander Scheel <[email protected]>

Co-authored-by: Alexander Scheel <[email protected]>
@cipherboy cipherboy deleted the backport/cipherboy-automatic-default-issuer/firstly-vast-tapir branch December 1, 2022 14:57
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