COLDCARD RNG incident the public record, collected and explained
Informational only, and this site never asks for your seed words. details

Informational only. This is an open source collection of what others have published about the incident, together with an explanation of it. It is not financial, security or legal advice, and not a substitute for professional advice about your own situation. It is not affiliated with, endorsed by, or speaking for Coinkite. Material is attributed and quoted as published; where sources disagree their scenarios are kept separate with their assumptions rather than reconciled into one answer. Everything is meant to be checked against the linked evidence rather than taken on trust. Act on your own judgement about a particular situation. Editorial standards and corrections.

Do not disclose recovery material to a website, form, message or support account. This site never asks for it, and contributions containing recovery words or private keys are not accepted.

COLDCARD firmware PR #693 patch

coldcard-firmware-pr-693-patch

https://github.com/Coldcard/firmware/pull/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 .

  1. Earliest copy held Current
    seen · Captured here 12,016 chars
    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 100644

    Excerpt only. The complete copy is held offline and backs quotations on this site. The original publication remains the canonical public source.

How to check this yourself

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.