On Mon, Jan 10, 2011 at 10:15:10PM +0100, Jose M Vidal wrote:

> 
> application/octet-stream; gpg %s
> 
> Now, If i try to open the file from mutt I am asked for my gpg
> passphrase, and the file is decrypted in /tmp, which is not that bad.
> Sorry for being unable to go further, but: how could the file be
> opened (after being decrypted) instead of haviong it just saved in

maybe

application/octet-stream; gpg -d <%s; copiousoutput

I did take the redir from stdin output variant in the hope that gpg will
automatically forward output to stdout, if it does not try "--output -"
but it is completely untested.

You might also want an autoview entry for such files.

Richard

---
Name and OpenPGP keys available from pgp key servers

Reply via email to