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

certutil: select appropriate hash algorithm for ECDSA signature (#11216) #13096

Merged
merged 1 commit into from Nov 9, 2021

Conversation

victorr
Copy link
Contributor

@victorr victorr commented Nov 9, 2021

  • certutil: select appropriate hash algorithm for ECDSA signature

Select the appropriate signature algorithm for certificates signed
with an ECDSA private key.

The algorithm is selected based on the curve:

  • P-256 -> x509.ECDSAWithSHA256
  • P-384 -> x509.ECDSAWithSHA384
  • P-521 -> x509.ECDSAWithSHA512
  • Other -> x509.ECDSAWithSHA256

fixes #11006

@victorr victorr requested a review from sgmiller November 9, 2021 15:48
@vercel vercel bot temporarily deployed to Preview – vault November 9, 2021 16:44 Inactive
@vercel vercel bot temporarily deployed to Preview – vault-storybook November 9, 2021 16:44 Inactive
@vercel vercel bot temporarily deployed to Preview – vault November 9, 2021 17:13 Inactive
@vercel vercel bot temporarily deployed to Preview – vault-storybook November 9, 2021 17:13 Inactive
* certutil: select appropriate hash algorithm for ECDSA signature

Select the appropriate signature algorithm for certificates signed
with an ECDSA private key.

The algorithm is selected based on the curve:

- P-256 -> x509.ECDSAWithSHA256
- P-384 -> x509.ECDSAWithSHA384
- P-521 -> x509.ECDSAWithSHA512
- Other -> x509.ECDSAWithSHA256

fixes #11006
@vercel vercel bot temporarily deployed to Preview – vault-storybook November 9, 2021 17:42 Inactive
@vercel vercel bot temporarily deployed to Preview – vault November 9, 2021 17:42 Inactive
@victorr victorr merged commit 1ed05d8 into release/1.9.x Nov 9, 2021
@victorr victorr deleted the victorr/backport-pr-11216 branch November 9, 2021 18:02
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