Feature request
Add support for fully specified algorithms such as Ed25519.
These algorithms were added by RFC 9864.
You can see the full list of registered algorithms here: https://www.iana.org/assignments/jose/jose.xhtml#web-signature-encryption-algorithms
My issue
I tried using Ed25519 with the PyJWKClient and it didn't work. The key was silently skipped, and then I got a confusing keyset has no key for kid error.
The actual error was:
jwt.exceptions.PyJWKError: Unable to find an algorithm for key: {'kty': 'OKP', 'crv': 'Ed25519', 'alg': 'Ed25519', 'use': 'sig', 'x': '--OMITTED--', 'kid': '--OMITTED--'}
Then I tried to workaround the issue by manually re-registering EdDSA as Ed25519, but that didn't work because PyJWK only consults the default algorithms.
If it was possible to override the algorithms used, that would fix my issue too.
Feature request
Add support for fully specified algorithms such as
Ed25519.These algorithms were added by RFC 9864.
You can see the full list of registered algorithms here: https://www.iana.org/assignments/jose/jose.xhtml#web-signature-encryption-algorithms
My issue
I tried using
Ed25519with thePyJWKClientand it didn't work. The key was silently skipped, and then I got a confusingkeyset has no key for kiderror.The actual error was:
Then I tried to workaround the issue by manually re-registering
EdDSAasEd25519, but that didn't work becausePyJWKonly consults the default algorithms.If it was possible to override the algorithms used, that would fix my issue too.