node:crypto
implementation doesn't support ECDSA secp256k1
#17184
Labels
node:crypto
implementation doesn't support ECDSA secp256k1
#17184
What version of Bun is running?
1.2.2+c1708ea6a
What platform is your computer?
Linux 6.13.1-2-cachyos x86_64 unknown
What steps can reproduce the bug?
What is the expected behavior?
Generates a ECDSA secp256k1 keypair and logs it to console
What do you see instead?
Throws, unsupported by Bun.
Additional information
Used in
@atcute/crypto
to validate most signatures in AT Protocol, as secp256k1 is more readily available in KMS/HSMs.Web3/cryptocurrency use cases would also benefit from this addition.
Currently,
@atcute/crypto
mitigates this lack of support by adding an imports condition for Bun, it would be nice if Bun actually supported this to avoid using the JS-based@noble/secp256k1
library for signing and verification.rel: #11284 (comment)
The text was updated successfully, but these errors were encountered: