Skip to content
Snippets Groups Projects
Commit 89efadb8 authored by Richard T. Carback III's avatar Richard T. Carback III
Browse files

Tweak argon2id to even weaker params

parent 7d43caf4
No related branches found
No related tags found
3 merge requests!233Modify restore to call user-defined bindings callback. Add Sent requests to...,!231Revert "Update store to print changes to the partners list",!201Update the Argon2id params to make key generation for backups take longer
......@@ -94,9 +94,9 @@ func initializeBackup(password string, updateBackupCb UpdateBackupFn,
rand.Close()
params := backup.DefaultParams()
params.Memory = 256 * 1024 // 256 MiB
params.Memory = 64 * 1024 // 64 MiB
params.Threads = 1
params.Time = 15
params.Time = 5
key := backup.DeriveKey(password, salt, params)
// Save key, salt, and parameters to storage
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment