path: root/xtests/
diff options
authorBjörn Esser <>2018-11-15 15:01:57 +0100
committerTomáš Mráz <>2018-11-16 10:03:27 +0100
commitf7abb8c1ef3aa31e6c2564a8aaf69683a77c2016 (patch)
tree39b967a2a7a25188b651340a43dacd114f15a20f /xtests/
parent955b3e2f100205be2db4358e9c812de2ae453b8e (diff)
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