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 ```