From 02049bea51a3f394782b9aadbd60679dddbfce08 Mon Sep 17 00:00:00 2001 From: Christopher James Hayward Date: Mon, 15 Mar 2021 21:15:38 -0400 Subject: [PATCH] Fix emacs pinentry --- config/gpg-agent.conf | 1 + modules/encryption.org | 1 + 2 files changed, 2 insertions(+) diff --git a/config/gpg-agent.conf b/config/gpg-agent.conf index 24d3cab..75707fd 100644 --- a/config/gpg-agent.conf +++ b/config/gpg-agent.conf @@ -1,2 +1,3 @@ +pinentry-emacs ~/.local/source/pinentry-emacs/pinentry-emacs allow-emacs-pinentry allow-loopback-pinentry diff --git a/modules/encryption.org b/modules/encryption.org index fd5537b..3a4aa49 100644 --- a/modules/encryption.org +++ b/modules/encryption.org @@ -19,6 +19,7 @@ My source files encrypted with symmetric key encryption via *GPG*[fn:1]. This en When the *gpg-agent*[fn:1] loads it will read the configuration at ~~/.gnupg/gpg-agent.conf~. Override the default settings to allow Emacs to function as the *Pinentry*[fn:2] application. #+begin_src conf +pinentry-emacs ~/.local/source/pinentry-emacs/pinentry-emacs allow-emacs-pinentry allow-loopback-pinentry #+end_src