From fd60b1ce6b80662f3b4aadc443cba45e19f49370 Mon Sep 17 00:00:00 2001 From: Armaan Bhojwani Date: Sun, 16 May 2021 23:09:43 -0400 Subject: [PATCH] gpg: add config --- config.org | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/config.org b/config.org index 63939b9..520b4c5 100644 --- a/config.org +++ b/config.org @@ -270,7 +270,9 @@ Add back C-a/C-x (add-to-list 'org-structure-template-alist '("ff1" . "src css :tangle ~/.mozilla/firefox/armaan-release/chrome/userChrome.css")) (add-to-list 'org-structure-template-alist '("ff2" . "src css :tangle ~/.mozilla/firefox/armaan-release/chrome/userContent.css")) (add-to-list 'org-structure-template-alist '("xr" . "src conf :tangle ~/.Xresources") - (add-to-list 'org-structure-template-alist '("tm" . "src conf :tangle ~/.tmux.conf"))) + (add-to-list 'org-structure-template-alist '("tm" . "src conf :tangle ~/.tmux.conf") + (add-to-list 'org-structure-template-alist '("gp" . "src conf :tangle ~/.gnupg/gpg.conf") + (add-to-list 'org-structure-template-alist '("ag" . "src conf :tangle ~/.gnupg/gpg-agent.conf"))) #+end_src * Autocompletion ** Ivy @@ -1217,3 +1219,16 @@ Modus operandi theme. set -g status off set-window-option -g mode-keys vi #+end_src +** GPG +*** Config +#+begin_src conf :tangle ~/.gnupg/gpg.conf + default-key 3C9ED82FFE788E4A + use-agent +#+end_src +*** Agent +#+begin_src conf :tangle ~/.gnupg/gpg-agent.conf + pinentry-program /sbin/pinentry-gnome3 + max-cache-ttl 600 + default-cache-ttl 600 + allow-emacs-pinentry +#+end_src -- 2.39.2