Bug #69222 [Csd->Nab]: Support PKCS#7 padding
Edit report at https://bugs.php.net/bug.php?id=69222&edit=1
ID: 69222
Updated by: leigh@php.net
Reported by: dan at zaph dot com
Summary: Support PKCS#7 padding
-Status: Closed
+Status: Not a bug
Type: Bug
Package: mcrypt related
Operating System: all?
PHP Version: 5.6.6
Assigned To: leigh
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2016-12-14 23:30:21] leigh@php.net
Closing because I'm such a lazy open source jerk I can't be bothered to tell the poster
this isn't the place for libmcrypt feature requests.
------------------------------------------------------------------------
[2015-03-11 15:23:15] dan at zaph dot com
Description:
------------
PKCS#7 is the industry standard for encryption padding. mcrypt does not support it, instead uses a
no-standard null padding which does not work for binary data that might have a trailing 0 byte.
This default non-standard padding causes substantial interoperability problems. Is that what the php
developers want?
Proposed solution: Add PKCS#7 padding option or remove mcrypt from distribution.
Or perhaps you guys are just lazy open source jerks that want to create interoperability problems
for php users. OK, that made you mad, just like you make mcrypt used mad. Nice.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=69222&edit=1
Thread (3 messages)