Skip to content

fix(googlereader): derive the API token from the password with Argon2id - #4720

Draft
fguillot wants to merge 1 commit into
mainfrom
fix/googlereader-token
Draft

fguillot wants to merge 1 commit into
mainfrom
fix/googlereader-token

Conversation

@fguillot

Copy link
Copy Markdown
Member

The token was an HMAC keyed with the stored bcrypt hash, so anyone who could read the database or a backup could compute it.

  • Only a salt and the SHA-256 digest of the token are stored now.
  • Concurrent Argon2id derivations are capped so that a flood of logins cannot exhaust memory.
  • Clients have to log in again once, which replaces the bcrypt hash.

The token was an HMAC keyed with the stored bcrypt hash, so anyone who
could read the database or a backup could compute it. Only a salt and
the SHA-256 digest of the token are stored now, and concurrent Argon2id
derivations are capped so that a flood of logins cannot exhaust memory.
Clients have to log in again once, which replaces the bcrypt hash.
@fguillot
fguillot marked this pull request as draft November 28, 2026 18:26

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant