You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Protocols ask/mk/status CBOR encoding don't meet Core CBOR determenistic encoding requirements. The order of keys in the map is as it is defined in the code (for example). The problem is that different order of CBOR map produces different hash that is used in message signatures, so other implementations have to support the non cacnonical order.
I suggest add map keys sorting in canonical order for MarshalCBOR.
The text was updated successfully, but these errors were encountered:
Protocols ask/mk/status CBOR encoding don't meet Core CBOR determenistic encoding requirements. The order of keys in the map is as it is defined in the code (for example). The problem is that different order of CBOR map produces different hash that is used in message signatures, so other implementations have to support the non cacnonical order.
I suggest add map keys sorting in canonical order for
MarshalCBOR
.The text was updated successfully, but these errors were encountered: