Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
client
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elixxir
client
Commits
ecdeb482
Commit
ecdeb482
authored
2 years ago
by
Richard T. Carback III
Browse files
Options
Downloads
Patches
Plain Diff
Lighten params for argon2id config
parent
493aa8e8
No related branches found
No related tags found
3 merge requests
!233
Modify restore to call user-defined bindings callback. Add Sent requests to...
,
!231
Revert "Update store to print changes to the partners list"
,
!201
Update the Argon2id params to make key generation for backups take longer
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
backup/backup.go
+2
-2
2 additions, 2 deletions
backup/backup.go
with
2 additions
and
2 deletions
backup/backup.go
+
2
−
2
View file @
ecdeb482
...
...
@@ -95,8 +95,8 @@ func initializeBackup(password string, updateBackupCb UpdateBackupFn,
params
:=
backup
.
DefaultParams
()
params
.
Memory
=
256
*
1024
// 256 MiB
params
.
Threads
=
4
params
.
Time
=
100
params
.
Threads
=
2
params
.
Time
=
25
key
:=
backup
.
DeriveKey
(
password
,
salt
,
params
)
// Save key, salt, and parameters to storage
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment