Enable loopback mode for pinentry

To be able to use gpg commit signing with emacs running in terminal, pinentry loopback mode should be enabled for gpg agent.

  1. Add pinentry-mode loopback to ~/.gnupg/gpg.conf
  2. Add allow-loopback-entry to ~/.gnupg/gpg-agent.conf
  3. Reload the agent: gpgconf –reload gpg-agent


Edit this page on GitHub

Links to this note