stevedlawrence commented on a change in pull request #351: Update gpg-agent 
timeout
URL: https://github.com/apache/incubator-daffodil/pull/351#discussion_r404233701
 
 

 ##########
 File path: 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 30000 --max-cache-ttl 30000
+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 
30000 seconds each !!!\n"
+   exit
+fi
 
 Review comment:
   Just to be safe, it might be a good idea to shut the agent down at the end 
of the script. That way if someone starts a build and walks away a malicious 
user won't be able to sign something when this finishes.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to