Skip to content

Commit a3ff003

Browse files
authored
fix: drop support for EdDSA keys (#885)
1 parent d8805ea commit a3ff003

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

diracx-core/src/diracx/core/settings.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,7 @@ def check_retention_greater_than_expiration(self) -> Self:
227227
generation and verification.
228228
"""
229229

230-
# TODO: EdDSA should be removed later due to "SecurityWarning: EdDSA is deprecated via RFC 9864"
231-
token_allowed_algorithms: list[str] = ["RS256", "EdDSA", "Ed25519"] # noqa: S105
230+
token_allowed_algorithms: list[str] = ["RS256", "Ed25519"] # noqa: S105
232231
"""List of allowed cryptographic algorithms for JWT token signing.
233232
234233
Supported algorithms include RS256 (RSA with SHA-256) and Ed25519

docs/admin/reference/env-variables.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ generation and verification.
9595

9696
### `DIRACX_SERVICE_AUTH_TOKEN_ALLOWED_ALGORITHMS`
9797

98-
*Optional*, default value: `['RS256', 'EdDSA', 'Ed25519']`
98+
*Optional*, default value: `['RS256', 'Ed25519']`
9999

100100
List of allowed cryptographic algorithms for JWT token signing.
101101

0 commit comments

Comments
 (0)