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
I just installed Goldwarden 0.2.13, I tried to set the PIN but it didn't work due to a memory issue. I had to increase my VM memory to 4 GB to get it to work.
Ah, thanks for the issue report. So right now, to encrypt your credentials, we use argon2 to derive the encryption key from the pin, with a memory setting of 2GB. The reasoning for this is that a pin is usually comparatively low entropy, so the argon2 settings should be higher rather than lower. Since this is static, it's not easily changeable for now, but I guess we can detect the system memory, and then save a local configuration for the argon2 parameters that doesn't require adjusting memory.
quexten
changed the title
Very high memory usage when setting a PIN
Static Argon2 parameters cause out-of-memory in low-memory (~2GB ram) environments
Apr 10, 2024
Hi
I just installed Goldwarden 0.2.13, I tried to set the PIN but it didn't work due to a memory issue. I had to increase my VM memory to 4 GB to get it to work.
Is this expected?
The text was updated successfully, but these errors were encountered: