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

[@sounisi5011/encrypted-archive] Disallow weak Argon2 options #434

Open
sounisi5011 opened this issue May 28, 2022 · 0 comments
Open

[@sounisi5011/encrypted-archive] Disallow weak Argon2 options #434

sounisi5011 opened this issue May 28, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@sounisi5011
Copy link
Owner

Hashes generated with the weak Argon2 option are vulnerable to attack.
For this reason, node-argon2 changed the minimum values of timeCost and memoryCost.

see ranisalt/node-argon2#303

@sounisi5011/encrypted-archive should also prohibit weak options for new encryption.
Note: This limit should not be introduced for decryption. If the new limit is requested during decryption, decryption of the old archive will fail and backward compatibility will be lost.

@sounisi5011 sounisi5011 added the enhancement New feature or request label May 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant