summaryrefslogtreecommitdiffstats
path: root/.gnupg/gpg-agent.conf
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2021-10-18 23:40:23 -0400
committerAmin Bandali <bandali@gnu.org>2021-10-18 23:40:23 -0400
commit8c970f6fb3f206aa4645dbe604a2c754b617361f (patch)
treeac868354db3af028726814841adad5836acb06a5 /.gnupg/gpg-agent.conf
parent7b96c45a9474f693ba5bd3a3a28bbbf8b6115267 (diff)
downloadconfigs-8c970f6fb3f206aa4645dbe604a2c754b617361f.tar.gz
configs-8c970f6fb3f206aa4645dbe604a2c754b617361f.tar.xz
configs-8c970f6fb3f206aa4645dbe604a2c754b617361f.zip
gpg: set pinentry-mode to loopback
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.
Diffstat (limited to '.gnupg/gpg-agent.conf')
-rw-r--r--.gnupg/gpg-agent.conf8
1 files changed, 4 insertions, 4 deletions
diff --git a/.gnupg/gpg-agent.conf b/.gnupg/gpg-agent.conf
index ac7ad2c..4905b0e 100644
--- a/.gnupg/gpg-agent.conf
+++ b/.gnupg/gpg-agent.conf
@@ -1,8 +1,8 @@
-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