gpg: Add config to ask for the gpg passphrase
In order for emacs to be able to cope with gpg, the following lines have to be configured in `~/.gnupg/gpg-agent.conf`: ``` pinentry-program /usr/bin/pinentry-tty allow-loopback-entry ```
This commit is contained in:
parent
9e9ec1829d
commit
3fad3b9758
3 changed files with 5 additions and 1 deletions
3
.emacs.d/config/gpg.el
Normal file
3
.emacs.d/config/gpg.el
Normal file
|
@ -0,0 +1,3 @@
|
|||
(use-package pinentry
|
||||
:init
|
||||
(setq epa-pinentry-mode 'loopback))
|
|
@ -57,7 +57,7 @@ symbols, which are converted to strings, and suffixed with \".el\"."
|
|||
:group 'config-snippets
|
||||
:type '(repeat directory))
|
||||
|
||||
(setq config-snippets '(base backups calendar dev functions org pass wl))
|
||||
(setq config-snippets '(base backups calendar dev functions gpg org pass wl))
|
||||
|
||||
(message "Loading\nconfig-snippets: %s\nconfig-snippets-path: %s" config-snippets config-snippet-path)
|
||||
(dolist (snippet config-snippets)
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
!/.emacs.d/config/calendar.el
|
||||
!/.emacs.d/config/dev.el
|
||||
!/.emacs.d/config/functions.el
|
||||
!/.emacs.d/config/gpg.el
|
||||
!/.emacs.d/config/org.el
|
||||
!/.emacs.d/config/pass.el
|
||||
!/.emacs.d/config/tramp.el
|
||||
|
|
Loading…
Reference in a new issue