This is an automated email from the ASF dual-hosted git repository.
olabusayo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-daffodil.git
The following commit(s) were added to refs/heads/master by this push:
new 7c50548 Update gpg-agent timeout
7c50548 is described below
commit 7c50548f2ee9ea3a22798d64d52b389623ca9afb
Author: olabusayoT <[email protected]>
AuthorDate: Mon Apr 6 12:21:49 2020 -0400
Update gpg-agent timeout
-- timeout updated to 3000s
-- kill gpg-agent at the end of the session
DAFFODIL-2312
---
containers/release-candidate/daffodil-release-candidate | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/containers/release-candidate/daffodil-release-candidate
b/containers/release-candidate/daffodil-release-candidate
index 0d0bb92..b2fffe7 100755
--- a/containers/release-candidate/daffodil-release-candidate
+++ b/containers/release-candidate/daffodil-release-candidate
@@ -61,6 +61,12 @@ read -s -p "Apache Password: " APACHE_PASSWD
echo
echo
+gpg-agent --daemon --default-cache-ttl 3000 --max-cache-ttl 3000
+if [ $? -ne 0 ]; then
+ echo -e "\n!!! Unable to change timeout of the gpg-agent !!!\n"
+ echo -e "\n!!! Try updating it manually at ~/.gnupg/gpg-agent.conf for 3000
seconds each !!!\n"
+ exit
+fi
export GPG_TTY=$(tty)
export WIX=/root/wix311/
@@ -263,4 +269,6 @@ fi
echo
+gpgconf --kill gpg-agent
+
bash