trussed-dev/trussed-rsa-backend

Directly use postcard and handle deserialization

Closed this issue · 1 comments

In light of the postcard upgrade issues with Trussed, I think we should make two changes:

  • Instead of using the postcard version re-exported by Trussed, use postcard directly.
  • Instead of letting the user deserialize the data, provide a RsaPublicParts::deserialize method. The serialization format should not be part of the public API but just an implementation detail of this crate.