COLDCARD firmware PR #693 patch
coldcard-firmware-pr-693-patch
- Organisation
- Coinkite
- Evidence role
- Repository patch
- Published
- not established
- Source changes
- 0
- Detected differences
- 0
- Unreviewed
- 0
- Copies held
- 1
Patch content for the RNG error-flag detection and retry proposal. Kept separately from the conversation and review-state capture.
Every check is recorded, including checks that found no text change. A detected edit is therefore bounded between two checks. The publisher's exact save time is not observable from this record. Last checked .
This post is held twice: here, with this project's own note on why it matters, and again as part of the conversation captured at , which is polled for changes. Both copies are the same post; neither is a separate event.
Snapshot and diff bodies for this chain monitor are held in the local evidence archive but withheld from the public site because they can contain the addresses of people who published nothing themselves. Capture times and reviewed change summaries remain available below.
Held captures
-
Recovered from the Internet Archive rather than captured by this project. The row records that third-party provenance separately from captures made by this project.
What changed from the previous capture 0 lines
Extracted text as captured
From 81f56afed191e32a3a870d1c60c6f5171de1c378 Mon Sep 17 00:00:00 2001 From: scgbckbone <[email protected]> Date: Sat, 1 Aug 2026 13:12:55 +0200 Subject: [PATCH 1/3] bugfix: detect RNG_SR_SEIS and RNG_SR_SECS, retry safely, and fail closed on persistent faults --- releases/Next-ChangeLog.md | 2 +- shared/keyboard.py | 7 +++- shared/mempad.py | 7 +++- stm32/COLDCARD_MK4/rng.c | 74 ++++++++++++++++++++++++++++++-------- stm32/mk4-bootloader/rng.c | 56 ++++++++++++++++++++++------- 5 files changed, 117 insertions(+), 29 deletions(-) diff --git a/releases/Next-ChangeLog.md b/releases/Next-ChangeLog.md index 2bfd7e8b1..a1f1d1b19 100644 --- a/releases/Next-ChangeLog.md +++ b/releases/Next-ChangeLog.md @@ -4,7 +4,7 @@ This lists the new changes that have not yet been published in a normal release. # Shared Improvements - Both Mk and Q -- tbd +- Bugfix: Detect RNG_SR_SEIS and RNG_SR_SECS, retry safely, and fail closed on persistent faults. # Mk Specific Changes diff --git a/shared/keyboard.py b/shared/keyboard.py index b9296e98f..9f254d711 100644 --- a/shared/keyboard.py +++ b/shared/keyboard.py @@ -97,7 +97,12 @@ def _wait_any(self): def _start_scan(self): # reset and re-start scanning keys self.lp_time = utime.ticks_ms() - shuffle(self.scan_order) + try: + shuffle(self.scan_order) + except OSError: + # An RNG fault may reduce scan-order randomization, but must not + # prevent the keyboard from accepting input before login. + pass self._scan_count = 0 self.waiting_for_any = False diff --git a/shared/mempad.py b/shared/mempad.py index 661a0e5c9..e47343fb8 100644Excerpt only. The complete copy is held offline and backs quotations on this site. The original publication remains the canonical public source.
0 presentation-noise differences. Sidebar, ticker and other page chrome churn that our review classified as not being changes to what the source says.
The excerpts and plain unified diffs above show the text this project held and how it changed. To verify a quotation, compare it against the page itself or against the Internet Archive's copies, which are independent of this project.
Complete captures are held offline rather than mirrored here, so this page shows diffs and excerpts. If a quotation is ever disputed, the full copy can be produced. Ask.
Compare the screenshot or a quotation against the original while it is available.