Public bug reported: Line 421: 'from' should be b'from'
# rfc4871 says FROM is required if 'from' not in ( x.lower() for x in include_headers ): raise ParameterError("The From header field MUST be signed") Line 122, 123: FWS and RE_BTAG should use bytes, not str. # FWS = ([*WSP CRLF] 1*WSP) / obs-FWS ; Folding white space [RFC5322] FWS = br'(?:(?:\s*\r?\n)?\s+)?' RE_BTAG = re.compile(br'([;\s]b'+FWS+br'=)(?:'+FWS+br'[a-zA-Z0-9+/=])*(?:\r?\n\Z)?') ** Affects: dkimpy (Ubuntu) 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/1350141 Title: dkim.sign crashs on python3 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dkimpy/+bug/1350141/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs