Dmitry Alexandrov <321...@gmail.com> wrote: > Richard Stallman <r...@gnu.org> wrote: >> > with either GnuPG 2.1 or GnuPG 2.2 setting: >> >> > (setq epa-pinentry-mode 'loopback) ;; for Emacs 26 >> > (setq epg-pinentry-mode 'loopback) ;; for Emacs 27 >> >> > works like a charm.
>> Also, I don't know what 'loopback' does. It might not be what I want. > > You want not to retype the passphrase on every access to the private key. > This requires using gpg-agent(1), which in modern GPG is the daemon that > actually does the stuff, while gpg(1) is a mere frontend to it. > > When gpg-agent need a passphrase to be typed in, it may either: (1) launch a > pinentry command; or (2) send a request for it back to gpg(1) (or whatever > frontend is used). > > Default is to do the former, ‘loopback’ instructs it to do the latter. > > Indeed, this is not the only way to use GPG 2 and Emacs on the same TTY, but > the closest one to the legacy GPG 1 setup, that you are using now. In the light of yet another letter from your impostor, do you have any more unresolved questions, that impede you from starting to sign mail? Feel free to ask them.
signature.asc
Description: PGP signature