Skip to content

Instantly share code, notes, and snippets.

@slofurno
Created February 18, 2019 20:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save slofurno/97701d00523a8dd29bf58e9436cfeff6 to your computer and use it in GitHub Desktop.
Save slofurno/97701d00523a8dd29bf58e9436cfeff6 to your computer and use it in GitHub Desktop.
#!/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