diff options
| author | Osmium Sorcerer <os@sof.beauty> | 2026-09-23 16:47:29 +0000 |
|---|---|---|
| committer | Osmium Sorcerer <os@sof.beauty> | 2026-09-23 16:47:29 +0000 |
| commit | 99d36f45c05142194b6698f71d94281c4cd68bfe (patch) | |
| tree | b5dfa21f0f94fe23b0b796dbf672932387991c66 /src/chatlogpiece.h | |
| parent | 1e4319d7b9208d2ccb105c8a3853ecf97f600e4c (diff) | |
keyring: Improve key passphrase parameters
Change Argon2id parameters from 1 gigabyte of memory and 3 iterations
to 2 gigabytes and 2 iterations. Memory cost is the primary parameter
that provides substantial hardening, and 2 GiB in particular is
recommended by RFC 9106 (here with an additional iteration). This will
impact performance of key derivation on devices with constrained RAM,
but platform-backed keys should provide an alternative.
Enforce minimum of 6 characters for the passphrase. This is still not
enough considering an adversary can make unlimited offline guesses,
even with significant slowdown. However, this is consistent with
modern practices for authenticator policies (recommended, for example,
by NIST SP 800-63B-4): enforce minimal length and nothing else.
Diffstat (limited to 'src/chatlogpiece.h')
0 files changed, 0 insertions, 0 deletions
