-
-
Notifications
You must be signed in to change notification settings - Fork 521
Open
Description
On v1.6.7, any operations using authlib.jose.jwt like
| return jwt.encode(header, payload, import_any_key(key)) |
are ignoring the registered JWS algorithms that are not in the default list
authlib/authlib/jose/__init__.py
Lines 51 to 62 in b87c32e
| "HS256", | |
| "HS384", | |
| "HS512", | |
| "RS256", | |
| "RS384", | |
| "RS512", | |
| "ES256", | |
| "ES384", | |
| "ES512", | |
| "PS256", | |
| "PS384", | |
| "PS512", |
Previously, the registered algorithms were considered
authlib/authlib/jose/__init__.py
Line 49 in 5602965
| jwt = JsonWebToken(list(JsonWebSignature.ALGORITHMS_REGISTRY.keys())) |
What should be the approach from now on for algorithms outside of the default list?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels