What's the best way of keeping a PGP private key file generated by GnuPG?

I will just store my public key online, in Gmail, on many of my computers. Where/how best to protect and store the private key file?

link|improve this question

68% accept rate
feedback

4 Answers

up vote 2 down vote accepted

Use your favorite encryption software, or just leave it alone on your desktop somewhere or anywhere you want on your computer (assuming physical access to your computer is secured, there is little/no chance that someone will be able to get the key).

link|improve this answer
My question was actually how do I keep my private key safe, from natural disaster, hardware failure, data theft etc., so I can keep the key pair safe and useful, and be able to restore the key elsewhere. So I can't really assume my computer is physically safe. – Computist Jun 6 '11 at 1:41
Sorry, I didn't see that. The way to do it is either send it to yourself in an e-mail (encrypted preferably) or put it on a CD/USB/Floppy somewhere. – soandos Jun 6 '11 at 1:44
feedback

TL;DR a flash drive or a CD in a safe place.

Seeing as this is a security question, I would be very hesitant to entrust my private key to Google or any other major cloud service. Call me paranoid, but your PGP key is your signature. I hate to remind you of the simple, but with your PGP key I "am" you. Personally, I would back up my key across any/all computers I own and for good measure put a labeled CD or flash drive somewhere safe. (like a gun safe)

edit: oops, sorry @soandos had the same idea first.

link|improve this answer
feedback

I would store it in an encrypted format somewhere else. Options include on a truecrypt volume, in a keepass database, or what ever other form of encryption you prefer. Depending on how nervice you are about security will determine weather you would store the key in the cloud, but if I used strong encryption to encrypt the private key and was not protecting extremely sensitive data I would probably store it in gmail or dropbox.

link|improve this answer
feedback

If you go for storing your private keys online to some untrusted location, encrypt the keys themselves, also consider an additional level of protection like steganography (hide the keys in some media files like images).

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.