Cannot sign (or, presumably, verify) data with embedded NULs

Bug #653830 reported by Jean-Paul Calderone
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
pyOpenSSL
Fix Released
Medium
Jean-Paul Calderone

Bug Description

>>> OpenSSL.crypto.sign(key, b'\0', 'md5')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: must be bytes without null bytes, not bytes

Revision history for this message
David Brodsky (lihalla) wrote :

I've pushed bugfix into lp:~lihalla/pyopenssl/sign_and_verify - the commit message should be self-explanatory.

Changed in pyopenssl:
assignee: nobody → Jean-Paul Calderone (exarkun)
milestone: none → 0.13
status: New → In Progress
importance: Undecided → Medium
Revision history for this message
Jean-Paul Calderone (exarkun) wrote :

Thanks very much for the fix, David!

Changed in pyopenssl:
status: In Progress → Fix Committed
Changed in pyopenssl:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.