mirror of
https://github.com/juanfont/headscale.git
synced 2026-10-04 22:03:39 +09:00
db: store all credentials in one SHA-256-hashed table
API keys, pre-auth keys and OAuth clients/tokens share one table and verify path. Secrets carry 256 bits of crypto/rand entropy, so a SHA-256 digest needs no stretching; bcrypt/argon2id rows rehash on use until 0.32.
This commit is contained in:
committed by
Kristoffer Dalby
parent
e90500e3a9
commit
393dd3e2d9
Binary file not shown.
Reference in New Issue
Block a user