Adds a hashed_access_tokens config option (RS_HASHED_ACCESS_TOKENS) that hashes the presented bearer token and looks up its SHA256 digest first, falling back to the plaintext key when no digest matches. When disabled (the default), the lookup is unchanged, so deployments not using hashed tokens pay no extra Redis round-trips.
Adds a `hashed_access_tokens` config option (`RS_HASHED_ACCESS_TOKENS`) that hashes the presented bearer token and looks up its SHA256 digest first, falling back to the plaintext key when no digest matches. When disabled (the default), the lookup is unchanged, so deployments not using hashed tokens pay no extra Redis round-trips.
Related: kosmos/akkounts#259.
Tests: 60 runs, 0 failures.
Add a hashed_access_tokens config option (env RS_HASHED_ACCESS_TOKENS) that hashes the presented bearer token and looks up its SHA256 digest first, falling back to the plaintext key when no digest matches. When disabled (the default), the lookup is unchanged.
Related: kosmos/akkounts#259.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Adds a
hashed_access_tokensconfig option (RS_HASHED_ACCESS_TOKENS) that hashes the presented bearer token and looks up its SHA256 digest first, falling back to the plaintext key when no digest matches. When disabled (the default), the lookup is unchanged, so deployments not using hashed tokens pay no extra Redis round-trips.Related: kosmos/akkounts#259.
Tests: 60 runs, 0 failures.
679a7f164ctoac3adb5635ac3adb5635to6d8394d970