Transfer subkey to other keyring

Werner Koch wk at
Thu Jun 27 09:49:57 CEST 2013

On Wed, 26 Jun 2013 20:00, di44vq at said:

> Thanks Werner, I want to keep my primary key on a separate keyring
> (does this require putting subkeys under a different primary key?)

No.  We use a stub key instead.  The command is

  gpg --export-secret-subkeys KEYID >newkey.gpg

Run that command on a secure box.  On your everyday box make sure that
the secret KEYID does not exist and then import newkey.gpg.



Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.

More information about the Gnupg-users mailing list