Skip to content

Instantly share code, notes, and snippets.

@mgadzhi
Created November 3, 2014 10:41
Show Gist options
  • Save mgadzhi/c40c90d7348d88e17bb8 to your computer and use it in GitHub Desktop.
Save mgadzhi/c40c90d7348d88e17bb8 to your computer and use it in GitHub Desktop.
echo "1234" | gpg --no-use-agent -o /dev/null --local-user <KEYID> -as - && echo "The correct passphrase was entered for this key"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment