You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Keats So, I've added tests for ES512 and tested my fork against my application and it now works. Please merge the PR if everything is okay (there's some wonky custom DER conversions and signer/verifier workarounds, so please tell if I need to do better with them).
I understand that #480 is a nice to have for the future, but I don't understand how is it neccesary to apply my patch that just adds a p521 package that has interface very close to existing p384 and the like.
Can we merge ES512 support now and refactor Result<> interfaces for #480 later?
The main point of #480 is the #[non_exhaustive] on the Algorithm enum, which you also adjust in your PR. This will break third party providers, e.g. jsonwebtoken-botan. That said, the botan backed one is the only one I'm aware of, and it isn't even released on crates.io (because it's waiting on a botan release), so I'm personally fine with breaking it for the time being.
Activity
a1ien commentedon Apr 27, 2022
First you need add P-512 to ring briansmith/ring#824
s-frei commentedon Oct 11, 2023
This would be a great improvement 🙂
deepu105 commentedon Oct 20, 2023
Seems like there is an active PR to add support for this in ring. briansmith/ring#1631
sscarduzio commentedon Nov 19, 2024
Please add ES512, we are blocked too
Keats commentedon Nov 20, 2024
I think it will be available after #410
arsenin-kitsoft commentedon Jan 12, 2026
@Keats ES512 is still needed, #410 is closed. Is there any help needed to push this?
arsenin-kitsoft commentedon Jan 12, 2026
Working on a patch (investigating the lack of sign_recoverable in p-521 impl).
arsenin-kitsoft commentedon Jan 12, 2026
@Keats So, I've added tests for ES512 and tested my fork against my application and it now works. Please merge the PR if everything is okay (there's some wonky custom DER conversions and signer/verifier workarounds, so please tell if I need to do better with them).
Keats commentedon Jan 13, 2026
I've linked to the wrong one >_> #452
AFAIK, if we want to add another alg we need to do #480 so it's available for all providers but that's a breaking change
arsenin-kitsoft commentedon Feb 16, 2026
I understand that #480 is a nice to have for the future, but I don't understand how is it neccesary to apply my patch that just adds a p521 package that has interface very close to existing p384 and the like.
Can we merge ES512 support now and refactor Result<> interfaces for #480 later?
arckoor commentedon Feb 16, 2026
The main point of #480 is the
#[non_exhaustive]on theAlgorithmenum, which you also adjust in your PR. This will break third party providers, e.g. jsonwebtoken-botan. That said, the botan backed one is the only one I'm aware of, and it isn't even released on crates.io (because it's waiting on a botan release), so I'm personally fine with breaking it for the time being.arsenin-kitsoft commentedon Feb 16, 2026
I couldn't rebase over the interface changes, so I recreated the changes.