Mutt: Decrypting inline gpg format directly
The Fuzzy Whirlpool Thunderstorm
whirlpool at blinkenshell.org
Tue Jul 22 11:22:40 CEST 2014
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Mon, Jul 21, 2014 at 02:54:23PM +0200, Werner Koch wrote:
> On Fri, 18 Jul 2014 18:18, whirlpool at blinkenshell.org said:
>
> > I wonder if Mutt can be configured to decrypt inline pgp messages
> > automatically, without piping the attachment to `gpg --decrypt`.
>
> IIRC, I implemented that about a decade ago. Simply put
>
> set crypt_use_gpgme
>
> into your ~/.muttrc.
Yes, gpgme backend is great. But there is a problem with s/mime
handling. Before doing any s/mime decryption/encryption, a p12 private
key is needed. Since gpgme backend uses gpgsm to handle s/mime, I need
to import my p12 certificate.
The problem is pinentry doesn't come to foreground when I invoke `gpgsm
- --import mycertkey.p12`. Shell is hanging up waiting for pinentry-curses
to provide the passphrase. Is there any workaround to fix gpgsm and
pinentry behavior to work as expected?
S/MIME works with openssl backend, via `smime_keys add_p12
mycertkey.p12`
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
iQIcBAEBAgAGBQJTzi1gAAoJEOyCOarSHYdhTx4QAKuCXkeuncna5TKZUMIsA92f
9ULu80jLC2xPU4qaC2Hz0OL91GGnY1Z7z9SnTp+JPlF+gH7XJMpFTnVKn18QEXk1
nAEmbrG0LoEQnPLlZqG6qgY+0RCXpbPMmFFQK9f0Tak3gf8B3eZvxUjFlKx2mkWg
dT42PlwgtL5G28zBsDepYckKLz9JOoeoqqwKi61pQAcqAcweNgiovgQ2Fv7OWO+L
lvW756+u/zSrygLTRyhpRn6A1pctcjolI9QNDPOGGuAKFwHLkRNUaGnDJw0NijEf
jzvxAiltEJGCjJefkWJ7CbxDycZMYdM9p2/elBxHQf/1LneQSpQMq3A5oiKw+P9+
QMHS0zERBzQWVc6PfB9+JGEOgXgkxgXEBLhlgUXaywnocLfmOiUWQ2PhjOnkDzMw
L+ykA5xJHxoBtBJ4lnm+W3X2oqip49lr2anZtnxNzlUv7Nk4HTrLtsiIX1k0b8c8
rXyg9fbdxSaWanIoeduiVzKpvH8lcfA+rcpDtCCyNZSp+mNrWnrIpP/cBUyM2Iba
CeF0uw7kRPCnUVAQ6nHkhkJPVghWEZRkZhHG14Kz6FORBdzob6HR/gB8oXrq0P2j
bQ3Kim0Vy73/kEu0bSazh46phxWmYVgjxa395EuESmdOffcpO5klxxYo6vmZ/lW2
eSOcA8LGGvqCdaJRL0Sk
=FrQr
-----END PGP SIGNATURE-----
More information about the Gnupg-users
mailing list