From fe74ddd6ad3c9f24ea739637b4f0531af19a8cfa Mon Sep 17 00:00:00 2001 From: Jona Reichmann <34141868+jreichmann@users.noreply.github.com> Date: Sat, 9 Mar 2019 14:04:19 +0100 Subject: [PATCH] Set git defaults, set gnupg cache to be more aggressive --- gnupg/gpg-agent.conf | 7 ++++++- initialSetup.sh | 6 ++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/gnupg/gpg-agent.conf b/gnupg/gpg-agent.conf index b69e6ee..62ecae5 100644 --- a/gnupg/gpg-agent.conf +++ b/gnupg/gpg-agent.conf @@ -1,4 +1,9 @@ default-cache-ttl 300 -max-cache-ttl 999999 +default-cache-ttl-ssh 300 +max-cache-ttl 300 +max-cache-ttl-ssh 300 + +ingore-cache-for-signing +no-allow-external-cache enable-ssh-support diff --git a/initialSetup.sh b/initialSetup.sh index e0c5e5d..87cef54 100644 --- a/initialSetup.sh +++ b/initialSetup.sh @@ -22,3 +22,9 @@ ln -s ./gnupg/gpg.conf ~/.gnupg/gpg.conf ln -s ./gnupg/gpg-agent.conf ~/.gnupg/gpg-agent.conf ln -s ./gnupg/sshcontrol ~/.gnupg/sshcontrol +git config --global gpg.program gpg2 +git config --global user.name jreichmann +git config --global user.email johanna.reichmann@delta-industries.de +git config --global user.signingkey 03624C433676E465 + +