Don't complain about GPG_AGENT_INFO if using newer gpg-agent (#189)

This commit is contained in:
Simon Gate
2017-04-26 14:34:20 +02:00
committed by Tom Limoncelli
parent dd0234874b
commit 5a05be06c7
6 changed files with 128 additions and 25 deletions

View File

@@ -7,13 +7,7 @@
set -e
source "${0%/*}/_blackbox_common.sh"
if [[ -z $GPG_AGENT_INFO ]]; then
echo 'WARNING: You probably want to run gpg-agent as'
echo 'you will be asked for your passphrase many times.'
echo 'Example: $ eval $(gpg-agent --daemon)'
read -r -p 'Press CTRL-C now to stop. ENTER to continue: '
fi
gpg_agent_notice
disclose_admins
prepare_keychain