Created
October 29, 2015 12:45
-
-
Save nblair/0ab78266b5226c81f6be to your computer and use it in GitHub Desktop.
Simple script one can use to interact with gpg-agent; useful to cache your passphrase before running Maven Release that includes the maven-gpg-plugin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
echo 'this file exists solely to interact with gpg-agent, it and the .asc file can be deleted' > gpg-agent-warmup.txt | |
gpg2 -ab gpg-agent-warmup.txt | |
rm -f gpg-agent-warmup.txt gpg-agent-warmup.txt.asc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment