Argon2 Memory Input Field (error converting)
A lightweight and easy-to-use password manager
Brought to you by:
dreichl
There seems to be a bug in the memory input field in the Argon2 settings.
When I enter 2 GB as the memory it it tells me that 2147483647 bytes is the maximum and automatically inserts that number instead. Well technically:
2 GB is 2048 MB (2147483648 bytes) (if kilo is 1024) or;
2 GB is 2000 MB (2000000000 bytes) (if kilo is 1000)
If you enter 2048 MB it tells you it can't accept it and changes it to 2147483648. It's the same thing!
I cannot reproduce this issue.
In KeePass, 1 KB = 1024 bytes, 1 MB = 1024 KB, 1 GB = 1024 MB. The maximum value for the Argon2 memory parameter is 2^31 - 1 = 2147483647. If you enter anything above this value (e.g. 2 GB or 2048 MB, which both are 2^31 = 2147483648), KeePass adjusts it to 2^31 - 1.
Best regards,
Dominik