Keyblock packet tree structure?

Werner Koch wk at
Mon Jul 28 18:17:17 CEST 2008

On Mon, 28 Jul 2008 17:34, george.davidescu at said:

> I was wondering if someone in the know could fill me in on what, in general
> terms, the structure of a keyblock in GPG looks like. I know it's a tree of

The keyblock is defined by OpenPGP (rfc4880).  As of now gpg uses this
very format to store the packets along with some metadata.  However this
is an internal implementaion detail of gpg.

> packets that diverges into one for the secret key and one for the public key
> component, but what's at the root? Just what the arrangement of

As per OpenPGP the very first packet is either a public or secret key



Die Gedanken sind frei.  Auschnahme regelt ein Bundeschgesetz.

More information about the Gnupg-users mailing list