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

Allow signing self issued certs with a different public key algorithm. #12514

Merged
merged 9 commits into from Sep 14, 2021

Conversation

sgmiller
Copy link
Contributor

@sgmiller sgmiller commented Sep 8, 2021

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

@vercel
Copy link

vercel bot commented Sep 8, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployments, click below or on the icon next to each commit.

vault – ./website

🔍 Inspect: https://vercel.com/hashicorp/vault/GKgXygThCD3TM2issBtTeRkjP2FG
✅ Preview: Failed

[Deployment for a6998ef failed]

vault-storybook – ./ui

🔍 Inspect: https://vercel.com/hashicorp/vault-storybook/5ivJoDxDohAMLv8QJomHzYojzwW2
✅ Preview: Canceled

[Deployment for a6998ef canceled]

@vercel vercel bot temporarily deployed to Preview – vault-storybook September 9, 2021 15:07 Inactive
@vercel vercel bot temporarily deployed to Preview – vault September 9, 2021 15:07 Inactive
@vercel vercel bot temporarily deployed to Preview – vault September 14, 2021 14:44 Inactive
@vercel vercel bot temporarily deployed to Preview – vault-storybook September 14, 2021 14:44 Inactive
@sgmiller sgmiller merged commit ac56e55 into main Sep 14, 2021
@sgmiller sgmiller deleted the pki-cross-sign2 branch September 14, 2021 15:07
sgmiller added a commit that referenced this pull request Sep 14, 2021
#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 <clint@ctshryock.com>
sgmiller added a commit that referenced this pull request Sep 14, 2021
#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 <clint@ctshryock.com>
sgmiller added a commit that referenced this pull request Sep 15, 2021
#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 <clint@ctshryock.com>

Co-authored-by: catsby <clint@ctshryock.com>
sgmiller added a commit that referenced this pull request Sep 15, 2021
#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 <clint@ctshryock.com>

Co-authored-by: catsby <clint@ctshryock.com>
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.

None yet

3 participants