Skip to content

cryptojwt does not support brainpoolp256r1 #180

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
peppelinux opened this issue May 23, 2025 · 5 comments · May be fixed by #181
Open

cryptojwt does not support brainpoolp256r1 #180

peppelinux opened this issue May 23, 2025 · 5 comments · May be fixed by #181
Assignees

Comments

@peppelinux
Copy link
Member

See italia/eudi-wallet-it-python#261 (comment)

@peppelinux peppelinux changed the title cryptojwt does not support **brainpoolp256r1** cryptojwt does not support brainpoolp256r1 May 23, 2025
@jschlyter
Copy link
Collaborator

Can't find this curve in https://www.iana.org/assignments/jose/jose.xhtml, is it proprietary?

@jschlyter jschlyter self-assigned this May 23, 2025
@peppelinux
Copy link
Member Author

@jschlyter
Copy link
Collaborator

The algorithm seems quite well known, but there's no "Curve Name" defined for "JSON Web Key Elliptic Curve". I can implement support anyway.

@jschlyter
Copy link
Collaborator

I guess you also want support for JWS @peppelinux ? If so, what's the alg (also undefined in the registry).

@jschlyter jschlyter linked a pull request May 23, 2025 that will close this issue
@jschlyter
Copy link
Collaborator

According to https://github.com/latchset/jwcrypto/blob/main/jwcrypto/jwk.py the name of crv might also be BP-256. jwcrypto does not seem to have any signature algorithms defined.

There's also https://datatracker.ietf.org/doc/draft-ietf-jose-fully-specified-algorithms/ to provide some guidance for the signature algorithm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants