Block ciphers allow empty string as IV.
Bug #997464 reported by
Darsey Litzenberger
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Python-Crypto |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[A user sent me this bug report.]
Given the following code:
AES.
Expected: raises ValueError("IV must be 16 bytes long")
Actual: succeeds.
That's strange; Non-empty IVs of the wrong length are rejected, as expected.
Changed in pycrypto: | |
status: | New → Confirmed |
Changed in pycrypto: | |
status: | Confirmed → In Progress |
To post a comment you must log in.
Fixed in PyCrypto 2.6.