How to import a secret subkey?

David Shaw dshaw at
Tue Jun 21 15:11:51 CEST 2005

On Tue, Jun 21, 2005 at 10:44:40AM +0100, Adam Funk wrote:
> 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.


More information about the Gnupg-users mailing list