Add WebCrypto ECDSA support for the secp256k1 curve#6679
Conversation
|
I have read the CLA Document and I hereby sign the CLA You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot. |
|
I'm not aware of any extension to Web Cryptography that defines these.
|
kentonv
left a comment
There was a problem hiding this comment.
I guess this is the same as #6689 except using a different dependency library. My comment there applies here too. We need a higher-level product discussion about whether this is a direction we want to take, before landing an implementation.
|
Closing in favor of: #6689 |
Adds
namedCurve: "secp256k1"support to WebCrypto ECDSA, gated behind the newsecp256k1_ecdsa_curveflag.BoringSSL doesn't implement secp256k1, so this uses libsecp256k1 (Bitcoin Core's reference implementation).
rawandjwkformats work, plus sign/verify/generateKey. ECDH over secp256k1 is rejected explicitly.Follow-ups: