avahowell/masterkey

why does defaultArgonMemory default to 2e6 ?

Opened this issue · 0 comments

ak-1 commented

https://godoc.org/golang.org/x/crypto/argon2 suggests a value of 64*1024 as reasonable.

The current value of 2e6 leads to multiple gigabytes of ram usage on my system.
I only noticed that because sometimes masterkey was killed by the out-of-memory-killer.

Why has the value been set so high?