Punycode based certificate not accepted for idn based emails
Categories
(MailNews Core :: Security: S/MIME, defect)
Tracking
(Not tracked)
People
(Reporter: info, Unassigned)
Details
Attachments
(4 files)
Comment 1•13 years ago
|
||
| Reporter | ||
Comment 2•13 years ago
|
||
| Reporter | ||
Comment 3•13 years ago
|
||
| Reporter | ||
Comment 4•13 years ago
|
||
Updated•13 years ago
|
Updated•13 years ago
|
| Reporter | ||
Comment 5•13 years ago
|
||
Comment 6•13 years ago
|
||
Comment 7•13 years ago
|
||
Comment 8•13 years ago
|
||
| Reporter | ||
Comment 9•13 years ago
|
||
| Reporter | ||
Comment 10•12 years ago
|
||
| Reporter | ||
Comment 11•11 years ago
|
||
| Reporter | ||
Updated•11 years ago
|
| Reporter | ||
Comment 12•9 years ago
|
||
Updated•9 years ago
|
Comment 13•9 years ago
|
||
Updated•4 years ago
|
Comment 14•3 years ago
|
||
The CABForum SMIME BRs specification mentions a field in the SAN where you can put the email address in utf-8. Th. doesn't display that field.
subjectAltName (OID 2.5.29.17) ::
othername:SmtpUTF8Mailbox (OID 1.3.6.1.5.5.7.8.9)
Here's what the ASN.1 dump looks like:
SEQUENCE {
OBJECT IDENTIFIER subjectAltName (2 5 29 17)
BOOLEAN TRUE
OCTET STRING, encapsulates {
SEQUENCE {
[1] 'peter@example.com'
[0] {
OBJECT IDENTIFIER '1 3 6 1 5 5 7 8 9'
[0] {
UTF8String 'peter.l..wenbr..u@example.com'
}
}
}
}
}
How about abandoning "Punycode" and switching to encoding the entire address (local part and domain) in SmtpUTF8Mailbox?
Links:
https://github.com/cabforum/smime/blob/main/SBR.md#71421-subject-alternative-name-extension
https://datatracker.ietf.org/doc/html/rfc8398
User-Agent:
Thunderbird 102.11.0 (64-bit), Windows 10
Reproducible: Always
Steps to Reproduce:
- make a self-signed cert (root+user) for yourself
- import self-signed cert (root+user) with "SmtpUTF8Mailbox" as SAN othername from sb:
2a. "Authorities" tab → "Import..." → root.crt → "Trust this..."
2b. "People" tab → "Import..." → user.crt → "View..." → Other Name <unsupported> → [not ok] - try to send smime encrypted mail to address: "peter.löwenbräu@example.com" :
"Sending of the message failed.
You specified encryption for this message, but the application failed to find an encryption certificate for ..." → [not ok]
Actual results:
Th. doesn't recognize "SmtpUTF8Mailbox" and encrypted emails cannot be sent to the utf8 address included in the recipient's certificate.
Expected Results:
Th. displays and honors "SmtpUTF8Mailbox" field in smime certificate.
I'm attaching a test package.
related bugs: bug#344817
Comment 15•3 years ago
|
||
Description
•