summaryrefslogtreecommitdiff
path: root/gpg-agent.org
blob: 02e2d552b0901addcde832fc63fae8570b8ee434 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#+PROPERTY: header-args:conf :tangle tangle/gpg-agent.conf :comments org

#+BEGIN_SRC sh :tangle tangle/symlink.sh :results silent :shebang "#!/bin/bash"
ln -siv $(pwd)/tangle/gpg-agent.conf ~/.gnupg/gpg-agent.conf
ln -siv $(pwd)/tangle/sshcontrol ~/.gnupg/sshcontrol
#+END_SRC


#+BEGIN_SRC conf
max-cache-ttl 34560000
#+END_SRC
* ssh password caching
#+BEGIN_SRC conf
max-cache-ttl-ssh 34560000
#+END_SRC
* Emacs pinentry
#+BEGIN_SRC conf
allow-emacs-pinentry
allow-loopback-pinentry
#+END_SRC
* Enable use as ssh keys
#+begin_src conf
enable-ssh-support
#+end_src

#+begin_src conf :tangle tangle/sshcontrol
4AFDEF6B35160F892F61666CE891B2456D755807
#+end_src