Using gpg with emacs mu4e and mbsync
famubu
famubu at disroot.org
Sat May 16 14:56:25 CEST 2026
> --for-your-eyes-only does nothin but setting "_CONSOLE" as embedded
> filename - it is a useless option and is a PGP 2 legacy.
I figured this would be needed since the man page mentions something
about ensuring that no file is saved. I took it to mean that using
this would be more secure.
> Do not use --no-tty but use
>
> gpg -v --batch -d -o - ~/.authinfo.gpg
Using `--batch` gave error: `Sorry, we are in batchmode - can't get
input
The command was: `gpg -q --batch --pinentry-mode loopback -d ~/file.gpg`
> assuming that you want to see the output on stdout (it is actually the
> default with -d but better better make it explicit).
I need the output to be usable by mbsync. And mbsync would get the
password via emacs. So I don't want the output on stdout.
I had actually got this to work from within emacs at some point.
But I suppose I ended up changing the config and messed it up.
I tried different versions of the config that I ended up with by
commenting/uncommenting out parts of it, but to no avail.
> > use-agent
> That is a no-op for many many years.
Ah.. I now see in the man page about it being a dummy option.
> Pretty please update to a current version (2.5.20). 2.2.7 is 8
> years
I was just using the gpg version available in my distro.
Got to update to newer distro version. But been putting it off since I
got to back up my files first.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20260516/e9d5a465/attachment.html>
More information about the Gnupg-users
mailing list