[php-maint] Bug#581170: php5 crypt() does not complete with emtpy salt

Ondřej Surý ondrej at sury.org
Fri Mar 18 08:24:12 UTC 2011

severity 581170 minor
thank you

Quoting from http://cz.php.net/manual/en/function.crypt.php:
--cut here--
An optional salt string to base the hashing on. If not provided, the
behaviour is defined by the algorithm implementation and can lead to
unexpected results.
--cut here--

However I updated our crypt patch, so it produce SHA512 hashes (and I
keep it with sync to use "best" algorithm available) if you don't
provide the salt.

Ondřej Surý <ondrej at sury.org>

More information about the pkg-php-maint mailing list