packet syntax

edgar at pettijohn-web.com edgar at pettijohn-web.com
Thu Apr 12 13:59:56 CEST 2018


On Apr 12, 2018 2:30 AM, FuzzyDrawrings via Gnupg-users <gnupg-users at gnupg.org> wrote:
>
> Edgar Pettijohn wrote:
>
> > the first word is `99' which in binary would be 
> > `10011001'. I was expecting to encounter `11000110'.
>
> You were expecting the packet header to be written in the "new" format, but it is actually written in the "old" format (indicated by it beginning with "10" vs "11"). See RFC-4880 section 4.2.

This is what I thought I was seeing, but thought I read somewhere that gpg creates version 4 packets.  Thanks.
>
> Public key packets have a Tag ID of 6, and the "new" format isn't required unless the packet has a Tag ID greater than 15. 
>
> -fuzzy
>
> _______________________________________________
> Gnupg-users mailing list
> Gnupg-users at gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gnupg-users


More information about the Gnupg-users mailing list