Created
February 18, 2019 20:22
-
-
Save slofurno/97701d00523a8dd29bf58e9436cfeff6 to your computer and use it in GitHub Desktop.
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/bash | |
case "$@" in | |
*verify*) | |
keybase pgp verify -d $4 | |
printf "\n[GNUPG:] VALIDSIG " | |
;; | |
*) | |
keybase pgp sign -d | |
printf "\n[GNUPG:] SIG_CREATED " > /dev/fd/2 | |
;; | |
esac | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment