Integrate independent signed Windows clocks with native Linux lease guards
Rust development slice / linux (push) Failing after 6s

This commit is contained in:
2026-11-15 10:26:24 +01:00
parent 6ddfc95fff
commit 09f7e5af84
13 changed files with 1093 additions and 37 deletions
+3 -1
View File
@@ -881,7 +881,8 @@ impl<V: Ed25519Verifier> HelperSync<V> {
) -> bool {
let result = (|| -> Result<bool> {
guard.check(db)?;
let now = clock.now()?;
let reading = clock.reading()?;
let now = reading.own_wall;
let Some(lease) = &self.lease else {
return Ok(false);
};
@@ -899,6 +900,7 @@ impl<V: Ed25519Verifier> HelperSync<V> {
&& meta.decision == Some(lease.decision_id)
&& generation == lease.generation
&& now < lease.until
&& reading.upper < lease.until
&& now >= self.born
&& boot.current_boot()? == lease.boot_id
&& ledger_fingerprint(db)? == lease.fingerprint