Subject: [COSE] COSE wireshark dissector

From: Brian Sipos <[email-masked]>
Date: Wed, 19 May 2021 14:46:22 +0000

All,
In support of using COSE in some other contexts, I've extracted a COSE Wireshark dissector and made an upstream merge request [1]. If anyone else wants to test this out or finds it useful, please feel free to comment and/or thumbs up on that MR to indicate support for adding a new protocol to Wireshark. The current behavior is also registered with "media_type" table so usable with MIME/HTTP; there isn't currently a CoAP content-format table to register with.

I also created a little script to embed CBOR-diagnostic-encoded data into a trivial HTTP-request-framed PCAP file to make testing easier. This isn't specific to COSE at all and can be used to exercise Wireshark on any CBOR-based encoding with a "media_type" registration.

[1] https://gitlab.com/wireshark/wireshark/-/merge_requests/2983
[2] https://gitlab.com/BrianSipos/wireshark/-/blob/COSE-message/tools/generate_cbor_pcap.py