Skip to content

Commit

Permalink
tweak(epa): ask for passphrase in Emacs minibuffer
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Jun 17, 2023
1 parent 3bd1f76 commit 601972b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions core/me-builtin.el
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@
(auth-source-do-cache t) ; Enable caching, do not keep asking about GPG key
(auth-source-cache-expiry 86400)) ; All day, default is 2h (7200)

(use-package epa
:straight (:type built-in)
:custom
;; Force gpg-agent to use minibuffer to prompt for passphrase (GPG 2.1+).
(epg-pinentry-mode 'loopback))

(use-package epa-file
:straight (:type built-in)
:after minemacs-loaded
Expand Down

0 comments on commit 601972b

Please sign in to comment.