[Bug 1716968] Re: `dkimpy` in Python 3 does not work for 'verify' - AttributeError

2017-09-14 Thread Thomas Ward
** Changed in: dkimpy (Ubuntu) Status: New => Fix Released ** Changed in: dkimpy (Ubuntu Xenial) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1716968 Title:

[Bug 1716968] Re: `dkimpy` in Python 3 does not work for 'verify' - AttributeError

2017-09-14 Thread C de-Avillez
** Also affects: dkimpy (Ubuntu Xenial) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1716968 Title: `dkimpy` in Python 3 does not work for 'verify' -

[Bug 1716968] Re: `dkimpy` in Python 3 does not work for 'verify' - AttributeError

2017-09-13 Thread Thomas Ward
** Description changed: This is fixed in later releases of the `dkimpy` library, specifically tested was 0.6.2 to see if it's fixed. `dkimpy` in Python 3 on Xenial *does not work* as expected when calling `verify` on a signed message in bytes form. It also fails for 'string' form,

[Bug 1716968] Re: `dkimpy` in Python 3 does not work for 'verify' - AttributeError

2017-09-13 Thread Thomas Ward
When passing a signed message in as a UTF-8 string (decoded from bytes): Traceback (most recent call last): File "./dmarctests.py", line 45, in print("VERIFY: ", dkim.verify(signedmsg.decode('utf-8'))) File "/usr/lib/python3/dist-packages/dkim/__init__.py", line 628, in verify d

[Bug 1716968] Re: `dkimpy` in Python 3 does not work for 'verify' - AttributeError

2017-09-13 Thread Thomas Ward
When passing a signed message in as bytes to the function in Python 3: Traceback (most recent call last): File "./dmarctests.py", line 45, in print("VERIFY: ", dkim.verify(signedmsg)) File "/usr/lib/python3/dist-packages/dkim/__init__.py", line 630, in verify return