Closed robin-nitrokey closed 1 year ago
Actually we should use trussed_rsa_alloc::RsaPublicParts::(de)serialize
rather than postcard directly. Maybe even trussed-rsa-alloc
could wrap the RsaPublicParts in a newtype to hide the serde implementation.
This is already done by this PR (that’s what I meant with “use the public wrapper”). But there is no matching mechanism for the private key injection AFAIS so we have to use postcard
there.
Ah, must have missed that. Updated.
Why didn't the pipeline run?
I think it ran (Pipeline #19494) but the checkmarks are missing.
I triggered it manually
Yes, but there’s also a pipeline that was triggered by sync-github.
Instead of using Trussed’s re-exports of postcard that will be removed in Trussed 0.2.0, we use the public and stable serialization helper methods.