Last active
June 30, 2021 04:34
-
-
Save froi/25aad658ac8ece2cf0f4b700534585a4 to your computer and use it in GitHub Desktop.
Command to test gpg key
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
#!/usr/bin/env sh | |
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