Skip to content

Commit

Permalink
ci(travis): Update travis config to enable pinentry loopback with gpg
Browse files Browse the repository at this point in the history
  • Loading branch information
vivekratnavel committed Jun 19, 2019
1 parent a1cb9f5 commit 2b21070
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -33,7 +33,7 @@ before_install:
# Import the gpg key
gpg --batch --yes --import /tmp/git_gpg_keys.asc &&
# Create a script that pass the passphrase to the gpg CLI called by git
echo '/usr/bin/gpg2 --passphrase ${GPG_PASSPHRASE} --batch --no-tty "$@"' > /tmp/gpg-with-passphrase && chmod +x /tmp/gpg-with-passphrase &&
echo '/usr/bin/gpg2 --pinentry-mode loopback --passphrase ${GPG_PASSPHRASE} --batch --no-tty "$@"' > /tmp/gpg-with-passphrase && chmod +x /tmp/gpg-with-passphrase &&
# Configure git to use the script that passes the passphrase
git config gpg.program "/tmp/gpg-with-passphrase" &&
# Configure git to sign the commits and tags
Expand Down

0 comments on commit 2b21070

Please sign in to comment.