Created
May 20, 2017 22:19
-
-
Save kremalicious/03deeee15728df24ad6d875970333c8b to your computer and use it in GitHub Desktop.
Create & publish new GPG key incl. revocation certs
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
# Generate key pair and revocation certificate. | |
gpg --gen-key | |
gpg --output revoke.asc --gen-revoke <key-id> | |
# Export ASCII copy of the public key | |
gpg --export --armor <key-id> > pubkey.asc | |
# Publish the public key | |
gpg --send-keys <key-id> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment