moving gpg to another PC
Mon May 6 17:50:01 2002
"Steve Butler" <firstname.lastname@example.org> writes:
> Looks like the best thing would be to export both your public and private
> key rings from the old box and import them into a fresh install of GnuPG on
> the new box. I tend to do that when moving between boxes that might have
> different flavors/versions/packages at the O/S level.
Hmm... I tried this approach. It didn't seem to work.
Here's what I did:
source-machine $ gpg --export-secret-key 'X' > secret.key
source-machine $ gpg --export 'X' > public.key
source-machine $ scp *.key dest-machine:/myhomedir
dest-machine $ gpg --allow-secret-key --import secret.key public.key
gpg: /myhomedir/.gnupg/secring.gpg: keyring created
gpg: /myhomedir/.gnupg/pubring.gpg: keyring created
gpg: key FD0EEEAD: secret key imported
gpg: key FD0EEEAD: no valid user IDs
gpg: this may be caused by a missing self-signature
gpg: Total number processed: 2
gpg: w/o user IDs: 1
gpg: secret keys read: 1
gpg: secret keys imported: 1
So that doesn't seem to work.
I could sign the public key but if I did how would I verify the
signature on the dest-machine? The dest-machine doesn't have a valid
secret/public key combination.
Should I seek a solution for this on the developer list?