GnuPG Configuration

Tags:  CCE

I use gpg2 everywhere, including in Emacs.

(provide 'cce/gnupg)
(setq epg-gpg-program "gpg2")

nix

This is for home-manager:

programs.gpg.enable = true;
programs.gpg.settings = {
  default-key = "a5fce951";
  cert-policy-url = "http://whatthefuck.computer/new-key.txt";
  auto-key-locate = "keyserver cert pka";
  keyserver = "hkp://pool.sks-keyservers.net";
  keyid-format = "0xlong";
};

services.gpg-agent.enable = true;
services.gpg-agent.enableScDaemon = true;
services.gpg-agent.enableSshSupport = true;
services.gpg-agent.defaultCacheTtl = 43200;

services.gpg-agent.pinentryFlavor = "qt";

This is Referenced

''

in "CCE on Termux"

in "The Complete Computing Environment"

in "Generate a Dynamic Home Manager Configuration"