omega-mv
Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.
Brought by drakestapleton
omega-mv / evidence / CAND1-TRUST-bbad5e4 / child-logs / t1_gate5_policy_sim.log
| 1 | NOTE: swTPM SIMULATION. This is never Machine 1 qualification. |
| 2 | NOTE: throwaway test keys only; no real TPM is touched. |
| 3 | INFO release floor N=1, signer A epoch=1, signer B epoch=2 |
| 4 | == current |
| 5 | PASS current: approved {N}, boot N: unsealed, secret byte-exact |
| 6 | == next (transition N -> N+1) |
| 7 | PASS next: boot N+1 under old set {N}: refused by TPM at tpm2_policyauthorize |
| 8 | PASS next: approved {N,N+1}, boot N+1: unsealed, secret byte-exact |
| 9 | PASS next: approved {N,N+1}, boot N still accepted: unsealed, secret byte-exact |
| 10 | == invalid |
| 11 | PASS invalid: unseal without any policy session: refused by TPM at tpm2_unseal |
| 12 | PASS invalid: manifest not in approved set: refused by TPM at tpm2_policyor |
| 13 | PASS invalid: Secure Boot off: refused by TPM at tpm2_policyor |
| 14 | PASS invalid: non-owner boot chain: refused by TPM at tpm2_policyor |
| 15 | PASS invalid: release set signed by undelegated key: refused by TPM at tpm2_policyauthorize |
| 16 | PASS invalid: tampered release-set signature: refused by TPM at tpm2_verifysignature |
| 17 | PASS invalid: control, restored signature accepted again: unsealed, secret byte-exact |
| 18 | == retire N (N+1 healthy) |
| 19 | PASS retire: raising the floor without operator authorization refused by TPM |
| 20 | PASS retire: release floor now N+1 |
| 21 | PASS retire: boot N+1 after retirement: unsealed, secret byte-exact |
| 22 | == rollback |
| 23 | PASS rollback: boot retired N under {N,N+1}: refused by TPM at tpm2_policynv |
| 24 | PASS rollback: boot retired N under old signed {N}: refused by TPM at tpm2_policynv |
| 25 | PASS rollback: floor counter cannot be written back (monotonic) |
| 26 | == rotation (signer A -> B: add, verify, exercise recovery, revoke) |
| 27 | PASS rotation: add, new signer B accepted: unsealed, secret byte-exact |
| 28 | PASS rotation: overlap, old signer A still accepted: unsealed, secret byte-exact |
| 29 | PASS rotation: B set with A delegation refused: refused by TPM at tpm2_policyauthorize |
| 30 | PASS rotation: recovery exercised before revoke: unsealed, secret byte-exact |
| 31 | PASS rotation: raising the signer floor without operator authorization refused by TPM |
| 32 | PASS rotation: revoked signer A refused: refused by TPM at tpm2_policynv |
| 33 | PASS rotation: signer B accepted after revoke: unsealed, secret byte-exact |
| 34 | == recovery (operator control only) |
| 35 | PASS recovery: operator-approved unseal of emergency-only state: unsealed, secret byte-exact |
| 36 | PASS recovery: replayed operator signature (stale nonce): refused by TPM at tpm2_policysigned |
| 37 | PASS recovery: signature by non-operator key: refused by TPM at tpm2_policyor |
| 38 | PASS recovery: normal path in emergency-only state: refused by TPM at tpm2_policynv |
| 39 | == negative controls (the harness can fail) |
| 40 | PASS control: object sealed to mutated policy refused by TPM |
| 41 | PASS control: mutated object refused on recovery path too |
| 42 | PASS control: allow() reports FAIL when the TPM refuses |
| 43 | SUMMARY pass=31 fail=0 (swTPM simulation, not Machine 1) |
| 44 | TRUST1_GATE5_POLICY_SIM: PASS |