src/backup/manifest.rs: fix signature (exclude 'signature' property)

This commit is contained in:
Dietmar Maurer 2020-07-10 10:31:42 +02:00
parent 0eaef8eb84
commit 62593aba1e
1 changed files with 1 additions and 0 deletions

View File

@ -189,6 +189,7 @@ impl BackupManifest {
let mut signed_data = data.clone();
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)?;