Directly use postcard and handle deserialization
Closed this issue · 1 comments
robin-nitrokey commented
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.
sosthene-nitrokey commented
Done in 20ba7b7