tests(server): fixed for new integrity checks
This commit is contained in:
@@ -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(())
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user