Re: Using gpg with emacs mu4e and mbsync
Werner Koch via Gnupg-users <[email protected]> Fri, 15 May 2026 10:10:04 +0200
| Newsgroups | gmane.comp.encryption.gpg.user |
|---|---|
| Message-ID | <[email protected]> |
> gpg -q --for-your-eyes-only --no-tty -d ~/.authinfo.gpg --for-your-eyes-only does nothin but setting "_CONSOLE" as embedded filename - it is a useless option and is a PGP 2 legacy. Do not use --no-tty but use gpg -v --batch -d -o - ~/.authinfo.gpg assuming that you want to see the output on stdout (it is actually the default with -d but better better make it explicit). > For this, I put a 'pinentry loopback' in the conf file of gpg (config Don't. Put --pinentry-mode=loopback on the command line. Otherwiese you break other use cases of gpg. gpg.conf: > use-agent That is a no-op for many many years. > pinentry-mode loopback see above. > gpg-agent.conf: > > ``` > pinentry-program /usr/bin/pinentry-curses > allow-emacs-pinentry > allow-loopback-pinentry okay. There is also an emacs pinentry but I am not aware of the current state of things. I use Emacs on X with the GTK pinentry Salam-Shalom, Werner -- The pioneers of a warless world are the youth that refuse military service. - A. Einstein _______________________________________________ Gnupg-users mailing list [email protected] https://lists.gnupg.org/mailman/listinfo/gnupg-users
openpgp-digital-signature.asc
(application/pgp-signature, 284 B)
-----BEGIN PGP SIGNATURE----- iJ8EARYKAEcWIQSHd0YfKgdOvEgNNZQZzByeCFsQegUCagbU3RsUgAAAAAAEAA5t YW51MiwyLjUrMS4xMSwyLDINHHdrQGdudXBnLm9yZwAKCRAZzByeCFsQeil/AQCp IzfFyZDLLC5wDi1trt5UX4w271H61gI+mFKiIvvtfAEAynC25AqqGh8oBicZUqLS KgdqDJZhezMaS3lj1N9FigU= =Yoe8 -----END PGP SIGNATURE-----