kaitai-io / kaitai_struct_formats

Kaitai Struct: library of binary file formats (.ksy)
http://formats.kaitai.io
696 stars 201 forks source link

Is https://formats.kaitai.io/openpgp_message/ not complete? #693

Open alanccw opened 1 month ago

alanccw commented 1 month ago

Hi,

I check the format spec for PGP at https://formats.kaitai.io/openpgp_message/

And I find there is not definition of new_packet. Also the corresponding case is commented out:

      switch-on: new_packet_format
      cases:
        #true: new_packet
        false: old_packet

Does that mean the format is not complete?

GreyCat commented 1 month ago

@cugu might be able to provide more specific comment, but, judging from what I see — looks like indeed parsing of "new packet format" is not yet implemented. @alanccw, feel free to contribute if you want to improve that.

alanccw commented 1 month ago

@GreyCat

Thank you. I will try to do if possible.