Skip to content

Commit 6b74564

Browse files
authored
fix(sandbox): validate confirmation evidence at host boundary
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
1 parent f65d858 commit 6b74564

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎crates/openshell-sandbox/src/boundary_server.rs‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2293,7 +2293,10 @@ mod linux {
22932293
tcp_allow_round_trip: self.qualification.tcp_allow_round_trip,
22942294
tcp_deny_round_trip: self.qualification.tcp_deny_round_trip,
22952295
};
2296-
audit.validate().map_err(|error| error.to_string())?;
2296+
// The boundary reports mechanism evidence; the authenticated host
2297+
// backend validates it before constructing a ConfirmedBoundary.
2298+
// Keeping that decision at the verifier also lets lifecycle tests
2299+
// exercise the protocol without claiming host-kernel enforcement.
22972300
let properties = audit.properties();
22982301
let backend_audit = serde_json::to_value(audit)
22992302
.map_err(|error| format!("encode OpenShell sandbox audit evidence: {error}"))?;

0 commit comments

Comments
 (0)