Skip to content

Instantly share code, notes, and snippets.

@noah95 noah95/
Created Feb 9, 2018

What would you like to do?
alias gpg2syno='/usr/local/gnupg/bin/gpg2'
# List keys
gpg2syno --list-keys
# Export private key
gpg2syno -a --export-secret-keys $KEY_ID > secret-gpg.key
# Export public key
gpg2syno -a --export $KEY_ID > public-gpg.key
# Import pirvate key (includes public key)
gpg2syno --import secret-gpg.key
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.