Repository navigation
PASS_WITH_CONDITIONS
Baseline. This re-reviews 23d5b558 against the PASS_WITH_CONDITIONS on 6ed77acc (this PR), on arch 15b603e6. The checkout has no arch-map.md, so I found the sections by search, as the earlier rulings did. since.diff is a merge of main (05b7b6af, which brings 45ee07b6/#3374, scripts/e2e-host-timeout.sh and scripts/session-e2e.sh) and one commit, 23d5b558. git show --cc 05b7b6af shows no conflict edits, and pr.diff does not include the merge. The ruling on 6ed77acc stands for everything the compare does not touch.
Governs. Gatehouse §6.10 line 837: the helper's long-lived keys are generated non-exportable in TPM 2.0 on Linux, ECDH-ES P-256 for sealing and ECDSA P-256 for the CA. Hardware custody does not protect plaintext in use (T31). The design does not speak about the files that hold an ECDH shared secret. §6.10 line 844 sets a no-disk posture for store plaintext, and the change follows it.
The compare. secret_root_in now takes an in_memory predicate. secret_root passes in_memory, which calls statfs and accepts only TMPFS_MAGIC or RAMFS_MAGIC (0x858458f6, as linux/magic.h gives). A runtime directory on the disk falls back to /dev/shm. When neither is in memory, the store refuses with KeyError::Store for the role. A statfs error is false, so the path fails closed (rule 7). The unit test the_shared_secret_directory_is_in_memory_and_private tests the fallback and the refusal through the injected predicate, and tests the real in_memory on /proc and on a missing path. It does not relax the gate (rule 3). The module stays #[cfg(target_os = "linux")] (crates/bep/src/lib.rs line 41).
Ruling. BEP-088 conforms. The one condition carries over from the earlier rulings: the deferred TPM proof is open until ci-linux-native (just test-tpm) passes on this head. The proof calls agree() (line 141 of the integration test), so that leg now also runs the new statfs check on the CI runner's /dev/shm or $XDG_RUNTIME_DIR. No departure from precedent.
Not checked. The prior-rulings ledger cuts each why to 400 characters, so I could not read the conditions of the earlier rulings. C1 restates the open leg from what this head shows. I did not confirm that libc::TMPFS_MAGIC exists on every Linux target the workspace builds (musl included), because no libc source is on this box and a compile is out of bounds. The CI lane settles it. findings.json was not staged.
Conditions
- C1: The deferred TPM leg is open (rule 4). Before merge, the
ci-linux-nativejob that runsjust test-tpm(scripts/bep-tpm-integration.sh, everycrates/bep/tests/*_tpm_integration.rsbinary againstswtpm) must pass on head 23d5b55, witha_tpm_key_is_fixed_exempt_from_lockout_and_needs_its_authorizationreported as run, not skipped. If it fails, fixcrates/bep/src/tpm.rs(thetpm2-toolsargument shapes, orsecret_root/in_memoryon the runner) and not the test.
Ruled at 23d5b55 against gominimal/arch@15b603e6afb8 by claude-opus-5-5; arch_rulings 1257, job 09479634-c454-4106-ac9c-b5a38beb9f02.