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.

libngu PR #61 patch

libngu-pr-61-patch

https://github.com/switck/libngu/pull/61.patch

Organisation
switck
Evidence role
Repository patch
Published
not established
Source changes
0
Detected differences
0
Unreviewed
0
Copies held
1

Patch content for the current upstream 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,990 chars
    Extracted text as captured
    From a9922c7fd020a764645b6b6de05dcc0b45fb8e44 Mon Sep 17 00:00:00 2001
    From: scgbckbone <[email protected]>
    Date: Sat, 1 Aug 2026 16:11:09 +0200
    Subject: [PATCH 1/6] Replace Yasmarang with SHA-256 Hash-DRBG
    ---
     ngu/micropython.mk           |  3 +-
     ngu/ngu_tests/test_random.py | 23 ++++++++++--
     ngu/random.c                 | 71 ++++++++++++++++++++++--------------
     3 files changed, 64 insertions(+), 33 deletions(-)
    diff --git a/ngu/micropython.mk b/ngu/micropython.mk
    index baf48c8..db7d582 100644
    --- a/ngu/micropython.mk
    +++ b/ngu/micropython.mk
    @@ -23,7 +23,7 @@ CFLAGS_USERMOD += -DNGU_INCL_AES=1
     CIFRA_SRC = $(NGU_TOP_DIR)/libs/cifra/src
     CIFRA_CFLAGS = $(CFLAGS) -DFULL_FAT_ASSERT -I$(NGU_TOP_DIR)/libs/cifra/src \
     					-I$(NGU_TOP_DIR)/libs/cifra/src/ext
    -CIFRA_PARTS = hmac.o sha1.o sha3.o sha256.o sha512.o pbkdf2.o chash.o blockwise.o \
    +CIFRA_PARTS = hmac.o sha1.o sha3.o sha256.o sha512.o pbkdf2.o chash.o blockwise.o drbg.o \
     				aes.o modes.o
     CIFRA_OBJS = $(addprefix $(CIFRA_SRC)/, $(CIFRA_PARTS))
    @@ -43,4 +43,3 @@ PY_O += $(BUILD)/hack_lib_cifra.o
     endif
     SRC_USERMOD += $(addprefix $(USERMOD_DIR)/, $(MY_FILES))
    -
    diff --git a/ngu/ngu_tests/test_random.py b/ngu/ngu_tests/test_random.py
    index 7e3c292..9ab3c1c 100644
    --- a/ngu/ngu_tests/test_random.py
    +++ b/ngu/ngu_tests/test_random.py
    @@ -30,9 +30,24 @@
         print(" => %.0f %%" % covered)
         assert covered >= 97        # maybe bad luck
    -# api test only; can't verify results
    -ngu.random.reseed(123)
    -ngu.random.reseed(456)
    -ngu.random.reseed(0xffff_ffff)
    +# reseed API boundaries
    +for seed in (b'', bytes(31)):
    +    try:
    +        ngu.random.reseed(seed)

    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.