[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Moving GPG Keys Between Computers

Robert L Cochran wrote:
> One more question about my collection of gpg keys.
> I currently keep all keys on my Fedora 7 desktop. I want to move the
> keys to the Fedora 10 system on my (far newer) laptop. Am I right in
> assuming that all I need to do is to copy my .gnupg directory from
> the Fedora 7 desktop to the Fedora 10 laptop?

Yes.  That will work, as long the gnupg keyring format doesn't change.
(And at some point, it may.)

If/when that happens and you want to copy keys, you can always export
the keys on one computer, then import on the other.  For example:

old $ gpg --armor --export > public.asc
old $ gpg --armor --export-secret-keys > secret.asc
old $ gpg --export-ownertrust > trustdb

[...transfer key files to new computer...]

new $ gpg --import public.asc private.asc
new $ gpg --import-ownertrust trustdb

Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
Intaxication (n.) Euphoria at getting a tax refund, which lasts until
you realize it was your money to start with.

Attachment: pgpJun24Zr13i.pgp
Description: PGP signature

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]