diff options
| author | Blake Romero <blake@blkrom.com> | 2025-07-11 18:16:44 +0100 |
|---|---|---|
| committer | Blake Romero <blake@blkrom.com> | 2025-07-11 18:16:44 +0100 |
| commit | bd998b5a762b218465e6d66a238bffb75116a3bc (patch) | |
| tree | c332a64ecc2533408af2d5dfa1c5ffbc42582b8f /emacs-config.org | |
| parent | 7b8d3a12815f22b43782a29acb7a80a09aa0c981 (diff) | |
Enable pinentry loopback to allow Emacs to prompt for passphrase
Diffstat (limited to 'emacs-config.org')
| -rw-r--r-- | emacs-config.org | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/emacs-config.org b/emacs-config.org index 29746fb..6340f46 100644 --- a/emacs-config.org +++ b/emacs-config.org @@ -1274,6 +1274,12 @@ Use symmetrical keys for encryption/decryption. (setq-default org-crypt-key nil)) #+end_src +Redirect pinentry queries to Emacs to query passphrases through the minibuffer. +#+begin_src elisp + (with-eval-after-load 'epg-config + (setq-default epg-pinentry-mode 'loopback)) +#+end_src + Encrypt file on save. #+begin_src elisp (with-eval-after-load 'org-crypt |
