Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: reducing the default Argon2d to consume less memory #480

Merged
merged 1 commit into from
May 22, 2023

Conversation

themantre
Copy link
Contributor

@themantre themantre commented May 22, 2023

Description

The Argon2d parameters changed to consume less memory. This specially fix the allocation failure in the clouding platforms with memory less than 2 GB.

If much less memory is available, a uniformly safe option is Argon2id with t=3 iterations, p=4 lanes, m=2^(16) (64 MiB of RAM), 128-bit salt, and 256-bit tag size. This is the SECOND RECOMMENDED option.

@codecov
Copy link

codecov bot commented May 22, 2023

Codecov Report

Merging #480 (94e61e3) into main (05774db) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #480   +/-   ##
=======================================
  Coverage   82.49%   82.49%           
=======================================
  Files         149      149           
  Lines        7010     7010           
=======================================
  Hits         5783     5783           
  Misses        937      937           
  Partials      290      290           

@b00f b00f merged commit 363435c into main May 22, 2023
@b00f b00f deleted the argon-parameters branch May 22, 2023 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants