diff --git a/gnupg/gpg-agent.conf b/gnupg/gpg-agent.conf index 7c3bef8..8b926e0 100644 --- a/gnupg/gpg-agent.conf +++ b/gnupg/gpg-agent.conf @@ -3,8 +3,8 @@ enable-ssh-support ttyname $GPG_TTY -default-cache-ttl 60 -max-cache-ttl 120 +default-cache-ttl 720 +max-cache-ttl 10080 # allow-loopback-pinentry # pinentry-program /usr/bin/pinentry-tty diff --git a/ssh/config b/ssh/config new file mode 100644 index 0000000..d5a32b8 --- /dev/null +++ b/ssh/config @@ -0,0 +1,4 @@ +Host localhost +ForwardAgent yes +AddKeysToAgent ask +Match host * exec "gpg-connect-agent UPDATESTARTUPTTY /bye"