tests(server): fixed for new integrity checks
Some checks failed
ci/woodpecker/pr/server-audit Pipeline was successful
ci/woodpecker/pr/server-vet Pipeline failed
ci/woodpecker/pr/server-lint Pipeline failed
ci/woodpecker/pr/server-test Pipeline was successful

This commit is contained in:
hdbg
2026-04-05 14:35:41 +02:00
parent b122aa464c
commit 00745bb381
3 changed files with 54 additions and 15 deletions

View File

@@ -102,13 +102,7 @@ async fn verify_integrity(
Error::internal("Integrity verification failed")
})?;
match result {
AttestationStatus::Attested | AttestationStatus::Unavailable => Ok(()),
AttestationStatus::NotAttested => {
error!(?pubkey, "Integrity verification failed: not attested");
Err(Error::internal("Database tampering detected"))
}
}
Ok(())
}