We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4849410 commit 7573eb9Copy full SHA for 7573eb9
tough/src/lib.rs
@@ -796,6 +796,9 @@ async fn load_root<R: AsRef<[u8]>>(
796
}
797
798
799
+ datastore.remove("root.json");
800
+ datastore.create("root.json", &root).await?;
801
+
802
// TUF v1.0.16, 5.2.9. Check for a freeze attack. The expiration timestamp in the trusted root
803
// metadata file MUST be higher than the fixed update start time. If the trusted root metadata
804
// file has expired, abort the update cycle, report the potential freeze attack. On the next
0 commit comments