I've never used PGP to try to verify emails before a few minutes ago, when I tried on a recent FreeBSD security advisory email (for "FreeBSD-SA-26:03.blocklistd"). It did not work, and I feel like there's a very good chance that I'm doing something incorrectly, but I'm not sure. Option #2 is I'm misunderstanding or missing something; #3 is it's an issue with my mail client (Thunderbird). But #4 is the emails are not properly set up for this, which seems important (from the FreeBSD point of view) if true, so I figured I'd ask about it here.
The FreeBSD Security Information page on freebsd.org says, in part, "Advisories are always signed using the FreeBSD Security Officer PGP key". So checked that link, and it goes to a file that sure looks like some sort of key or whatever. I then told Thunderbird's built-in "OpenPGP Key Manager" to "Import Key(s) from URL" for that page. It did so, importing one for "FreeBSD Security Officer <security-officer@freebsd.org>". Seems cool so far, I guess.
Thunderbird then considered the key "accepted but not verified", or something like that, and suggested that I manually verify the fingerprint. I found the claimed value of the fingerprint on freebsd.org, in the Handbook's "Appendix D. OpenPGPKeys". It did in fact match the fingerprint that Thunderbird was showing me, so I told Thunderbird that I had verified the fingerprint. Great. But here's where things went wrong:
Thunderbird now tells me that the email "has a digital signature, but a mismatch was detected. This message was sent from an email address that doesn't match the signer's public key."
There's a "View signer key" button with that, and clicking it brings me to the expected key (which is not surprising, as it's the only signer key I've ever imported into Thunderbird). It again notes that it is for "FreeBSD Security Officer <security-officer@freebsd.org>".
But the message is, in fact, not from that address. It is from "FreeBSD Security Advisories <security-advisories@freebsd.org>". Both the "To" and the "envelope-from". So Thunderbird's complaint about the email address not matching seems true? I looked on those freebsd.org pages for keys/fingerprints matching security-advisories@freebsd.org, but didn't find any.
So, I don't know if this is a problem with my lack of knowledge (maybe I have to somehow manually tell it that this key is good for this email address, though that would seem kind of wonky and potentially dangerous to me), with Thunderbird (at least its design - like I said its claim of a mismatched address seems to be true, but maybe it shouldn't be checking it this way), or with FreeBSD's email setup (shouldn't be sending from this address, or else should set up a key appropriate for it), or something else entirely.
Thanks in advance for any help.
The FreeBSD Security Information page on freebsd.org says, in part, "Advisories are always signed using the FreeBSD Security Officer PGP key". So checked that link, and it goes to a file that sure looks like some sort of key or whatever. I then told Thunderbird's built-in "OpenPGP Key Manager" to "Import Key(s) from URL" for that page. It did so, importing one for "FreeBSD Security Officer <security-officer@freebsd.org>". Seems cool so far, I guess.
Thunderbird then considered the key "accepted but not verified", or something like that, and suggested that I manually verify the fingerprint. I found the claimed value of the fingerprint on freebsd.org, in the Handbook's "Appendix D. OpenPGPKeys". It did in fact match the fingerprint that Thunderbird was showing me, so I told Thunderbird that I had verified the fingerprint. Great. But here's where things went wrong:
Thunderbird now tells me that the email "has a digital signature, but a mismatch was detected. This message was sent from an email address that doesn't match the signer's public key."
There's a "View signer key" button with that, and clicking it brings me to the expected key (which is not surprising, as it's the only signer key I've ever imported into Thunderbird). It again notes that it is for "FreeBSD Security Officer <security-officer@freebsd.org>".
But the message is, in fact, not from that address. It is from "FreeBSD Security Advisories <security-advisories@freebsd.org>". Both the "To" and the "envelope-from". So Thunderbird's complaint about the email address not matching seems true? I looked on those freebsd.org pages for keys/fingerprints matching security-advisories@freebsd.org, but didn't find any.
So, I don't know if this is a problem with my lack of knowledge (maybe I have to somehow manually tell it that this key is good for this email address, though that would seem kind of wonky and potentially dangerous to me), with Thunderbird (at least its design - like I said its claim of a mismatched address seems to be true, but maybe it shouldn't be checking it this way), or with FreeBSD's email setup (shouldn't be sending from this address, or else should set up a key appropriate for it), or something else entirely.
Thanks in advance for any help.