Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions diracx-core/src/diracx/core/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,7 @@ def check_retention_greater_than_expiration(self) -> Self:
generation and verification.
"""

# TODO: EdDSA should be removed later due to "SecurityWarning: EdDSA is deprecated via RFC 9864"
token_allowed_algorithms: list[str] = ["RS256", "EdDSA", "Ed25519"] # noqa: S105
token_allowed_algorithms: list[str] = ["RS256", "Ed25519"] # noqa: S105
"""List of allowed cryptographic algorithms for JWT token signing.

Supported algorithms include RS256 (RSA with SHA-256) and Ed25519
Expand Down
2 changes: 1 addition & 1 deletion docs/admin/reference/env-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ generation and verification.

### `DIRACX_SERVICE_AUTH_TOKEN_ALLOWED_ALGORITHMS`

*Optional*, default value: `['RS256', 'EdDSA', 'Ed25519']`
*Optional*, default value: `['RS256', 'Ed25519']`

List of allowed cryptographic algorithms for JWT token signing.

Expand Down
Loading