internally catch binascii errors
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dkimpy |
Fix Released
|
Medium
|
Scott Kitterman |
Bug Description
File "/whatever/
valid = d.verify()
File "/usr/lib/
return self.verify_
File "/usr/lib/
pk, self.keysize, ktag = load_pk_
File "/usr/lib/
pk = parse_public_
File "/usr/lib64/
return binascii.
binascii.Error: Incorrect padding
such errors occur due to broken public keys in DNS records. as there is not much that could be done about this, such binascii errors should be caught internally and just logged.
I guess verification should be considered as failed in such cases...
Changed in dkimpy: | |
importance: | Undecided → Medium |
milestone: | none → 1.0.0 |
status: | New → Triaged |
Changed in dkimpy: | |
assignee: | nobody → Scott Kitterman (kitterman) |
Catch binascii related key format errors (LP: #1854477)