-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Allow signing self issued certs with a different public key algorithm. #12514
Conversation
This pull request is being automatically deployed with Vercel (learn more). vault – ./website🔍 Inspect: https://vercel.com/hashicorp/vault/GKgXygThCD3TM2issBtTeRkjP2FG [Deployment for a6998ef failed] vault-storybook – ./ui🔍 Inspect: https://vercel.com/hashicorp/vault-storybook/5ivJoDxDohAMLv8QJomHzYojzwW2 [Deployment for a6998ef canceled] |
553456c
to
8f3ef44
Compare
#12514) * WIP: Unset the certificate's SignatureAlgorithm to allown cross-signing of different key types * Allow signing self issued certs with a different public key algorithm * Remove cruft * Remove stale import * changelog * eliminate errwrap * Add a test to cover the lack of opt-in flag * Better comment Co-authored-by: catsby <[email protected]>
#12514) * WIP: Unset the certificate's SignatureAlgorithm to allown cross-signing of different key types * Allow signing self issued certs with a different public key algorithm * Remove cruft * Remove stale import * changelog * eliminate errwrap * Add a test to cover the lack of opt-in flag * Better comment Co-authored-by: catsby <[email protected]>
#12514) (#12549) * WIP: Unset the certificate's SignatureAlgorithm to allown cross-signing of different key types * Allow signing self issued certs with a different public key algorithm * Remove cruft * Remove stale import * changelog * eliminate errwrap * Add a test to cover the lack of opt-in flag * Better comment Co-authored-by: catsby <[email protected]> Co-authored-by: catsby <[email protected]>
#12514) (#12548) * WIP: Unset the certificate's SignatureAlgorithm to allown cross-signing of different key types * Allow signing self issued certs with a different public key algorithm * Remove cruft * Remove stale import * changelog * eliminate errwrap * Add a test to cover the lack of opt-in flag * Better comment Co-authored-by: catsby <[email protected]> Co-authored-by: catsby <[email protected]>
Do this by setting the signing algorithm of the template to the signing
key's algorithm iff they differ and "allow_different_signature_algorithm" is
true.
This is branched from #8157, but made more explicit.
Addresses hashicorp/consul#8576