Skip to content

Add Token Hashing #254

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Add Token Hashing #254

wants to merge 1 commit into from

Conversation

spjmurray
Copy link
Contributor

@spjmurray spjmurray commented May 7, 2025

Reduces the attack surface by obfuscating tokens using SHA512 and PBKDF2, thus they are only ever persisted client side, we continue to maintain a plaintext in-memory cache for performace reasons.

Fixes #253

@spjmurray spjmurray requested a review from mkjpryor May 7, 2025 11:49
@spjmurray
Copy link
Contributor Author

Let's see what Pryor is like as a reviewer... 😸

@spjmurray spjmurray force-pushed the token_hashing branch 2 times, most recently from 22e9872 to b14fcae Compare May 8, 2025 08:16
Reduces the attack surface by obfuscating tokens using SHA512 and
PBKDF2, thus they are only ever persisted client side, we continue to
maintain a plaintext in-memory cache for performace reasons.

Fixes #253
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Hash Tokens in User Records
1 participant