Can brainpoolP256r1 be used? #327
Unanswered
msteffenDev
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Brainpool curves are not registered for use with JOSE. Once they are or there's atleast a WG draft with an intent to register them i'd consider supporting them in the runtimes they're available. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I'm trying to use this library to encrypt a token. It's necessary to use brainpoolP256r1.
When I use "BP-256" as curve-type I get the following error:
TypeError [ERR_INVALID_ARG_VALUE]: The property 'key.crv' must be one of: 'P-256', 'secp256k1', 'P-384', 'P-521'. Received 'BP-256'
Is there a solution for this problem?
I use Node.js v17.1.0 and the current version jose-4.3.6.
Thank You!
Beta Was this translation helpful? Give feedback.
All reactions