Re: Notmuch, Emacs and pinentry -- oh my

2019-11-13 Thread Ralph Seichter
* Daniel Kahn Gillmor: > This hypothetical subcommand would just protect the index. [...] you > will be able to read your mail without access to your long-term secret > key material [...] That sounds useful, as does the idea of (un)locking the index. As you may have seen on the GnuPG mailing

Re: Notmuch, Emacs and pinentry -- oh my

2019-11-11 Thread Daniel Kahn Gillmor
On Mon 2019-11-11 20:10:26 +0100, Ralph Seichter wrote: > I tried that by setting GPG_TTY to a fixed terminal, but while this > seemed to work on the first call, the second time I was prompted for a > password it was echoed, in cleartext, to the terminal. Is there a better > method to achieve what

Re: Notmuch, Emacs and pinentry -- oh my

2019-11-11 Thread Ralph Seichter
* Daniel Kahn Gillmor: > Have you considered running gpg-agent in a dedicated terminal window, > and handling the gpg-agent prompts from that window? I tried that by setting GPG_TTY to a fixed terminal, but while this seemed to work on the first call, the second time I was prompted for a

Re: Notmuch, Emacs and pinentry -- oh my

2019-11-11 Thread Daniel Kahn Gillmor
On Fri 2019-11-08 16:40:05 +0100, Ralph Seichter wrote: > I only access the server with a terminal, and that's where Emacs is > running in. Curses is as graphical as it gets. ;-) Neither pinentry-tty nor pinentry-curses is designed to work (or capable of working well) with another process

Re: Notmuch, Emacs and pinentry -- oh my

2019-11-08 Thread Ralph Seichter
* David Bremner: > My only (not always popular advice) w.r.t. pinentry is to use a > graphical pinentry if at all possible. I only access the server with a terminal, and that's where Emacs is running in. Curses is as graphical as it gets. ;-) > Not all Emacs binaries have support for

Re: Notmuch, Emacs and pinentry -- oh my

2019-11-08 Thread David Bremner
David Bremner writes: > Ralph Seichter writes: > >> Alas, in these cases I can tell that Emacs expects input of me, but it >> only uses the bottom most two lines to do so, meaning that I cannot >> quite read what is expected of me. Assuming that pinentry is involved, I >> tried switching

Re: Notmuch, Emacs and pinentry -- oh my

2019-11-08 Thread David Bremner
Ralph Seichter writes: > Alas, in these cases I can tell that Emacs expects input of me, but it > only uses the bottom most two lines to do so, meaning that I cannot > quite read what is expected of me. Assuming that pinentry is involved, I > tried switching between pinentry-curses and

Notmuch, Emacs and pinentry -- oh my

2019-11-07 Thread Ralph Seichter
Not being quite sure if this is the correct mailing list to ask, here we go anyway: Using Emacs as a Notmuch client, I occasionally come across email that is signed and/or encrypted. I am then prompted to a) decide if I trust the signator or b) to enter my PGP secret key's password. Alas, in