bytearray index out of range in DKIM.verify()
Bug #1145013 reported by
Stuart Gathman
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
dkimpy | Status tracked in Trunk | |||||
Trunk |
Fix Released
|
Medium
|
Stuart Gathman |
Bug Description
2013Feb26 18:49:11 check_dkim: bytearray index out of range
Traceback (most recent call last):
File "bms.py", line 1877, in check_dkim
res = d.verify()
File "/usr/lib/
pk = parse_public_
File "/usr/lib/
x = asn1_parse(
File "/usr/lib/
tag = data[i]
IndexError: bytearray index out of range
To post a comment you must log in.
Unfortunately, my milter does not capture the DNS record. It works now, so they must have fixed it. Now I'll have to tinker to find how to break it in a similar way. In addition to a test case and fix, the goal is to save the raw DNS record on exceptions involving the public key.