I have a strange problem here that mutt doesn't ask me for the passphrase when I want to sign/encrypt a message.
Signing/encrypting using a key that has no passphrase works fine, though. Actually mutt seems to ask in the "background" but the prompt immediately returns. Thus, I get an error when sending the message saying that I used a bad passphrase. I use GnuPG with settings according to the mutt wiki: ## set pgp_clearsign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 --armor --textmode --clearsign %?a?-u %a? %f" set pgp_decode_command="gpg %?p?--passphrase-fd 0? --no-verbose --batch --output - %f" set pgp_decrypt_command="gpg --passphrase-fd 0 --no-verbose --batch --output - %f" set pgp_encrypt_only_command="/usr/lib/mutt/pgpewrap gpg --batch --quiet --no-verbose --output - --encrypt --textmode --armor --always-trust --encrypt-to 0x42828A3B -- -r %r -- %f" set pgp_encrypt_sign_command="/usr/lib/mutt/pgpewrap gpg --passphrase-fd 0 --batch --quiet --no-verbose --textmode --output - --encrypt --sign %?a?-u %a? --armor --always-trust --encrypt-to 0x42828A3B -- -r %r -- %f" set pgp_export_command="gpg --no-verbose --export --armor %r" set pgp_getkeys_command = "gpg --keyserver hkp://keys.gnupg.net --recv-keys %r " # default: '' set pgp_good_sign="^gpg: Good signature from" set pgp_import_command="gpg --no-verbose --import -v %f" set pgp_list_pubring_command="gpg --no-verbose --batch --with-colons --list-keys %r" set pgp_list_secring_command="gpg --no-verbose --batch --with-colons --list-secret-keys %r" set pgp_sign_as = '0x42828A3B' set pgp_sign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 --armor --detach-sign --textmode %?a?-u %a? %f" set pgp_sort_keys = 'date' # default: 'address' set pgp_timeout = '1800' set pgp_use_gpg_agent = yes # default: no set pgp_verify_command="gpg --no-verbose --batch --output - --verify %s %f" set pgp_verify_key_command="gpg --no-verbose --batch --fingerprint --check-sigs %r" ## So I'm pretty curious why I don't get a prompt and since I'm totally new to mutt I have no idea where to look besides the pgp portion.