GPGME: disable S/MIME (signature verification)

Ingo Klöcker kloecker at kde.org
Wed Aug 2 20:00:22 CEST 2023


On Mittwoch, 2. August 2023 16:31:19 CEST ilf wrote:
> How can I disable S/MIME or S/MIME signature verification in GPGME?
> 
> Many Mutt users use GPGME, but few verify S/MIME signatures. In these
> cases, the check is useless. It's also annoying, because it can take
> around 25 seconds to timeout and fail.

Add
disable-dirmngr
to your gpgsm.conf.

This won't disable S/MIME signature verification, but it disables expensive 
online checks. The alternative in GpgME is
https://gnupg.org/documentation/manuals/gpgme/Offline-Mode.html#Offline-Mode

Regards,
Ingo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20230802/7427bb13/attachment.sig>


More information about the Gnupg-users mailing list