problem with exporting subkeys
    David Shaw 
    dshaw at jabberwocky.com
       
    Thu Feb 28 05:36:01 CET 2002
    
    
  
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.
> Second question: why GPG chokes on it?
Judging from the listing you posted, it seems you did
--export-secret-subkeys on a v3 key (mixed in with your v4 keys).  V3
keys do not work with --export-secret-subkeys, and in fact cause the
resulting file to be unusable.
I just committed a fix which makes --export-secret-subkeys ignore v3
keys.
David
-- 
   David Shaw  |  dshaw at 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
    
    
More information about the Gnupg-devel
mailing list