Implement supervised rootless network readiness
This commit is contained in:
parent
407b75b1ff
commit
ba6a075839
1 changed files with 2917 additions and 54 deletions
|
|
@ -275,6 +275,18 @@ pub fn accept_network_readiness(
|
|||
})
|
||||
}
|
||||
|
||||
/// Validates Runtime Supervisor attestation before the sandbox-view probe is available.
|
||||
///
|
||||
/// # Errors
|
||||
/// Returns an error for any identity, observation, policy, or process mismatch.
|
||||
pub fn validate_network_attestation(
|
||||
policy: &CanonicalDerivedNetworkPolicy,
|
||||
expectation: &ReadinessExpectation<'_>,
|
||||
attestation: &NetworkReadinessAttestation,
|
||||
) -> Result<(), NetworkValidationError> {
|
||||
validate_attestation(policy, expectation, attestation)
|
||||
}
|
||||
|
||||
/// Revalidates persisted readiness evidence against current generation authority.
|
||||
///
|
||||
/// # Errors
|
||||
|
|
|
|||
Loading…
Reference in a new issue