Forked from kenzo0107/import_and_export_gpg_keys_backup.sh
Created
March 29, 2021 07:00
-
-
Save xirixiz/6f423226ab3cb50877cdb7c30d40b046 to your computer and use it in GitHub Desktop.
import export gpg keys
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
# 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