navidrome/core/apiauth
Deluan 3e3b73a9cc fix(api): use a 256-bit API v1 signing key
The HS256 key was 22 base62 characters, about 128 bits, below the 256 bits
RFC 7518 section 3.2 asks for. New keys are 32 bytes from crypto/rand,
hex-encoded before being encrypted and stored. Keys already stored keep
working unchanged.
2026-09-28 20:06:28 -04:00
..
apiauth_suite_test.go feat(api): add API v1 scope rules and grant secrets 2026-09-28 20:06:27 -04:00
cache.go feat(api): add grant liveness cache 2026-09-28 20:06:27 -04:00
cache_test.go feat(api): add grant liveness cache 2026-09-28 20:06:27 -04:00
context.go feat(api): add API v1 login, setup, grant resolution and token minting 2026-09-28 20:06:27 -04:00
credentials.go feat(api): add API v1 login, setup, grant resolution and token minting 2026-09-28 20:06:27 -04:00
credentials_test.go feat(api): add API v1 login, setup, grant resolution and token minting 2026-09-28 20:06:27 -04:00
db_test.go feat(api): add API v1 login, setup, grant resolution and token minting 2026-09-28 20:06:27 -04:00
export_test.go feat(api): add API v1 login, setup, grant resolution and token minting 2026-09-28 20:06:27 -04:00
scopes.go feat(api): add API v1 scope rules and grant secrets 2026-09-28 20:06:27 -04:00
scopes_test.go feat(api): add API v1 scope rules and grant secrets 2026-09-28 20:06:27 -04:00
secret.go feat(api): add API v1 scope rules and grant secrets 2026-09-28 20:06:27 -04:00
secret_test.go feat(api): add API v1 scope rules and grant secrets 2026-09-28 20:06:27 -04:00
service.go fix(api): make logout idempotent and hide grants left on a stale epoch 2026-09-28 20:06:28 -04:00
service_session_test.go fix(api): make logout idempotent and hide grants left on a stale epoch 2026-09-28 20:06:28 -04:00
service_test.go fix(api): retry the signing-key load after a failure and drop the password from issued grants 2026-09-28 20:06:27 -04:00
signer.go fix(api): use a 256-bit API v1 signing key 2026-09-28 20:06:28 -04:00
signer_test.go fix(api): use a 256-bit API v1 signing key 2026-09-28 20:06:28 -04:00