DKIM verification with dnspython 2.0.0 raises an exception
Bug #1888583 reported by
Hagai Helman Tov
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dkimpy |
Fix Released
|
High
|
Scott Kitterman |
Bug Description
Recently a change was made to the dnspython API, and now dns.rrset.
As a result, in an environment where dnspython 2.0.0 is installed, dkim.verify() raises the following exception:
File "/home/
return b"".join(
KeyError: 0
It seems that replacing "r.items" with "list(r.items)" would solve the problem.
To post a comment you must log in.
Just using r[0] works for me. Haven't tested old dnspython though.