this is the missing piece for getting pinentry in minibuffer in emacs,
for example in eshell, instead of a 'pop up' pinentry that completely
messes everything up.
with this in place, don't greatly extend the key cache ttls, since we
don't have to worry about our tty emacs being interrupted if we
mindlessly stumble into a gpg pinentry.
-default-cache-ttl 10000000
-max-cache-ttl 10000000
+# default-cache-ttl 10000000
+# max-cache-ttl 10000000
-default-cache-ttl-ssh 43200
-max-cache-ttl-ssh 86400
+# default-cache-ttl-ssh 43200
+# max-cache-ttl-ssh 86400
# pinentry-program /home/bandali/.guix-profile/bin/pinentry-emacs
# pinentry-program /usr/bin/pinentry-gtk-2
--- /dev/null
+pinentry-mode loopback