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

Use PoW memory cost for Argon2d KDF #2705

Merged
merged 1 commit into from
Jun 27, 2024
Merged

Conversation

sisou
Copy link
Member

@sisou sisou commented Jun 27, 2024

But keep the updated cost for Argon2id.

This makes the function backward-compatible with the PoW JS library, to support decoding existing LoginFiles.

Partly reverses 9f8db32 (#2653) and changes it to be in the spirit of #2377, which meant to preserve backward-compatibility.

@sisou sisou added the pow-compatibility Changes that ensure components are compatible with the PoW JS implementation. label Jun 27, 2024
@sisou sisou requested review from paberr and hrxi June 27, 2024 07:29
@sisou sisou self-assigned this Jun 27, 2024
hash/src/argon2kdf.rs Outdated Show resolved Hide resolved
@sisou sisou force-pushed the soeren/argon2-kdf-pow-compat branch from 7509eb2 to 9ca2cad Compare June 27, 2024 14:32
@hrxi hrxi mentioned this pull request Jun 27, 2024
This makes the function backward-compatible with the PoW JS library, to support decoding existing LoginFiles.

Partly reverses 9f8db32 (#2653) and changes it to be in the spirit of #2377, which meant to preserve backward-compatibility.
@hrxi hrxi force-pushed the soeren/argon2-kdf-pow-compat branch from 9ca2cad to 9cec756 Compare June 27, 2024 14:53
@hrxi hrxi merged commit 9cec756 into albatross Jun 27, 2024
6 checks passed
@hrxi hrxi deleted the soeren/argon2-kdf-pow-compat branch June 27, 2024 15:55
@jsdanielh jsdanielh added this to the Nimiq PoS Mainnet milestone Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pow-compatibility Changes that ensure components are compatible with the PoW JS implementation.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants