pyeudiw.compat package

Submodules

pyeudiw.compat.pycose_cbor2 module

pycose compatibility with cbor2 >= 6.

cbor2 6 decodes fixed-length CBOR arrays as tuples and maps as frozendict; pycose 1.1.0 expects lists and plain dicts. See https://github.com/TimothyClaeys/pycose/issues/141

pyeudiw.compat.pycose_cbor2.apply_pycose_cbor2_compat() → None[source]

Patch CoseMessage.decode so tagged COSE arrays work with cbor2 6.x.

Module contents