unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Angel de Vicente <angel.vicente.garrido@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Verifying signed mail in Gnus
Date: Mon, 31 Oct 2022 12:30:35 +0000	[thread overview]
Message-ID: <878rkwxjis.fsf@gmail.com> (raw)
In-Reply-To: 87pme8w6w5.fsf@disroot.org

[-- Attachment #1: Type: text/plain, Size: 2149 bytes --]

Hello,

Akib Azmain Turja <akib@disroot.org> writes:

> Angel de Vicente <angel.vicente.garrido@gmail.com> writes:

>> but now I got an e-mail from someone using S/MIME, and despite reading
>> that GnuPG should be able to handle S/MIME certificates, I'm not sure
>> how to do it. Is there something similar to `epa-search-keys` but for
>> certificates? I guess since we are dealing with certificates here, I
>> don't need to get the individual certificate of this person, but just
>> the certificate for the Certification Authority, but how to find the
>> certificate, and how to do the equivalent of the signing above, so trust
>> will go from "undefined" to "full"?

This part I found how to do. Basically Gnus+GnuPG already imported the
certificate for me, which I could verify by doing "gpgsm -k", and then I
just had to set the root CA as trustworthy in the file
"~/.gnupg/trustlist.txt" 

With that, I now get (trust full) for this person.
,----
| [[S/MIME Signed Part:Good signature from
| DD733F6DFA9EBA0303F699xxxxxxxxxxxxxxxxxx /CN=xxxxx xxxxxx xxxxxx
| xxxxxxxx/O=Instituto de Astrofisica de Canarias/STREET=Calle Vía
| Láctea, s\x2fn/ST=Santa Cruz de Tenerife/C=ES (trust full)]]
`----

Actually, it looks like S/MIME is much more convenient than GPG, since I
only have to deal with giving trust to the root CA, and then all
certificates given by that CA will have full trust immediately? Maybe
when digital certificates were not so common, PGP/MIME was a better
option, but now it looks like S/MIME should be easier for
key/certificates management? (I have one day of experience with this, so
don't take my word for it :-) )

> How did you make Gnus display those nice messages?  My Gnus doesn't do
> that (but ask me for password for decrypting mails).

I think you get those by setting gnus-buttonized-mime-types:
 '(gnus-buttonized-mime-types '("multipart/encrypted" "multipart/signed"))

Cheers,
-- 
Ángel de Vicente                 -- (GPG: 0x64D9FDAE7CD5E939)
 Research Software Engineer (Supercomputing and BigData)
 Instituto de Astrofísica de Canarias (https://www.iac.es/en)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 702 bytes --]

  reply	other threads:[~2022-10-31 12:30 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-31 10:24 Verifying signed mail in Gnus Angel de Vicente
2022-10-31 11:48 ` Akib Azmain Turja
2022-10-31 12:30   ` Angel de Vicente [this message]
2022-10-31 17:04     ` Akib Azmain Turja
2022-10-31 19:53     ` Uwe Brauer
2022-11-02 20:52       ` Björn Bidar
2022-11-02 23:53         ` Tomas Hlavaty
2022-11-03  5:24           ` Björn Bidar
2022-11-03  8:53             ` Tomas Hlavaty
2022-10-31 19:18   ` GH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878rkwxjis.fsf@gmail.com \
    --to=angel.vicente.garrido@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).