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:
finga 2023-06-29 08:43:38 +02:00
parent 9e9ec1829d
commit 3fad3b9758
3 changed files with 5 additions and 1 deletions

3
.emacs.d/config/gpg.el Normal file
View file

@ -0,0 +1,3 @@
(use-package pinentry
:init
(setq epa-pinentry-mode 'loopback))