You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(core): Derive encryption key with scrypt and warn on weak secret
Key derivation used a single unsalted SHA-256 of the secret, which is cheap to
brute-force offline for a weak or low-entropy secret. Switch to scrypt, a
memory-hard KDF, so each guess is expensive, and warn at startup when the secret
is shorter than the recommended length. The salt is a fixed application constant,
since the key must be derived synchronously at bootstrap.
Relates to #2648
0 commit comments