cose-wg / CBOR-certificates

Other
11 stars 7 forks source link

Byte string encoding of text string assumes even number of symbols #135

Closed gselander closed 11 months ago

gselander commented 1 year ago

Section 3.1

issuer / subject

If the text string contains only the symbols '0'-'9' or 'a'-'f', it is encoded as a CBOR byte string, prefixed with an initial byte set to '00'.

The byte string encoding assumes an even number of symbols.

emanjon commented 11 months ago

Fixed in master