Skip to content

Instantly share code, notes, and snippets.

@kenzo0107
Last active March 29, 2021 07:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save kenzo0107/6c03a9b7439c0ecd2a55fb156059193f to your computer and use it in GitHub Desktop.
Save kenzo0107/6c03a9b7439c0ecd2a55fb156059193f to your computer and use it in GitHub Desktop.
import export gpg keys
# export private keys
gpg --export-secret-keys --armor > gpg-private.keys
# import private keys
gpg --import gpg-private.keys
# export public keys
gpg --export --armor > gpg-public.keys
# import public keys
gpg --import gpg-public.keys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment