You are not logged in.
Pages: 1
Topic closed
I have setup mutt to work with GPG, and I've tested and it seems to work fine. I also have gpg-agent setup, and it seems to be working fine as well. But, when I set
set pgp_use_gpg_agent = yesin mutt's config, then I am no longer to encrypt, decrypt or sign any email in mutt. I always get:
gpg: skipped "0x92146582": bad passphrase
gpg: signing failed: bad passphraseI'll probably post this in a mutt mailing list, but I though to ask here first. If there's some specifics about my GPG setup, or mutt setup, feel free to ask. I don't post all of it because it's a sizeable amount of information, that would clutter the post.
EDIT: this happens whenever mutt is setup to use gpg-agent, whether there is any pass-phrase cached or not.
Last edited by gauthma (2012-01-16 01:40:58)
Offline
You need to paste the remainder of your pgp_* settings. For one you can't use this in commands --passphrase-fd 0
You need to install an RTFM interface.
Offline
Here you go:
set pgp_decode_command="gpg %?p?--passphrase-fd 0? --no-verbose --batch --output - %f"
set pgp_verify_command="gpg --no-verbose --batch --output - --verify %s %f"
set pgp_decrypt_command="gpg --passphrase-fd 0 --no-verbose --batch --output - %f"
set pgp_sign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 --armor --detach-sign --textmode %?a?-u %a? %f"
set pgp_clearsign_command="gpg --no-verbose --batch --output - --passphrase-fd 0 --armor --textmode --clearsign %?a?-u %a? %f"
set pgp_encrypt_only_command="pgpewrap gpg --batch --quiet --no-verbose --output - --encrypt --textmode --armor --always-trust -- -r %r -- %f"
set pgp_encrypt_sign_command="pgpewrap gpg --passphrase-fd 0 --batch --quiet --no-verbose --textmode --output - --encrypt --sign %?a?-u %a? --armor --always-trust -- -r %r -- %f"
set pgp_import_command="gpg --no-verbose --import -v %f"
set pgp_export_command="gpg --no-verbose --export --armor %r"
set pgp_verify_key_command="gpg --no-verbose --batch --fingerprint --check-sigs %r"
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"About the --passphrase, are you saying I have to remove it? (I can't test that suggestion right now; I'll do it tomorrow, though)
Offline
Yes remove it.
You need to install an RTFM interface.
Offline
Yes remove it.
Dude awesome, worked like a charm!
Thank you very much!
Offline
I note a follow on thread to this one was started so they would not bump this old thread. Thank you for that ![]()
Closing this one.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Pages: 1
Topic closed