How to backup my GPG Key pair?
Hello,
I recently created a key-pair with GnuPG to sign e-Mails and encrypt files. My public key was uploaded to the gnupg server and I made a backup of my private one (backup-private.asc). From time to time I fill my main drive with zeros and my concern is that if I only copy my ~/.gnupg/ folder I won't be able to use my keys once the system is reinstalled. What is the proper way to backup everything in order to be able to use my keys after a system re-install? |
You must use the gpg command.
You can use the following to create portable public secret key pair. Code:
gpg --export --armor [key] > my_gpg_pub-sec.asc |
All times are GMT -5. The time now is 05:14 AM. |