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

Add support for the yescrypt hash method. #3

Closed
wants to merge 3 commits into from

Conversation

besser82
Copy link
Contributor

The yescrypt hashing method is considered to be much stronger than sha512crypt and fully supported by libxcrypt >= 4.3.

It is based on NIST-approved primitives, like PBKDF2, and on par with argon2 in strength.

Fresh installed systems, as well as newly computed hashes for the UNIX shadow file should prefer this method, if the crypt() function, the distro ships, is capable of computing such hashes.


See: https://fedoraproject.org/wiki/Changes/yescrypt_as_default_hashing_method_for_shadow

Signed-off-by: Björn Esser <besser82@fedoraproject.org>
The yescrypt hashing method is considered to be much stronger
than sha512crypt and fully supported by libxcrypt >= 4.3.

It is based on NIST-approved primitives, like PBKDF2, and on
par with argon2 in strength.

Fresh installed systems, as well as newly computed hashes for
the UNIX shadow file should prefer this method, if the crypt()
function, the distro ships, is capable of computing such hashes.

Signed-off-by: Björn Esser <besser82@fedoraproject.org>
Add support for the new cli-parameter `yescrypt` for the
`--password-crypto` switch to virt-alignment-scan, as we added
support for this hashing method to the `customize/password.ml`
file in the previous commit.

Signed-off-by: Björn Esser <besser82@fedoraproject.org>
@rwmjones
Copy link
Member

Thanks, I have pushed it.

@rwmjones rwmjones closed this Jun 15, 2021
@besser82
Copy link
Contributor Author

You're welcome! =)

@besser82 besser82 deleted the topic/besser82/yescrypt branch June 15, 2021 19:38
@besser82
Copy link
Contributor Author

Do you plan to cut a new release within the next days, or shall I open a PR for the Fedora package, too?

@rwmjones
Copy link
Member

Sure I can do a release tomorrow. No need to file a bug.

@besser82
Copy link
Contributor Author

Sure I can do a release tomorrow. No need to file a bug.

That would be great! Thank you!

@rwmjones
Copy link
Member

@besser82
Copy link
Contributor Author

That's really cool! Thank you!

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