Does not support IDNs with SMTPUTF8.

Bug #1957027 reported by Lolalolo
2
Affects Status Importance Assigned to Milestone
dkimpy
Invalid
Undecided
Unassigned

Bug Description

dkimpy does not sign E-Mails send over SMTPUTF8 while there are in their UTF8 Form. It does not try to convert it to punycode and if i try to provide an entry in the key-table in utf8, it just does not sign it and crashes.
sign_dkim: 'ascii' codec can't encode characters in position 0-4: ordinal not in range(128)
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/Milter/__init__.py", line 772, in <lambda>
  milter.set_eom_callback(lambda ctx: ctx.getpriv().eom())
File "/usr/lib/python3/dist-packages/dkimpy_milter/__init__.py", line 198, in eom
  self.sign_dkim(txt)
ilter[169754]: File "/usr/lib/python3/dist-packages/dkimpy_milter/__init__.py", line 319, in sign_dkim
  h = d.sign(codecs.encode(self.selectorRSA, 'ascii'), codecs.encode(self.fdomain, 'ascii'),
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-4: ordinal not in range(128)

Tags: idn
Revision history for this message
Lolalolo (lfsjfsjdfs-deactivatedaccount) wrote :

Sorry wrong project

Changed in dkimpy:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.