Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Decrypt attachment

75 views
Skip to first unread message

Dominique

unread,
Apr 27, 2012, 6:37:39 PM4/27/12
to
Hello,

Sorry if this is a common question or if the answer is out there; if I've seen it I haven't been able to make sense of it.

I'm using mutt 1.5.21 on OSX. I'm able to decrypt encrypted messages but not encrypted attachments (otherwise than by saving them and decrypting them by hand). Here's my mutt/gpg configuration:

---
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 --encrypt-to 14F8C404D329F397 -- -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 --encrypt-to 14F8C404D329F397 -- -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"
set pgp_autosign=yes
set pgp_sign_as=14F8C404D329F397
set pgp_replyencrypt=yes
set pgp_timeout=1800
set pgp_good_sign="^gpg: Good signature from"
---

When I receive an encrypted attachment, how can I
a) decrypt it, and
b) pass the decrypted attachment to my mime handler to open it?

Thanks!
0 new messages