moving gpg to another PC

Nic Ferrier nferrier@tapsellferrier.co.uk
Mon May 6 18:49:02 2002


"Leigh S. Jones, KR6X" <kr6x@kr6x.com> writes:

> Try this: 
> source-machine $ gpg -a -o secretkey.asc --export-secret-key 'X' 
> source-machine $ gpg -a -o publickey.asc --export 'X' 
> source-machine $ scp *key.asc  dest-machine:/myhomedir 
>  
> On the destination machine, tickle gpg until it reports creation 
> of the keyrings, then 
>  
> dest-machine $ gpg --allow-secret-key-import --import secretkey.asc 
> public.key 

I presume you mean:

dest-machine $ gpg --allow-secret-key-import \
                    --import secretkey.asc publickey.asc


> dest-machine $ gpg --import publickey.asc 


Here's what I get:

        gpg: Warning: using insecure memory!
        gpg: key ZZZZZZZZZ: no valid user IDs
        gpg: this may be caused by a missing self-signature
        gpg: Total number processed: 1
        gpg:           w/o user IDs: 1


It's the same error as before.


> dest-machine $ gpg --edit-key "X" 
> Command> uid1 
> ... 
> Command> trust 
> ... 
> Your decision? 5 
> ... 
> Command> sign 
> Really for sure? You can't be serious, please reconsider... Danger Will 
> Robinson! y 
> Oh the humanity... What a world... 
> Command> save 

One can't run edit-key until the public key is imported, I get this
error message:

      gpg (GnuPG) 1.0.6; Copyright (C) 2001 Free Software Foundation, Inc.
      This program comes with ABSOLUTELY NO WARRANTY.
      This is free software, and you are welcome to redistribute it
      under certain conditions. See the file COPYING for details.

      gpg: Warning: using insecure memory!
      gpg: key ZZZZZZZZ: secret key without public key - skipped
      gpg: X: user not found



Nic