feat: add ES512 algorithm support using P-521 elliptic curve#478
Open
arsenin-kitsoft wants to merge 1 commit intoKeats:masterfrom
Open
feat: add ES512 algorithm support using P-521 elliptic curve#478arsenin-kitsoft wants to merge 1 commit intoKeats:masterfrom
arsenin-kitsoft wants to merge 1 commit intoKeats:masterfrom
Conversation
Owner
|
I didn't see that PR. Can you rebase? |
- Add p521 dependency to Cargo.toml (version 0.13.0 with ecdsa feature) - Add ES512 to Algorithm enum and AlgorithmFamily mappings - Implement ES512 signer and verifier using P521 elliptic curve - Register Es512Signer and Es512Verifier in CryptoProvider factory - Add ES512 to KeyAlgorithm enum for JWK support - Custom macros for P521 due to API differences (no from_pkcs8_der, no sign_recoverable) - Manual PKCS8 extraction for 66-byte P521 private key - Add comprehensive ES512 tests (3 new test functions) - Create ES512 test keys in both PEM and PKCS8 formats - Gate ES512 tests behind use_pem feature flag
1fce73b to
fd96c1c
Compare
Author
|
Couldn't rebase, but reapplied changes manually instead. Passes tests with green. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Suggested changes for !250