src/backup/manifest.rs: fix signature (exclude 'signature' property)
This commit is contained in:
parent
0eaef8eb84
commit
62593aba1e
|
@ -189,6 +189,7 @@ impl BackupManifest {
|
||||||
let mut signed_data = data.clone();
|
let mut signed_data = data.clone();
|
||||||
|
|
||||||
signed_data.as_object_mut().unwrap().remove("unprotected"); // exclude
|
signed_data.as_object_mut().unwrap().remove("unprotected"); // exclude
|
||||||
|
signed_data.as_object_mut().unwrap().remove("signature"); // exclude
|
||||||
|
|
||||||
let canonical = Self::to_canonical_json(&signed_data)?;
|
let canonical = Self::to_canonical_json(&signed_data)?;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue