On Tue, Oct 09, 2001 at 12:11:07PM +0200, Sven Gaerner wrote: > Hi, > > I got a problem using mutt and gpg since the last update for these packages. > When I try to encrypt and sign a message I get an error after entering > my passphrase. > > Error message: > gpg: Missing argument for option "--comment" > Press any key to continue... > > I tried using the gpg.rc file from /usr/share/doc/mutt/examples but this > doesn't work. > > Does anyone have an idea how to solve this? >
I had the same problem and since I at the same time started to use gpg, my understanding of the matter is of course very limited but anyhow, this ugly hack solved the problem for me: in /etc/Muttrc there is a line set pgp_encrypt_sign_command="/usr/lib/mutt/pgpewrap /usr/bin/gpg --comment '' --passphrase-fd 0 --batch --quiet --no-verbose --textmode --output - --encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r -- %f" set pgp_encrypt_sign_command="/usr/lib/mutt/pgpewrap /usr/bin/gpg --comment 'foo' --passphrase-fd 0 --batch --quiet --no-verbose --textmode --output - --encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r -- %f" Hans Ekbrand
pgpKFAH3Vk34A.pgp
Description: PGP signature