Subject: | Salts auto-generated by Crypt::CBC that contain 0x0a cannot be decrypted by Crypt::CBC |
Date: | Mon, 4 May 2015 16:47:35 -0500 |
To: | bug-Crypt-CBC [...] rt.cpan.org |
From: | Scott Barbour <sbarbour [...] bluepay.com> |
If the encrypted stream contains a newline character (0x0a) in the salt,
Crypt::CBC will fail to decrypt with the following error: "Ciphertext does
not begin with a valid header for 'salt' header mode"
An example of an affected salt:
0000000: 5361 6c74 6564 5f5f 382b 3a88 0a7f d28a Salted__8+:.....
--
*Scott Barbour*
Software Developer
*630.300.2428* main
[image: BluePay] <http://www.bluepay.com/>
Follow us online!
[image: http://i57.tinypic.com/102tlj9.jpg]
<https://twitter.com/BluePay> [image:
http://i61.tinypic.com/ri6745.jpg]
<https://www.linkedin.com/company/bluepay-inc.?trk=company_name> [image:
google+ logo] <https://plus.google.com/115993104795610600651/posts>
[image: http://i57.tinypic.com/2rbz0bc.jpg]
<http://www.facebook.com/bluepayprocessing>
www.bluepay.com