You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix decryption of ciphertext created with 'header' => 'randomiv'
Patch originally from Paulo Andrade:
https://bugzilla.redhat.com/show_bug.cgi?id=2235322
The function sub key_and_iv () in the module Crypt/CBC/PBKDF.pm returns
two values: key and iv
In sub _read_key_and_iv in Crypt/CBC.pm, the key is set from the second
return value rather than the first, causing decryption failures (#6).
This commit changes sub _read_key_and_iv to use the first value instead,
fixing the problem.
0 commit comments