Selection choices for SSL client certificate in account/identity configuration (or Option to automatically "Do not send any certificate"?)
Categories
(Thunderbird :: Account Manager, enhancement)
Tracking
(blocking-thunderbird3.1 -)
Tracking | Status | |
---|---|---|
blocking-thunderbird3.1 | --- | - |
People
(Reporter: nelson, Unassigned)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [psm-auth])
Reporter | ||
Updated•16 years ago
|
Comment 1•16 years ago
|
||
Comment 2•16 years ago
|
||
Reporter | ||
Comment 3•16 years ago
|
||
Reporter | ||
Comment 5•16 years ago
|
||
Comment 6•16 years ago
|
||
Comment 7•16 years ago
|
||
Comment 9•16 years ago
|
||
Comment 10•16 years ago
|
||
Comment 11•16 years ago
|
||
Comment 12•16 years ago
|
||
Comment 13•16 years ago
|
||
Comment 14•16 years ago
|
||
Comment 15•16 years ago
|
||
Comment 16•16 years ago
|
||
Reporter | ||
Comment 17•16 years ago
|
||
Comment 18•16 years ago
|
||
Comment 19•16 years ago
|
||
Reporter | ||
Comment 20•16 years ago
|
||
Comment 21•16 years ago
|
||
Comment 22•16 years ago
|
||
Comment 23•16 years ago
|
||
Comment 24•16 years ago
|
||
Comment 25•16 years ago
|
||
Reporter | ||
Comment 26•16 years ago
|
||
Comment 27•16 years ago
|
||
Comment 28•16 years ago
|
||
Comment 29•16 years ago
|
||
Comment 30•16 years ago
|
||
Comment 31•16 years ago
|
||
Reporter | ||
Comment 32•16 years ago
|
||
Comment 33•16 years ago
|
||
Comment 34•16 years ago
|
||
Reporter | ||
Comment 35•16 years ago
|
||
Comment 36•16 years ago
|
||
Comment 37•15 years ago
|
||
Comment 38•15 years ago
|
||
Reporter | ||
Comment 39•15 years ago
|
||
Comment 40•15 years ago
|
||
Comment 41•15 years ago
|
||
Comment 42•15 years ago
|
||
Reporter | ||
Comment 43•15 years ago
|
||
Comment 44•15 years ago
|
||
Comment 45•15 years ago
|
||
Comment 46•15 years ago
|
||
Comment 47•15 years ago
|
||
Updated•15 years ago
|
Comment 48•15 years ago
|
||
Comment 49•15 years ago
|
||
Comment 50•15 years ago
|
||
Comment 51•15 years ago
|
||
Comment 52•15 years ago
|
||
Comment 53•15 years ago
|
||
Comment 54•15 years ago
|
||
Comment 55•15 years ago
|
||
Comment 56•15 years ago
|
||
Comment 57•15 years ago
|
||
Comment 58•15 years ago
|
||
Reporter | ||
Comment 59•15 years ago
|
||
Comment 60•15 years ago
|
||
Comment 61•15 years ago
|
||
Comment 62•15 years ago
|
||
Updated•14 years ago
|
Updated•14 years ago
|
Comment 63•14 years ago
|
||
Comment 64•13 years ago
|
||
Comment 65•12 years ago
|
||
Comment 66•11 years ago
|
||
Comment 67•8 years ago
|
||
Comment 68•5 years ago
|
||
It seems no one previously associated with this bug is in contact or has useful information
Comment 69•5 years ago
|
||
This bug is still relevant in Thunderbird 68.6.0. When I log into my Yahoo! account, Thunderbird asks me every time whether it should use my S/MIME certificate (which is for a different e-mail account) for the log in. In the dialog, I have to click on cancel to get to the regular password prompt. I would really appreciate if I could select to show no certificate in that dialog and if Thunderbird could remember that choice.
Comment 70•4 years ago
|
||
This has become really annoying in Thunderbird 78. In Thunderbird 68, it only asked for the certificate on startup, but in 78.4.1, it asks for the certificate every couple of minutes; probably every time it is checking for new e-mails in that account.
Comment 71•4 years ago
|
||
A personal (invalid, self-signed or otherwise) X509 certificate with the sole intended purpose of S/MIME message signing or encipherment (emailProtection OID) is still in November 2020 (TBIrd v78.5.0 64 bit Win) incompetently selected for presentation as CLIENT AUTHENTICATION to an asking mail server - even when the TBird server setting in the client is to authenticate by 'normal password'
The selection is incompetent because any certificate is offered for presentation in the server initial SSL/TLS handshake on port 995 whether it is relevant to the POP3 account or not.
Any by any I mean specifcally an X509 S/MIME certificate which has been specifically created with extensions to ADD emailProtection trust and REMOVE clientAuth and serverAuth trust. The only standards-approved role for the certificate is therefore emailProtection - honoring these X509 extensions should be sufficient to fix this issue, of course.
The selection occurs whether the POP3 account has a selected S/MIME certificate for the default main identity or any sub-identity or not. If a personal certificate exists in the Software Security Device it is selected and presented to the server whether the email address of the personal certificate matches the main or default email identities of the POP3 account or not. ( it is either silently selected or the only option presented in the 'ask' pop-up).
The hack UI fix seems to be to clearly distinguish the intended role of the personal S/MIME certificate ( even though OIDs may be present in the certificate itself that pre-define and constrain these roles already) - the role list (at importation time) needs to be extended to include the rare use case of 'server authentication', so it can be excluded. That dialog could also respect the OID extensions that already pre-determine the certificate role or not.
Comment 72•4 years ago
|
||
UPDATE
I created another personal S/MIME certificate via CSR from my personal self-signed CA, except this time I used the openssl magic
openssl x509 -req -sha256 -days 3650 -in smime.csr -CA ca.crt -CAkey ca.key -set_serial 1 -out smime.crt -setalias "Self Signed SMIME emailProtection use only" -addtrust emailProtection -addreject clientAuth -addreject serverAuth -extfile email-extensions.txt -trustout
where email-extensions.txt contains two lines
--
extendedKeyUsage=1.3.6.1.5.5.7.3.4
keyUsage=digitalSignature
which results in a key which contains valid X509v3 key usage constraints. The OID 1.3.6.1.5.5.7.3.4 is 'emailProtection'
http://oid-info.com/get/1.3.6.1.5.5.7.3.4
Now, with the certificate response setting set to 'ask every time', nothing is asked for, as expected.
Further research about the recipe to use the -addtrust, -addreject, -trustout and -alias flags reveals that
a) they are NOT part of the X509v3 spec
b) they are OpenSSL-specific additions and can be ignored
c) they should only be used when making root CA certificates, not for end-user certificates
So Thunderbird appears to be working and respecting the actual X509v3 key usage constraints.
This is further confirmed because this certificate can ONLY be used for digital signing, and Thunderbird prevents its selection as a mail encryption certificate.
I'll generate another certificate that adds encipherment to the usage constraints and see if that certificate brings the problem back, but a sign-only seems not to have the mail server problem.
Comment 73•4 years ago
|
||
OK, another personal certificate as above, but this time the extfile contains
extendedKeyUsage=1.3.6.1.5.5.7.3.4
keyUsage=digitalSignature,keyEncipherment
nsCertType=email
and the POP3 mail server prompt does not appear. I assume nsCertType is deprecated, but it still seems to be there in the OpenSSL code at 1.1.1l, so I added it.
Comment 74•4 years ago
|
||
Thanks for this work, Aldus.
When this is taken care of, please tackle Bug 188988, encrypted emails are not searched. That one has been, for some eighteen years, crippling Thunderbird users who must use encrypted e-mail.
(I gave up some years ago trying to get across the principle that privacy in transit and privacy at rest are two different problems and call for two different solutions. The folks who have the ability and willingness to work on this bug--and are working on it now or recently--appear to be committed to continuing to prohibit users from having the option to store all messages, decrypted, on their encrypted storage devices. Using encrypted storage for privacy, with messages in the clear for Thunderbird (and other software) to search.)
Comment 75•3 years ago
|
||
I know this is a 13 year old bug report, but it's still an open issue.
I have 4 IMAP accounts:
Account #1 - IMAP mail server, has a PGP cert
Account #2 - IMAP mail server, has a S/MIME cert
Account #3 - Gmail
Account #4 - Office 365 Outlook, IMAP enabled, MFA with app passwords
All accounts work fine... except Account #4. I can receive emails perfectly fine... except when I send an email I get the pop-up dialog box "User Identification Request" and it presents the S/MIME certificate for Account #2. This cannot be correct because they are unrelated and different email addresses.
If I click Cancel, the dialog box goes away and the mail is sent successfully. So sending mail works, but the dialog box is a real annoyance.
After 13 years, is there going to be a plan to fix this?
Thanks.
Comment 76•3 years ago
|
||
I just started hitting this issue but I did nothing for that... I got that PKCS#11 popup every 10-15 minutes now . Well , I did move my .thunderbird folder to another computer . Is there something I can technically do to solve this ? Will it ever get fixed ?
Updated•2 years ago
|
Description
•