[PATCH 0/2] Prompting for the GPG password within Emacs

2013-07-13 Thread Tomi Ollila
On Wed, Jul 10 2013, Peter Feigl wrote: > Just in case anyone is interested, I wrote a simple pinentry-emacs > script, that uses emacsclient to ask inside emacs for the password. > > Probably not secure, but I'm the only one accessing this host. > > https://github.com/ecraven/pinentry-emacs > >

[PATCH 0/2] Prompting for the GPG password within Emacs

2013-07-10 Thread Peter Feigl
Just in case anyone is interested, I wrote a simple pinentry-emacs script, that uses emacsclient to ask inside emacs for the password. Probably not secure, but I'm the only one accessing this host. https://github.com/ecraven/pinentry-emacs Finally things seem to work reliably :) Greetings,

[PATCH 0/2] Prompting for the GPG password within Emacs

2013-07-09 Thread Peter Feigl
> But this seems to be related to pinentry-curses, not notmuch, so I'll > try to take it somewhere there, maybe they or the tmux people can help > me :) Further investigation shows that pinentry-curses doesn't work under TERM=dumb (which emacs seems to use), and I cannot find a way to make MML

[PATCH 0/2] Prompting for the GPG password within Emacs

2013-07-09 Thread Peter Feigl
Daniel Kahn Gillmor writes: > The route i suggest above (with pinentry-curses might be what you're > describing here. when you say "messes up the display temporarily" can > you be more specific about what it does to the display? this may be a > bug in pinentry-curses that could be fixed.

[PATCH 0/2] Prompting for the GPG password within Emacs

2013-07-08 Thread Neil Roberts
Daniel Kahn Gillmor writes: > Hm, interesting. I bet we could figure out a way to do this with > existing OpenSSH without needing to patch anything, as long as you're > willing to use helper utilities like socat. Heh, yeah, I also experimented with going down this route. I wrote an overly

[PATCH 0/2] Prompting for the GPG password within Emacs

2013-07-08 Thread Neil Roberts
Daniel Kahn Gillmor writes: > The fewer tools that handle your OpenPGP passphrase the better, and > future versions of GnuPG will not be able to work without the gpg-agent > anyway (all secret key activity will be handled by the agent as of gnupg > version 2.1, if i understand upstream's

[PATCH 0/2] Prompting for the GPG password within Emacs

2013-07-08 Thread Daniel Kahn Gillmor
On 07/08/2013 08:19 AM, Neil Roberts wrote: > Heh, yeah, I also experimented with going down this route. I wrote an > overly complicated C program? to manage launching the two SSH sessions. > That also only handles one session, but yeah I guess you could get the > program to relaunch the SSH

[PATCH 0/2] Prompting for the GPG password within Emacs

2013-07-08 Thread Daniel Kahn Gillmor
Hi Niel-- On 07/08/2013 07:07 AM, Neil Roberts wrote: > Both machines are trusted personal machines so I can put the keys on > either (or both). cool, this makes it a little bit easier. > I think what would be ideal is if OpenSSH could > support gpg-agent forwarding like it does for ssh-agent.

[PATCH 0/2] Prompting for the GPG password within Emacs

2013-07-08 Thread Daniel Kahn Gillmor
On 07/08/2013 02:45 AM, craven at gmx.net wrote: > This is what I have tried too :) My setup is as follows: > I run emacs in non-window mode (-nw) on a server machine under tmux (a > terminal multiplexer, like screen). I connect to this via SSH from > different machines (maybe even across multiple

[PATCH 0/2] Prompting for the GPG password within Emacs

2013-07-07 Thread Neil Roberts
Hi, I've recently started using notmuch to try and read PGP-encrypted email. However the trouble is I normally access my email remotely via SSH and it's very difficult to get gpg-agent to work in those circumstances. I've therefore made some patches to try and get Emacs to prompt for the

Re: [PATCH 0/2] Prompting for the GPG password within Emacs

2013-07-07 Thread Daniel Kahn Gillmor
Hi Niel-- On 07/07/2013 07:14 AM, Neil Roberts wrote: I've recently started using notmuch to try and read PGP-encrypted email. However the trouble is I normally access my email remotely via SSH and it's very difficult to get gpg-agent to work in those circumstances. I've therefore made some