TB stubbornly wants to sign encrypted message, even if not possible
Categories
(MailNews Core :: Security: S/MIME, defect)
Tracking
(Not tracked)
People
(Reporter: mueller8, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0
Steps to reproduce:
I my company we can only sign messages using a smart card with S/MIME (X.509 certificates).
OTOH we can use a "soft key" without smart card for viewing encrypted messages.
When answering to an encrypted email, I sometimes want to send it encrypted, too,
or I want to send it unencrypted.
But I almost never want to sign the email.
When I need to sign, of course I must insert the smart card and unlock it.
Actual results:
Although I do not want to sign my response, Thunderbird automatically selects this option. This is bad for several reasons:
- I did not intend to sign (even when I want to encrypt)
- Most of the time, my smart card is not present, so TB cannot use it for signing.
- TB cannot auto-save the draft message because the message cannot be signed.
Even if I manually de-select signature in order to be able to save my message as a draft, TB is so stubborn to insist in signing my message, which fails. So I cannot save my message.
I cannot send encrypted messages without entering my smart card, unlocking it, and using it for signing. Even if I do not want to sign, which is the case most times,
Expected results:
Thunderbird should not automatically enable signing when saving or sending encrypted mails - it should let the user decide and enable this option if wanted.
Thunderbird must not enable signing when a private key is not available, for instance because the user's smart card is not present - this behavior makes no sense at all and blocks using mails that are just encrypted. So this lowers security because the user needs to deselect encryption in order to be able to continue with the message.
Updated•3 years ago
|
Comment 1•3 years ago
|
||
If you compose an email, enable encryption, you should be able to use the menu to disable digital signing.
When doing so, you should be able to send an encrypted email witthout a signature.
Which version of Thunderbird are you using?
I just tried with Thunderbird 115.x, a configured S/MIME certificate, encryption enabled, signing disabled in that email. Then I save a draft, close the window, and look at the saved draft. It's encrypted, only, not signed.
Based on that, in theory it should be possible to avoid the use of the signing certificate.
Can you please try again with Thunderbird 115.x and these steps?
If it still doesn't work, I wonder if we have code that attempts to iterate over certs, and fails if the smartcard isn't present, even when we don't need to use the signing certificate/key. We'd have to test/debug that with a smartcard setup. However, I also believe there are smartcards that behave differently, so it might be tricky to replicate exactly your environment.
Description
•