Re: disable gpg in mutt

2021-08-28 Thread Fourhundred Thecat

> On 2021-08-29 03:13, Kevin J. McCarthy wrote:

On Sat, Aug 28, 2021 at 06:31:12AM +0200, Fourhundred Thecat wrote:


$ /usr/bin/mutt -v | grep CRYPT_BACKEND
+CRYPT_BACKEND_CLASSIC_PGP  +CRYPT_BACKEND_CLASSIC_SMIME
-CRYPT_BACKEND_GPGME


Note the "-" prefix in front of CRYPT_BACKEND_GPGME.  That means it's
not included.  However classic pgp and smime support are compiled in.
Those don't rely on the gpgme library.


OK, so how then can I display the encrypted message, instead of seeing:

  [-- PGP output follows (current time: 2021-08-29T06:47:20 CEST) --]
  [-- Error: could not create a PGP subprocess! --]

  [-- End of PGP output --]

  [-- Error: decryption failed --]

Why is mutt still trying to decrypt the message?

BTW, I have also removed the gpg.rc file from /etc/Muttrc.d/

thank you,


Re: disable gpg in mutt

2021-08-28 Thread Kevin J. McCarthy

On Sat, Aug 28, 2021 at 06:31:12AM +0200, Fourhundred Thecat wrote:

This is strange. I have compiled mutt with "--disable-gpgme", and I can
see that it is no longer linked with the gpg library:

$ ldd /usr/bin/mutt
linux-vdso.so.1
libncursesw.so.6 => /lib/x86_64-linux-gnu/libncursesw.so.6
libtinfo.so.6 => /lib/x86_64-linux-gnu/libtinfo.so.6
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2
/lib64/ld-linux-x86-64.so.2

But "mutt -v" still shows the CRYPT_BACKEND variables:

$ /usr/bin/mutt -v | grep CRYPT_BACKEND
+CRYPT_BACKEND_CLASSIC_PGP  +CRYPT_BACKEND_CLASSIC_SMIME
-CRYPT_BACKEND_GPGME


Note the "-" prefix in front of CRYPT_BACKEND_GPGME.  That means it's 
not included.  However classic pgp and smime support are compiled in. 
Those don't rely on the gpgme library.


--
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA


signature.asc
Description: PGP signature