veraison / corim

CoRIM and CoMID manipulation library and CLI
Apache License 2.0
9 stars 7 forks source link

`cocli corim display` should be able to process unsigned CoRIMs too #49

Open thomas-fossati opened 2 years ago

thomas-fossati commented 2 years ago

If I try to use cocli to display an unsigned CoRIM:

> cocli corim display -f my-unsigned-corim.cbor -v

I get: "Error: error decoding signed CoRIM from my-unsigned-corim.cbor: failed CBOR decoding for COSE-Sign1 signed CoRIM: cbor: cannot unmarshal map into Go value of type cbor.RawTag"