Re: Re: crypt() BC issue

From: Date: Sat, 19 Jul 2014 08:44:14 +0000
Subject: Re: Re: crypt() BC issue
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-75695@lists.php.net to get a copy of this message
Hi Nikita, On Sat, Jul 19, 2014 at 2:46 PM, Nikita Popov <nikita.ppv@gmail.com> wrote: > I'm against adding this notice to password_hash. This will require all > applications to ensure that passwords are shorter than 72 chars. I don't > think that's a good idea. Generally speaking, it would not be serious issue. 72 bytes constant prefix would not be used most likely. However, bug like this in "authentication" code must be detected and fixed. If password should be truncated, it should be truncated by app developers explicitly and notified users that their password had been truncated. IMHO. Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net

« previous php.internals (#75695) next »