Skip to content
Discussion options

You must be logged in to vote

From the KeePassDX 4.5.5 source:

Default: 16 MiB for Argon2 (DEFAULT_MEMORY in database/.../crypto/kdf/Argon2Kdf.kt). For comparison, KeePassXC's default is 64 MiB (ARGON2_DEFAULT_MEMORY = 1 << 16 KiB, with 10 rounds and parallelism 4), so the 64 MiB you're on now is a normal, reasonable value. OWASP's minimum for Argon2id is 19 MiB with 2 iterations. Going above 64–256 MiB mostly just makes opening slower on your weakest device.

Why you got the error: KeePassDX doesn't use a fixed maximum. Before running Argon2 it checks the memory setting against 3/4 of the RAM Android currently reports as available (ActivityManager.MemoryInfo.availMem, Limits.LimitOperationType.KDF with ratio 3f/4). If…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@J-Jamet
Comment options

@Opening-Button-8988
Comment options

Answer selected by J-Jamet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants