#4 Make `BlockMetaSecrets` encryption lazy.

Deschideți
deschis 2 ani în urmă cu mcarr · 0 comentarii

Manually implement the Serialize trait for BlockMetaBody so that the secrets field can be lazily updated upon serialization if the secrets_struct field has been modified. In order to detect modifications, a new field with the serde(skip) attribute needs to be added to BlockMetaBody to store the hash of BlockMetaSecrets that was computed just after decryption.

Manually implement the Serialize trait for BlockMetaBody so that the secrets field can be lazily updated upon serialization if the secrets_struct field has been modified. In order to detect modifications, a new field with the serde(skip) attribute needs to be added to BlockMetaBody to store the hash of BlockMetaSecrets that was computed just after decryption.
Autentificați-vă pentru a vă alătura acestei conversații.
Nu există Milestone
Fără destinatar
1 Participanți
Se încarcă...
Anulare
Salvează
Nu există încă niciun conținut.