Created
February 9, 2018 11:54
-
-
Save huettern/5902e4cd9f277a78ce40395dd957d478 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
alias gpg2syno='/usr/local/gnupg/bin/gpg2' | |
# List keys | |
gpg2syno --list-keys | |
# Export private key | |
KEY_ID=12345678 | |
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