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

feat!: update Argon2 parameters #5140

Merged

Conversation

AaronFeickert
Copy link
Collaborator

@AaronFeickert AaronFeickert commented Jan 24, 2023

Description

Updates Argon2 parameters.

Closes issue 5139.

Motivation and Context

A recent update to the OWASP recommendations for Argon2 password-based key derivation means the codebase is out of date.

This PR updates all Argon2 parameters to meet this standard. While there are no particularly concerning risks to users with the older standard, it's a matter of good practice to keep these updated where feasible.

Note that this PR does not introduce any kind of key migration, so this change is...

How Has This Been Tested?

Existing tests pass.

BREAKING CHANGE: Renders all previous Argon2-derived keys invalid.

@AaronFeickert AaronFeickert marked this pull request as draft January 24, 2023 21:40
@AaronFeickert AaronFeickert marked this pull request as ready for review January 25, 2023 01:17
@CjS77 CjS77 added A-security Area - Security related W-breaking A non-backward compatible change labels Jan 25, 2023
@stringhandler stringhandler merged commit 4c4a056 into tari-project:development Jan 30, 2023
@AaronFeickert AaronFeickert deleted the update-argon2-params branch January 30, 2023 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-security Area - Security related W-breaking A non-backward compatible change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update Argon2 parameters
3 participants