From 141584f3726341bc35ec4b8b456dd465bb0bf4dd Mon Sep 17 00:00:00 2001 From: earnest ma Date: Tue, 28 Dec 2021 10:12:25 -0500 Subject: [PATCH] gnupg: Add gpg-agent conf to time out in a day --- gnupg/.gitignore | 1 + gnupg/.gnupg/gpg-agent.conf | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 gnupg/.gitignore create mode 100644 gnupg/.gnupg/gpg-agent.conf diff --git a/gnupg/.gitignore b/gnupg/.gitignore new file mode 100644 index 0000000..72e8ffc --- /dev/null +++ b/gnupg/.gitignore @@ -0,0 +1 @@ +* diff --git a/gnupg/.gnupg/gpg-agent.conf b/gnupg/.gnupg/gpg-agent.conf new file mode 100644 index 0000000..74aa6e2 --- /dev/null +++ b/gnupg/.gnupg/gpg-agent.conf @@ -0,0 +1,4 @@ +# after making changes to file, reload the gpg-agent +# gpg-connect-agent reloadagent /bye +default-cache-ttl 86400 +max-cache-ttl 86400