Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,21 @@ tag: the USB `bcdDevice` build counter (bumped on every behavior change), and

## [Unreleased]

### Added

- **The `display` flavor builds for the V2 board's CST3530 touch controller.**
Waveshare's RP2350-Touch-LCD-2.8 moved its touch IC from a CST328 at `0x1A`
to a CST3530 at `0x58` in boards shipped after 2026-10-14. The two share the
panel, the pins and the reset line, so the old image drew correctly and then
ignored every touch. `DISPLAY_TP_CHIP=cst3530` selects the new driver, which
differs in three places: the I2C address, four-byte register addressing, and
a 9-byte report block at `0xD0070000` where the CST328 had a 7-byte one at
`0xD000`. The default stays `cst328`, so an existing board builds the same
image as before.
- `bcdDevice` moves to **0x09DC**: the display flavor gains a second touch
driver. Images built without `--features display` are otherwise unchanged,
but the counter is shared by every board, so they report the new build too.

### Fixed

- `rsk` recognizes PC/SC readers carrying the firmware's `(rs-key-0001)` USB
Expand Down
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion assurance/bundle/SEC-FIDO-001.toml
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ c_mac_flag = "no_authorization_bypass_begin_mac_is_the_flag SUCCESSFUL, 233 s
gate_ghost = "ghost-gate: ok — 21 action(s) record NoAuthorizationBypass over 24 route(s), consulting 11 guard(s) — this slice's own row, and the ledger behind it is `assurance/ghost_actions.toml`; the invariant the gate is fixed to at module level is this property's"
gate_ledger = "token-refinement-gate: GREEN keys=2 api=11 volatile=11/10 persistent=14/5 outcomes=7/6 walk=4 softlock=12 window=2 testonly=1 — the token axes this slice owns: the walk, soft-lock and window sites are held against their tags there and nowhere else"
gate_assumption = "5 standing assumption(s) AlwaysUvShipped TRUE=5 FALSE=91 ForceChangeModelled TRUE=3 FALSE=93 PowerOnClearsScratch2 TRUE=11 FALSE=4 RekeyOrderModelled TRUE=2 FALSE=13 WidePerms TRUE=3 FALSE=93 — re-derived, not edited, and the rot this time is the mirror of last time's. The earlier line went stale in the ASSIGNMENT while the total held; this one went stale in the TOTAL as well — `RekeyOrderModelled` joined the registry and `PowerOnClearsScratch2`'s TRUE arm grew by the two `Historical_Boot*` configurations that carry it — so both halves moved at once, and it was the pair rule that saw it, because the total is a bare integer and the bare-integer rule matches it anywhere in the derived line"
gate_matrix = "matrix-gate: ok — 40 P0-family properties × 31 build configurations = 1240 cells (37 covered, 143 equivalent, 0 conditional, 106 out-of-scope, 954 gap) — UNCHANGED by this slice, and the reason is recorded in the firmware-always-uv settling question"
gate_matrix = "matrix-gate: ok — 40 P0-family properties × 32 build configurations = 1280 cells (37 covered, 143 equivalent, 0 conditional, 106 out-of-scope, 994 gap) — UNCHANGED by this slice, and the reason is recorded in the firmware-always-uv settling question"
gate_registry = "SEC-FIDO-001 NoAuthorizationBypass BOUNDED cfgs=50 mut=12 co=12 kani=4 fuzz=0 rust=2 test=0 — `cfgs` counts the configurations CHECKING this invariant, which is not evidence about it; `mut` and `co` are the mutants that redden it and the code twins that were killed, and the freshness axis carries what a growing `cfgs` costs. Re-derived: the count this line used to carry was one short"

# ---- 6. Raw artifact or log --------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion assurance/bundle/SEC-FIDO-002.toml
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ s_display_gap = "the `display` build is the other open direction and it is the R
gate_ghost = "ghost-gate: ok — 21 action(s) record NoAuthorizationBypass over 24 route(s), consulting 11 guard(s) — and the name it holds is a SIBLING's: `scripts/ghost_gate.py` fixes `INVARIANT` to `NoAuthorizationBypass` at module level, so this property's own ghost, which has two writers, is held by no route ledger and only by its mutants' verdict ratchet"
gate_ledger = "token-refinement-gate: GREEN keys=2 api=11 volatile=11/10 persistent=14/5 outcomes=7/6 walk=4 softlock=12 window=2 testonly=1 — the ledger owns the token axes and none of the tagged owners this bundle names is in it; transcribed because the roster rule demands every gate line whether or not this property moved it"
gate_assumption = "assumption-gate: 5 standing assumption(s) AlwaysUvShipped TRUE=5 FALSE=91 ForceChangeModelled TRUE=3 FALSE=93 PowerOnClearsScratch2 TRUE=11 FALSE=4 RekeyOrderModelled TRUE=2 FALSE=13 WidePerms TRUE=3 FALSE=93 — three of the five have their TRUE arm run against this property, in AlwaysUv.cfg, PermWide.cfg and ForceChange.cfg, which is one more than either predecessor bundle can say; PowerOnClearsScratch2 and RekeyOrderModelled are the two that do not, because both live in RSKeyBootHardening and the overlap with the configurations checking this invariant is empty. Re-derived after `RekeyOrderModelled` entered the registry: it moved the roster without moving that overlap"
gate_matrix = "matrix-gate: ok — 40 P0-family properties × 31 build configurations = 1240 cells (37 covered, 143 equivalent, 0 conditional, 106 out-of-scope, 954 gap) — UNCHANGED by this bundle: a recorded model tier, a bounded tier and a host-test slice build no image, so nothing here settles a cell. This property owns four of those out-of-scope cells and they are the only ones in its row"
gate_matrix = "matrix-gate: ok — 40 P0-family properties × 32 build configurations = 1280 cells (37 covered, 143 equivalent, 0 conditional, 106 out-of-scope, 994 gap) — UNCHANGED by this bundle: a recorded model tier, a bounded tier and a host-test slice build no image, so nothing here settles a cell. This property owns four of those out-of-scope cells and they are the only ones in its row"
gate_registry = "assurance-gate: SEC-FIDO-002 BOUNDED, cfgs=42 mut=5 co=5 kani=2 fuzz=0 rust=2 test=0 — and `rust=2` is this bundle's first finding: `assurance_gate.grep_word` returns `f.name`, so the axis for this property is the list `['presence.rs', 'presence.rs']`, two entries carrying the SAME string, one of which holds three genuine `Refines` tags and the other none. `kani=2` undercuts a proof file of seven harnesses, two of them the invariant's clauses and two more their non-vacuity guards"

# ---- 6. Raw artifact or log --------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion assurance/bundle/SEC-FIDO-003.toml
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ f_fuzz = "1, and it is one FILE. `fuzz/fuzz_targets/fido_session.rs:1430-1433` a
gate_ghost = "ghost-gate: ok — 21 action(s) record NoAuthorizationBypass over 24 route(s), consulting 11 guard(s) — unchanged by this bundle and transcribed because the roster demands every gate line. The ghost THIS property is about is a second name in the same mechanism: TokenBypass, SetPinWrite, ChangePinWrite and CmBeginViaPpuat write it, and no gate derives that count at all"
gate_ledger = "token-refinement-gate: GREEN keys=2 api=11 volatile=11/10 persistent=14/5 outcomes=7/6 walk=4 softlock=12 window=2 testonly=1 — the ledger owns the token axes and this property is a token property, yet none of its six tagged owners is in any of the six axes: the ledger is about who WRITES the token record and this invariant is about what a write must leave behind"
gate_assumption = "assumption-gate: 5 standing assumption(s) — AlwaysUvShipped, ForceChangeModelled, PowerOnClearsScratch2, RekeyOrderModelled and WidePerms. Three of the five are checked BOTH WAYS against this invariant, which is more than most of the registry has, and the other two are checked on neither arm by any configuration that checks this property. The per-constant TRUE/FALSE arm counts of the same line are deliberately NOT transcribed, for the reason gate_registry gives about `cfgs` and with a measurement behind it: they are a denominator over the whole configuration roster, they moved twice while this bundle was being written as a sibling slice's `PermWideMut_*` family arrived in the working tree, and the same movement has already turned this exact leaf RED on both bundles that were committed before it. Which arms this property's evidence rides on is stated in the method table by CONFIGURATION, which cannot drift with the roster. AND THE PRICE OF THAT CHOICE IS NOW MEASURED: dropping the arm counts leaves this leaf one bare integer, and the bare-integer rule looks for it ANYWHERE in the derived line — so when `RekeyOrderModelled` took the total to five, the `4 standing assumption(s)` that stood here stayed GREEN off `PowerOnClearsScratch2 FALSE=4` while the ten sibling bundles went red, and it was repaired by hand rather than by the gate. A transcription carrying fewer numbers is not a safer transcription, it is a less-checked one"
gate_matrix = "matrix-gate: ok — 40 P0-family properties × 31 build configurations = 1240 cells (37 covered, 143 equivalent, 0 conditional, 106 out-of-scope, 954 gap) — UNCHANGED by this bundle: a model check and two proofs read no board preset and no flash geometry, so nothing here settles a cell. This property's own row is the widest claim in the family, and it is `equivalent` on three columns and `out-of-scope` on none"
gate_matrix = "matrix-gate: ok — 40 P0-family properties × 32 build configurations = 1280 cells (37 covered, 143 equivalent, 0 conditional, 106 out-of-scope, 994 gap) — UNCHANGED by this bundle: a model check and two proofs read no board preset and no flash geometry, so nothing here settles a cell. This property's own row is the widest claim in the family, and it is `equivalent` on three columns and `out-of-scope` on none"
gate_registry = "assurance-gate: SEC-FIDO-003 NoTokenAfterInvalidation BOUNDED mut=7 co=6 kani=2 fuzz=1 rust=3 test=0 — the `cfgs` figure of the same line is deliberately not transcribed, because it is a live glob over `formal/*.cfg` that a sibling slice's in-flight configurations moved twice while this bundle was written, and because a configuration NAMING an invariant is not one asserting it. Of the six above, the two a reader will over-read are `co` and `rust`. `co=6` against `mut=7` is not a hole: the seventh switch is `unreachable` at the CODE level with the measurement recorded. `rust=3` counts FILES and not tags: there are 6 tags, and the one owner that carries none sits in a file already counted, so the column cannot see it"

# ---- 6. Raw artifact or log --------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion assurance/bundle/SEC-FIDO-004.toml
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ k_absent = "no bounded proof, no fuzz target and no tests/*.py exercises this in
gate_ghost = "ghost-gate: ok — 21 action(s) record NoAuthorizationBypass over 24 route(s), consulting 11 guard(s) — unchanged by this bundle, and transcribed because the roster rule demands every gate line whether or not this property moved it. It is also the line that does NOT cover this property, for the reason `g_ghost_ledger` gives"
gate_ledger = "token-refinement-gate: GREEN keys=2 api=11 volatile=11/10 persistent=14/5 outcomes=7/6 walk=4 softlock=12 window=2 testonly=1 — the ledger owns the session token's axes, and the persistent grant is not one of them, so none of the production sites this bundle enumerates appears in it"
gate_assumption = "assumption-gate: 5 standing assumption(s) AlwaysUvShipped TRUE=5 FALSE=91 ForceChangeModelled TRUE=3 FALSE=93 PowerOnClearsScratch2 TRUE=11 FALSE=4 RekeyOrderModelled TRUE=2 FALSE=13 WidePerms TRUE=3 FALSE=93 — three of the five have an arm that asserts this invariant, which is more than most MODELLED-ONLY rows have; PowerOnClearsScratch2 and RekeyOrderModelled both live in RSKeyBootHardening and the overlap with the configurations checking this one is empty for each"
gate_matrix = "matrix-gate: ok — 40 P0-family properties × 31 build configurations = 1240 cells (37 covered, 143 equivalent, 0 conditional, 106 out-of-scope, 954 gap) — UNCHANGED by this bundle: a model check, a review and a host-test slice read no board preset and no flash geometry, so nothing here settles a cell"
gate_matrix = "matrix-gate: ok — 40 P0-family properties × 32 build configurations = 1280 cells (37 covered, 143 equivalent, 0 conditional, 106 out-of-scope, 994 gap) — UNCHANGED by this bundle: a model check, a review and a host-test slice read no board preset and no flash geometry, so nothing here settles a cell"
gate_registry = "assurance-gate: SEC-FIDO-004 NoAccessibleSecretWithoutGate MODELLED-ONLY cfgs=39 mut=2 co=2 kani=0 fuzz=0 rust=2 test=0 — and every one of those numbers has a reading in this file. `rust` counts files that mention the name, not owners; `mut` counts the two invariant-isolating configurations, both of which fall on the same clause; `co` counts two code twins that patch one file between them; `kani` is correct rather than unfilled"

# ---- 6. Raw artifact or log --------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion assurance/bundle/SEC-FIDO-005.toml
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ m_matrix_cells = "docs/assurance-matrix.md:77 claims this property on four cells
gate_ghost = "ghost-gate: 21 action(s) record NoAuthorizationBypass over 24 route(s), consulting 11 guard(s) — unchanged by this bundle and transcribed because the roster rule demands every gate line whether or not this property moved it; the ghost register is about a different invariant entirely, and this property records no `viol` anywhere"
gate_ledger = "token-refinement-gate: GREEN keys=2 api=11 volatile=11/10 persistent=14/5 outcomes=7/6 walk=4 softlock=12 window=2 testonly=1 — the ledger owns the token axes, and not one of this property's owner sites is in any of them"
gate_assumption = "assumption-gate: 5 standing assumption(s) AlwaysUvShipped TRUE=5 FALSE=91 ForceChangeModelled TRUE=3 FALSE=93 PowerOnClearsScratch2 TRUE=11 FALSE=4 RekeyOrderModelled TRUE=2 FALSE=13 WidePerms TRUE=3 FALSE=93. Three of the five have BOTH arms checking this invariant — AlwaysUvShipped through AlwaysUv.cfg, WidePerms through PermWide.cfg and ForceChangeModelled through ForceChange.cfg — which is more than either existing bundle can say, and is also exactly what result.b_asserted_arms says is worth little here. Transcribed at the moment of writing and VOLATILE, and that prediction has now been paid twice over: this line moved twice while the bundle was being written, because formal/ was under concurrent edit and every generated configuration is a denominator in it, and it moved again afterwards when `RekeyOrderModelled` entered the registry and two `Historical_Boot*` configurations entered the roster"
gate_matrix = "matrix-gate: 40 P0-family properties × 31 build configurations = 1240 cells (37 covered, 143 equivalent, 0 conditional, 106 out-of-scope, 954 gap) — UNCHANGED by this bundle, and the per-property half of that row is in result.m_matrix_cells rather than here, because a number this line does not derive does not belong on it"
gate_matrix = "matrix-gate: 40 P0-family properties × 32 build configurations = 1280 cells (37 covered, 143 equivalent, 0 conditional, 106 out-of-scope, 994 gap) — UNCHANGED by this bundle, and the per-property half of that row is in result.m_matrix_cells rather than here, because a number this line does not derive does not belong on it"
gate_registry = "assurance-gate: SEC-FIDO-005 NoUnmanageableCredential MODELLED-ONLY cfgs=40 mut=3 co=3 kani=0 fuzz=0 rust=3 test=0 — and this bundle moves none of them. `cfgs=40` is still the finding rather than the evidence, for one reason now instead of two: twenty-nine of the forty are mutants of some other property that merely CHECK this one. The other reason is gone — one of the forty WAS a byte-identical copy of another and is not any more, so the forty are forty distinct configurations and the number did not have to move for the meaning to. `rust=3` counts files and not tags, so tagging bump_rp would move nothing and tagging reset.rs would move it by one"

# ---- 6. Raw artifact or log --------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion assurance/bundle/SEC-FIDO-006.toml
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ readme_stale = "formal/README.md:881 publishes three run counts for the three So
gate_ghost = "ghost-gate: ok — 21 action(s) record NoAuthorizationBypass over 24 route(s), consulting 11 guard(s) — unchanged by this bundle, and transcribed because the roster rule demands every gate line whether or not this property moved it. The ghost records a different invariant: no action in this module writes ResetNeverWeakensSurvivingState into `viol`, which is correct, because this property is a state predicate and not a step one"
gate_ledger = "token-refinement-gate: GREEN keys=2 api=11 volatile=11/10 persistent=14/5 outcomes=7/6 walk=4 softlock=12 window=2 testonly=1 — the ledger owns the pinUvAuthToken axes and none of this property's owners is in it; the reset family's own ledger is `formal/comutants.toml` and the tag grep, neither of which is a site ledger"
gate_assumption = "assumption-gate: 5 standing assumption(s) AlwaysUvShipped TRUE=5 FALSE=91 ForceChangeModelled TRUE=3 FALSE=93 PowerOnClearsScratch2 TRUE=11 FALSE=4 RekeyOrderModelled TRUE=2 FALSE=13 WidePerms TRUE=3 FALSE=93 — RE-DERIVED, and this time the roster did move. The line used to say all four denominators were unchanged between the two tiers, and `RekeyOrderModelled` plus the two `Historical_Boot*` configurations have since made that sentence false, which is the whole reason this leaf is derived rather than kept. The one that matters here is still the first: both arms of AlwaysUvShipped check this invariant, and the TRUE arm is the one on which its second clause cannot fail"
gate_matrix = "matrix-gate: ok — 40 P0-family properties × 31 build configurations = 1240 cells (37 covered, 143 equivalent, 0 conditional, 106 out-of-scope, 954 gap) — UNCHANGED by this bundle: a model check, a bounded proof and a review read no board preset and no flash geometry, so nothing here settles a cell"
gate_matrix = "matrix-gate: ok — 40 P0-family properties × 32 build configurations = 1280 cells (37 covered, 143 equivalent, 0 conditional, 106 out-of-scope, 994 gap) — UNCHANGED by this bundle: a model check, a bounded proof and a review read no board preset and no flash geometry, so nothing here settles a cell"
gate_registry = "assurance-gate: SEC-FIDO-006 BOUNDED, cfgs=40 mut=3 co=3 kani=1 fuzz=1 rust=3 test=1 — `test=1` is the only non-zero runtime column of the eleven and it counts a FILE, not a board run; `kani=1` counts harnesses whose name contains the snake form of the invariant, which the three clause harnesses do not, so the parent's proof column omits three of the four harnesses that are about it. Every clause row derives its own line beneath this one"

# ---- 6. Raw artifact or log --------------------------------------------------
Expand Down
Loading
Loading