summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfpi2020-06-03 19:22:00 +0200
committerfpi2020-06-08 20:09:09 +0200
commitc68cee618df34c4ca31c682a9d5d7ecd37e49688 (patch)
treed4c9dca51f56565f9eee1929d4b9f7b0ac2c9e90
parentDisable ido-completing-read (diff)
Set emacs to ask for gpg passphrases in the minibuffer
Diffstat (limited to '')
-rw-r--r--emacs-init.org11
1 files changed, 11 insertions, 0 deletions
diff --git a/emacs-init.org b/emacs-init.org
index 37ae657..b636c0f 100644
--- a/emacs-init.org
+++ b/emacs-init.org
@@ -1501,6 +1501,17 @@ over =windmove=, as it does not interfere with org keybindings.
("C-c <left>" . winner-hydra/winner-undo)
("C-c <right>" . winner-hydra/winner-redo)))
#+end_src
+** File encryption
+=epa= handles en-/decryption with =gnupg=. Setting ~'loopback~ pinentry mode will ask for the key passphrase in the emacs minibuffer. For this the =pinentry= package is needed, as well as setting =allow-emacs-pinentry= in the =gnupg= configuration.
+
+#+begin_src emacs-lisp
+(use-package epa
+ :custom (epa-pinentry-mode 'loopback))
+(use-package pinentry
+ :ensure t
+ :config (pinentry-start)
+ :after epa)
+#+end_src
* Applications and utilities
** Calendar
Some basic calendar options for date format und location to provide