dotfiles-emacs/.emacs.d/config/gpg.el
finga 3fad3b9758 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
```
2023-06-29 08:43:38 +02:00

3 lines
90 B
EmacsLisp

(use-package pinentry
:init
(setq epa-pinentry-mode 'loopback))