Re: Moving GPG Keys Between Computers

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

 



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: pgpBHDOz7bRnx.pgp
Description: PGP signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux