Bug #79848 [Opn->Nab]: crypt - deprecation notice for short salts has disappeared
Edit report at https://bugs.php.net/bug.php?id=79848&edit=1
ID: 79848
Updated by: nikic@php.net
Reported by: sjon@php.net
Summary: crypt - deprecation notice for short salts has
disappeared
-Status: Open
+Status: Not a bug
Type: Bug
Package: *Encryption and hash functions
Operating System: archLinux
PHP Version: 8.0.0alpha2
Block user comment: N
Private report: N
New Comment:
That's because the deprecated functionality has been removed, as documented at https://github.com/php/php-src/blob/0cab3fa10eb1a2d15a2c27fe879c1c0398b7245a/UPGRADING#L457-L459.
In this particular example, it so happens that the call already failed on previous versions, in
which case the deprecation warning probably shouldn't have been emitted in the first place.
Previous Comments:
------------------------------------------------------------------------
[2020-07-13 12:08:56] sjon@php.net
Description:
------------
Originally found as https://3v4l.org/vTLSi
Test script:
---------------
crypt('84.193.76.32', 't');
Expected result:
----------------
Deprecated: crypt(): Supplied salt is not valid for DES. Possible bug in provided salt format. in
/in/vTLSi on line 1
Actual result:
--------------
no deprecation notice
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=79848&edit=1
Thread (2 messages)