]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r262501:
authordelphij <delphij@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 27 Mar 2014 00:24:48 +0000 (00:24 +0000)
committerdelphij <delphij@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 27 Mar 2014 00:24:48 +0000 (00:24 +0000)
commitb1deb33525f34953e6a2d7421e49ce0787e38b72
tree616398eaa863849d96228d019f63e21e653d6533
parent6293b423d5ecf3528ccf3b20fe9a1b151982af52
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/9@263784 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
secure/lib/libcrypt/crypt-blowfish.c