-
Notifications
You must be signed in to change notification settings - Fork 122
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
Add EVP API Support for ED25519ph #2144
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2144 +/- ##
==========================================
+ Coverage 78.97% 79.00% +0.02%
==========================================
Files 611 612 +1
Lines 105500 105724 +224
Branches 14939 14951 +12
==========================================
+ Hits 83317 83523 +206
- Misses 21532 21550 +18
Partials 651 651 ☔ View full report in Codecov by Sentry. |
EVP_PKEY_ED25519PH, | ||
{0x2b, 0x65, 0x70}, | ||
3, | ||
pem_str, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not "ED25519ph"
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, Ed25519ph is not a type of key, its a signing method. That and there is no official OID either that's been adopted. I don't want to arbitrarily introduce a key type / format for a signing method that nobody else supports.
Description of changes:
Add support for HashEdDSA (Ed25519ph) to EVP APIs with support for setting the associated signature context. Opting not to expose Ed25519ctx explicitly at this time since there hasn't been an ask for it. Worse case scenario a user desiring it will have access to the low-level APIs where it is available.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and the ISC license.