How to import a secret subkey?

Adam Funk adam00f at ducksburg.com
Wed Jun 22 22:08:18 CEST 2005


> Date: Tue, 21 Jun 2005 09:11:51 -0400
> From: David Shaw <dshaw at jabberwocky.com>
>
> > I recently created a new subkey for a keypair that I use on two
> > machines, but I cannot get the subkey onto the second machine.  I
> > have tried gpg --export, --export-secret and --export-secret-subkey
> > on the first computer but gpg --import refuses to add the subkey on
> > the second one.
> >
> > How can I do this?
>
> You can't.  GnuPG does not currently support merging secret subkeys.
> To do it, you need to delete the secret key on the second machine and
> re-import the whole key.

That worked.  Thanks!

I think there used to be a restriction that "gpg --import secretkey.gpg" 
wouldn't work without setting a special option.  Is importing secret keys 
by accident no longer considered a risk?



More information about the Gnupg-users mailing list