-
-
Save DariuszO/4a96285104adbc8d2b6aefa9e9984351 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