mirror of
https://github.com/openai/codex.git
synced 2026-11-11 14:32:25 +00:00
Verify bundled bwrap in Bazel builds (#38494)
## Why Bazel builds did not embed the SHA-256 digest used to verify the bundled `bwrap` binary at launch. ## What changed - Strip the Bazel-built `bwrap`, generate its SHA-256 digest, and pass that digest to `codex-linux-sandbox` through a compiler environment file. - Report digest verification failures with exit code `8` instead of panicking. - Add a Bazel integration test that accepts the original bundled binary and rejects a tampered copy. GitOrigin-RevId: 224eeb6ae3d1bfb100e048b296f75fd8ba109581
This commit is contained in:
1 parent
45c9c74e29
commit
636e505c5c
7 files changed
+113
-3
No files matched your search
@@ -1,3 +1,4 @@
|
||||
// Aggregates all former standalone integration tests as modules.
|
||||
mod bundled_bwrap;
|
||||
mod landlock;
|
||||
mod managed_proxy;
|
||||
Reference in new issue
Block a user