Results 1 to 3 of 3
Thread: GnuPG: I want my private key!
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Jun 2007
GnuPG: I want my private key!
I've been reading lately about GnuPG and how I can use it to sign and encrypt data. I know the importance of my passphrase, and that I should not forget it. Ever. That's okay. But what does happen if my box crashes? Can I get my private key back? I've read a lot about exporting my public key and publishing it somewhere. It wouldn't be a pain to get it back after all. Everyone *should* have a copy.
So, is there a way I can "store away" my private key in a way I could later use it if necesary? Is there some sort of --export-private-key I might have missed? Or should I just take all my files in ~/.gnupg and store them appart?
Thanks everyone for wasting your time with my newbie problems
- Join Date
- Apr 2004
gpg --export-secret-keys > secret.keys
Let us know how you get on,
Chris...To be good, you must first be bad. "Newbie" is a rank, not a slight.
I keep a backup of my private keys, public keys, and ownertrust db on a usb drive in a secure area.
Be really careful that you keep your private key in a safe place. Do not publish it or put it somewhere where others will have access to it.
As mentioned, manpages for gpg(1) and the following URL are your friends.
Documentation Sources - GnuPG.org