]> CyberLeo.Net >> Repos - FreeBSD/stable/8.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)
commite404110064ed68e0bd723b02dc7119df00398c14
treea64a8f178d824773e3c2c98fb3e35327d106e36a
parent3799e4f8db3f643ea24318482b0bd4b26ce75b6c
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/8@263784 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
secure/lib/libcrypt/crypt-blowfish.c