[Bug 1183338] [NEW] Crypt Blowfish only returns salt

n0xie emailn0xie at gmail.com
Thu May 23 12:52:36 UTC 2013


Public bug reported:

<?php

echo crypt('1369300336testtest','$2a$07$test$');

Expected output: $2a$07$test$$$$$$$$$$$$$$$$$.GVFrRLA8cMXgjWnT.WAmIxjyOAwUXSS
Returned output: $2a$07$test$

This happens on several different Ubuntu boxes with different versions
of PHP installed. This does not happen on CentOS, MacOS, Windows.

$ php -v
PHP 5.3.10-1ubuntu3.6 with Suhosin-Patch (cli) (built: Mar 11 2013 14:31:48) 
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
    with Xdebug v2.1.0, Copyright (c) 2002-2010, by Derick Rethans

** Affects: php5 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: blowfish crypt

** Information type changed from Private Security to Public

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in Ubuntu.
https://bugs.launchpad.net/bugs/1183338

Title:
  Crypt Blowfish only returns salt

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1183338/+subscriptions



More information about the Ubuntu-server-bugs mailing list