diff options
author | Björn Esser <besser82@fedoraproject.org> | 2018-11-15 15:01:57 +0100 |
---|---|---|
committer | Tomáš Mráz <t8m@users.noreply.github.com> | 2018-11-16 10:03:27 +0100 |
commit | f7abb8c1ef3aa31e6c2564a8aaf69683a77c2016 (patch) | |
tree | 39b967a2a7a25188b651340a43dacd114f15a20f /xtests | |
parent | 955b3e2f100205be2db4358e9c812de2ae453b8e (diff) | |
download | pam-f7abb8c1ef3aa31e6c2564a8aaf69683a77c2016.tar.gz pam-f7abb8c1ef3aa31e6c2564a8aaf69683a77c2016.tar.bz2 pam-f7abb8c1ef3aa31e6c2564a8aaf69683a77c2016.zip |
pam_unix: Use bcrypt b-variant for computing new hashes.
Bcrypt hashes used the "$2a$" prefix since 1997.
However, in 2011 an implementation bug was discovered in bcrypt
affecting the handling of characters in passphrases with the 8th
bit set.
Besides fixing the bug, OpenBSD 5.5 introduced the "$2b$" prefix
for a behavior that exactly matches crypt_blowfish's "$2y$", and
the crypt_blowfish implementation supports it as well since v1.1.
That said new computed bcrypt hashes should use the "$2b$" prefix.
* modules/pam_unix/passverify.c: Use bcrypt b-variant.
Diffstat (limited to 'xtests')
0 files changed, 0 insertions, 0 deletions