Closed Bug 1854600 Opened 3 years ago Closed 3 years ago

S/MIME signature incorrectly shown as invalid

Categories

(MailNews Core :: Security: S/MIME, defect)

Thunderbird 115
defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: pmenzel+bugzilla.mozilla.org, Unassigned)

Details

Attachments

(1 file)

Attached file smime.eml —

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/119.0

Steps to reproduce:

Debian sid/unstable with thunderbird 1:115.2.2-1

View correctly S/MIME signed message (attached).

Actual results:

The signature is shown as incorrect.

Expected results:

The signature should be shown as correct.

Direct verification with OpenSSL:

$ wget http://cdp1.pca.dfn.de/dfn-ca-global-g2/pub/cacert/cacert.crt
[…]
$ openssl x509 -in cacert.crt -inform DER -outform PEM -out cacert.pem
$ openssl smime -verify -noverify -in smime.eml -CAfile cacert.pem -signer cert.pem -out /dev/shm/smime-unencrypted.txt
Verification successful
Component: Untriaged → Security: S/MIME
Product: Thunderbird → MailNews Core

In this case the emailAddress in the certificate and From address mismatched, but Thunderbird 115.x does not show that to the user.

But it does. If you click on the S/MIME icon it tells you exactly that: "Although the digital signature is valid, it is unknown whether sender and signer are the same person. The email address listed in the signer's certificate is different from the email address that was used to send this message. Please look at the details of the signature certificate to learn who signed the message."

Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: