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
Previously, COSE keys could only be deserialized if the map entries were
in the correct order. With this patch, the deserialization is made more
robust (and also more concise) by introducing a helper struct,
RawPublicKey, that is used as an intermediate step during the
deserialization.
Fixes: trussed-dev#7
Same comment as in #8, CTAP2 canonical CBOR encoding form is required by the standard. Although the implementation may or may not be wrong for specific types.
The
Deserialize
implementations for the types in thecose
module assume a specific order of the elements of the map.Minimal example:
Expected:
Actual:
Side note: Why are the traits implemented manually and not derived?
The text was updated successfully, but these errors were encountered: