problem with exporting subkeys
David Shaw
dshaw@jabberwocky.com
Thu Feb 28 20:25:02 2002
On Thu, Feb 28, 2002 at 04:40:42PM +0100, Janusz A. Urbanowicz wrote:
> David Shaw wrote/napisa?[a]/schrieb:
> > On Thu, Feb 28, 2002 at 03:50:15PM +0100, Janusz A. Urbanowicz wrote:
> > > David Shaw wrote/napisa?[a]/schrieb:
> > > > On Wed, Feb 27, 2002 at 06:17:59PM +0100, Janusz A. Urbanowicz wrote:
> > > >
> > > > > First question: why ALL my secret keys in the packet? I supposed only
> > > > > subkeys would go there.
> > > >
> > > > The structure of the secret primary key needs to still be there for
> > > > various things to work. However, the secret parts of the key are
> > > > gone. Compare the size of a --export-secret-key vs a
> > > > --export-secret-subkeys.
> > >
> > > Ok. But is there a way to export a _single_ subkey? I definitely need such
> > > option. Specyfying subkey ID after --export-secret-subkeys exports all
> > > subkeys (tested).
> >
> > The single subkey isn't usable without the primary key (or rather, the
> > primary key minus the secret parts of the key) attached, so exporting
> > just a subkey won't really be helpful. One way to do it would be to
> > export the key with all subkeys and then --edit-key and "delkey" the
> > subkeys you don't want.
>
> By 'single subkey' I mean a secret subkey plus the whole data structure
> required to maintain it. What I mean (and I would like to be able to) is
> ability to be able to eport single subkeys (plus the whole stuff needed to
> handle them) and not all at once. I'm not sure if I'm clear enough here.
Clear, but there is no current feature to do that. You can
approximate that feature by using export-secret-subkey on the whole
key and using the --edit menu on the whole key to delete any subkeys
you don't want.
You will end up with the empty primary key, and just the subkey you
wanted to keep.
David
--
David Shaw | dshaw@jabberwocky.com | WWW http://www.jabberwocky.com/
+---------------------------------------------------------------------------+
"There are two major products that come out of Berkeley: LSD and UNIX.
We don't believe this to be a coincidence." - Jeremy S. Anderson