Quoting Jameson Graef Rollins (2013-11-17 20:43:25) > On Sun, Nov 17 2013, Patrick Totzke <patricktotzke@gmail.com> wrote: > > Is this how notmuch emacs does it? I mean, is there some option to tell > > emacs to always call gpg with --encrypt-to=me ? > > I wonder if I need to change alot in any way or if one can simply globally configure > > gnupg.. alot does not call the gpg binary but uses pygpgme. > > You do not need to change alot, just notmuch emacs also doesn't need to > do anything special to allow for this. Just add an > > encrypt-to <keyid> > > line to your ~/.gnupg/gpg.conf, where <keyid> is your personal keyid. > Then all encrypted data is also encrypted to your personal key, making > it always viewable by you as well. Then you can just open your > encrypted sent mail as you would any other encrypted mail. If I have to identities, with two different gpg keys (key1 and key2), and I set 'encrypt-to key1' when I send emails with my identity of key2 it will also encrypt it with my key1 and will reveal to its receivers that I own key1. Isn't it? -- Ruben Pollan | http://meskio.net/ -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- My contact info: http://meskio.net/crypto.txt -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Nos vamos a Croatan.