]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r262501:
authordelphij <delphij@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 27 Mar 2014 00:23:44 +0000 (00:23 +0000)
committerdelphij <delphij@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 27 Mar 2014 00:23:44 +0000 (00:23 +0000)
commitefb30f81e621871c27d57ab282e369fe48c3b37c
tree59739e114a530abebe65cd12ce65344bb945daa3
parent698e2a92f14f361ac161dcc0b7119329c0e47f0a
MFC r262501:

Refresh our implementation of OpenBSD's Blowfish password format.

Notable changes:

 - Support of $2b$ password format to address a problem where very
   long passwords (more than 256 characters, when an integer
   overflow would happen and cause the length to wrap at 256).
 - Updated pseudo code in comments to reflect the reality.
 - Removed our local shortcut of processing magic string and rely
   on the centralized and tigntened validation.
 - Diff reduction from upstream.

For now we are still generating the older $2a$ format of password
but we will migrate to the new format once the format is formally
finalized.

git-svn-id: svn://svn.freebsd.org/base/stable/10@263783 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
secure/lib/libcrypt/crypt-blowfish.c