packet syntax

FuzzyDrawrings fuzzy_drawrings at protonmail.com
Thu Apr 12 09:30:45 CEST 2018


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.

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



More information about the Gnupg-users mailing list