github selfcustody/krux v26.11.0
Version 26.11.0

2 hours ago

A Note From Jean Do (@jdlcdl)

This is my second release since accepting the role of maintainer from @odudex.

The development cycle leading up to this release continues Krux's focus on hardening and bug-fixes which are so important at this time. We recommend that Kruxers update their Krux devices to this latest release as it includes important updates that harden PSBT and Output Descriptor processing -- scrutinizing more-than-ever-before what is sent in from supported watch-only wallet coordinators. See Installing Krux.

Beyond updating Krux devices, we also encourage adopting a heightened alert-level for all of your online-connected computers, smart-phones, and other IOT devices in your local-area-network. As is so prevalent in current culture, everything seems to be under attack since this past summer. A strategy of frequent updates to all of your devices -- or enabling auto-update if you can, will pay-off in the future. With each upgrade there is a chance of new bugs, but the IT industry as a whole has responded admirably to recent challenges. Bug-fixes, hardening, and very high-quality software will be the result in the years to come; be sure to stay updated in order to receive the benefits.

Because we expect the current trend of "everything is under attack" to continue, we are preparing to have more frequent Krux releases in the near to midterm future.

Changes

Features

  • add vertical input for Stackbit 1248.
  • now using a "hardened" still-unreleased version of embit. (see Appendix below)
  • now using latest cUR and k_quirc modules for faster QR exchange.

Bug Fixes and Hardening

  • screen reset after camera initialization on WonderMV boards.
  • reject empty numeric settings values.
  • keep nested segwit policy when loading single-sig descriptor.
  • keep origin-less taproot internal key when PSBT has global xpubs.
  • reject inconsistent pMofN QR fragments.
  • reject nested miniscript descriptors on wallet load.
  • derivation path corrected when switching from p2sh multisig.
  • tests assuring that PSBT forged ownership outputs are spends.
  • always keep full derivation path in wallet customize.
  • distant receive/change address warning.
  • visibility of informative embit descriptor errors.
  • take only valid final words in new-mnemonic.
  • don't re-arm auto shutdown timer on out-of-range input.
  • offer "from base32" in datum-tool only if Undo can restore.
  • refuse PSBTs with OP_RETURN outputs.
  • match origin-less taproot internal key by its full path.

DevOps Hardening

  • updates to lock tool dependencies after cca keys leak.
  • pin upstream kendryte toolchain to a commit.
  • create "build" dir when building releases.
  • check ktool checksums on every release build.

Improvements

  • base high-fee warning on spend + self-transfer.
  • QR-view transcription more faithful to right/bottom QR edges.
  • drop previous tx of segwit inputs from signed QR PSBTs.
  • keep current wallet key when descriptor load is declined.
  • correct P2WSH and P2SH-P2WSH input size in sats/vB estimate.
  • loading no-name multisig wallet backup files.
  • keep datum-tool data after wrong KEF key.
  • refuse emptied PBKDF2 iterations when encrypting.
  • require ENTER or TOUCH at firmware upgrade prompts.
  • Stackbit 1248 entry touch, navigation and escape improvements.
  • reject "insufficient" camera entropy at edge of "poor".

Documentation

  • typo correction to shannon entropy formula.
  • updated to reflect recent krux-installer usage.
  • how-to verify recent releases since jdlcdl is maintainer.
  • general refactor, removing dead calls, clearer imports.
  • KruxMobileApp is no-longer maintained -- old versions remain available in archival mode.

Thank You Contributors 🙏

Free and Open Source Software projects survive and thrive because of individual human-beings that dedicate their creativity, passion, experience and self-driven discipline to perform difficult, time-consuming and token-costly work -- just so that they can gift it to the world -- for free. While we too build on the shoulders of giants in FOSS, a project that fails to keep moving forward with continuous maintenance in an evolving world would quickly lose all of its value-proposition... regardless of great contributions in the past.

I am grateful and honored (not to mention safer while transacting) to collaborate alongside the contributors listed below. If you too value their contributions, please consider reaching-out to one or more contributors individually, tipping them to their lnaddress or on-chain, or donating fiat to foundations like OpenSats or HRF who have supported Krux and are setup to make it attractive for you to do the same.

Returning

Without a core team of contributors constantly pushing forward release-after-release, Krux could NOT exist. Thank you @bitcoisas, @joaozinhom, @kkdao, @Naman015, @notTanveer, @odudex, @qlrd and @tadeubas for your PRs, reviews, strong values and camaraderie.

New

Welcome -- and thank you to @BLVCK-MAMBA-6, @bota87, @habakan, @HarshPopat23, @knorrium, @raus7n and @solverbuilder, for your first contributions to Krux in this release.

Security Researchers

Since early August 2026, diligent security researchers have responsibly disclosed their reports to both @odudex and myself, and other DIY projects have also shared common findings that needed attention. The reports have ranged anywhere from AI-slop to exemplary text-book disclosures with meticulous analysis of exactly what the problem is, a proof-of-concept when-exploitable, and suggested code changes as a fix with tests that will pass once resolved. Many of the changes in this release were the result of reports sent-in raising an issue for the first time, or confirming an issue that was already reported.

For your precious time, your talents and skills, and for the token-budget you have allocated towards bettering Krux -- thank you to: 0xaudron (Kvazar_AI on X), Gleb Lizunov, iblitzc0de, Khadim (@KHADEVS), Felipe Knorr Kuhn, and others un-named. (list may grow as permission granted for each mention)


Appendix

Changes to embit's Unreleased "hardened" Branch

Similar to the development cycle leading up to Krux release v25.03.0 supporting WSH and Taproot Miniscript -- where existing Krux devs contributed to embit so that Miniscript COULD be supported, once again an immense amount of work has been contributed to update embit in the spirit of correctness, hardening and PSBTv2-support to enable more exotic features, hopefully to debut in Krux next year. All of this work exists in a branch named "hardened" which is progressing ahead of embit "master". While "hardened" is the working branch with frequent new contributions, another twin branch with the same byte-for-byte changes AND a cleaner commit history exists as "hardened_linear"; Krux pins its HEAD for this release. For clarity and completeness, that commit history is listed below.

  • 28cc84f: (tag: krux-v26.11.0) fix: taproot remains false for keys processed before tr-descriptor error
  • 85cf0d5: fix: misused uncompressed key in TapLeaf also remains not-taproot
  • 04bc71c: fix: misused uncompressed key in tr descriptor remains not-taproot
  • dff7e43: psbt: check redeem and witness scripts against the scriptPubKey
  • 5f1fb21: Ignore taproot key origins on other inputs
  • 390ddb8: psbt: reject key data and wrong merkle root length in taproot fields
  • e278325: Test the witness_utxo check on MicroPython
  • 4b2e15e: chore: update CODEOWNERS
  • 2da5dac: descriptor: reject uncompressed keys in tr() (closes #180)
  • 55db253: descriptor: reject uncompressed keys in wsh() and sh(wsh())
  • a2ab510: descriptor: reject uncompressed keys in wpkh() and sh(wpkh())
  • 38c58ed: Keep descriptor regressions compatible with the MicroPython shim
  • d8bf327: Keep unsatisfiable miniscript controls in type-only verification
  • 41c1a50: Cover wrapped miniscript conditions and document stricter validation
  • 540b659: Keep unsatisfiable andor controls in bare type verification
  • fe05fdf: Require both d and u properties for andor conditions
  • f15843b: Document descriptor checksum validation
  • 6dc07c5: Cover invalid descriptor checksums and correct positive fixtures
  • e9e1f28: Validate descriptor checksum suffixes
  • 0f68ca4: Compile Miniscript verify wrappers once
  • 33a512b: Use MicroPython-compatible decoding in BIP32 path tests
  • 6d4af25: fix: validate BIP32 derivation path indices
  • 5b4136a: tests: drop subTest from the tapscript leaf check
  • 7fc3618: chore: conflict resolution for PR-169 to "hardened".
  • 8b5e92f: tests: drop the multi case from the tapscript leaf check
  • fad85f3: descriptor: raise DescriptorError for a non-B tapscript leaf
  • e568177: descriptor: type-check tapscript leaves
  • a6ce5ba: chore: sync tests/tests/init.py w/ new test modules
  • 819af98: test: run the test suite on MicroPython 1.11 in CI
  • acb1cc0: Generalize comment
  • 49fb032: Minor clarification for macOS
  • 9fdea8e: Record BIP32 seed-length validation in the changelog
  • 7abb22b: Document the supported BIP32 seed range
  • 62d6ef6: Test BIP32 seed-length boundaries
  • 45a8a68: Validate BIP32 seed length before master key generation
  • 3c0e19f: chore: lint hygiene on tests/ folder
  • f9f2bb8: chore: commit hygiene for example folder
  • 6b7b281: fix(psbtview): write only new signatures to the signature stream
  • 829fa0a: test: keep the non-witness UTXO key in the length mismatch fixture
  • 6dfa18c: fix(psbt): drop a stale non_witness_utxo when update() adopts another cache
  • a21459a: fix(pset): accept PSETv2 fee outputs that omit PSBT_OUT_SCRIPT
  • 159e862: fix: bound nested reads of in-memory PSBT values by the value length
  • 9b33a67: fix: use exact reads in the Liquid transaction parser and honor segwit=False
  • 611cf51: changelog: legacy SIGHASH_SINGLE, PSBTv2 parsing and PSETView proof key fixes
  • bb1dba8: refactor: stop updating the parsed global counts in add_input and add_output
  • 07a431e: refactor: reuse the shared signing helpers in PSBTView.sign_input
  • 91e3c10: fix: match PSET rangeproof keys exactly in PSETView
  • 7f9686f: fix: check PSBT_GLOBAL_XPUB in PSBTView like PSBT.parse does
  • 6905eb9: fix: validate each PSBTv2 map right after it is parsed
  • 3c485cd: fix: reject duplicate keys in input and output maps in every mode
  • 19d7ffb: fix: reject an output index past the end of non_witness_utxo
  • ee3807d: fix: fail compressed PSBTv2 parsing on streams that can't seek
  • 527e34a: fix: blank legacy SIGHASH_SINGLE outputs the way core does
  • baf8e8d: ref(psbt): drop flag updates made redundant by the taproot signers
  • 6ea495a: fix(psbt): re-verify inputs after update() merges UTXO data
  • 628154d: fix(psbt): update v2 flags when signing directly with taproot keys
  • bc09352: fix(psbt): preserve signed locktime when adding v2 inputs
  • 6bc88c2: fix(psbt): verify witness UTXOs against authenticated outputs
  • 0e0e914: fix(psbtview): stream deferred PSBTv2 global values
  • 3937ff0: fix(psbt): bound the taproot leaf hash count before reading leaves
  • bdcb788: fix(psbt): pass the PSBT version through PSBTScope.read_from
  • 52883cc: changelog: taproot sighash, zero-input PSBT and PSET asset fixes
  • e5e6996: fix(psbt): parse PSBTv0 unsigned transactions with no inputs
  • 3cd810c: fix(transaction): compute BIP-341 sighashes correctly for ANYONECANPAY and SINGLE
  • d972fc5: fix(psbt): close gaps found reviewing the hardening series
  • 76bbf90: chore(psbtview): keep the global-tx bound check and scope walk mypy-clean
  • 1d7166d: changelog: PSBT hardening follow-ups
  • 4a36c62: test(psbt): run the BIP-370 vectors through PSBTView and compare signers by bytes
  • 12ce2e0: perf(psbtview): hash prevouts, sequences and outputs in one pass per view
  • 99b69fc: test(psbt): hold PSBT_IN_NON_WITNESS_UTXO to its declared length
  • c2b83c2: fix(psbt): align PSBT and PSBTView on locktime, key order, key-path sigs and errors
  • ddadb23: fix(psbtview): reject trailing data and count/map mismatches when viewing
  • e92934c: fix(psbt): report every malformed PSBT as PSBTError
  • 7cc5ce2: fix(pset): sign PSETv2 with the BIP-370 locktime and keep a zero sequence
  • 8af2113: fix(psbtview): match PSBTv2 scope fields exactly and validate scopes like PSBT
  • 8a2f626: changelog: add PSBTv2 support entry
  • d9828a2: ref(psbt): extract taproot key-path signature storage into _sign_taproot_keypath
  • 24d4b59: fix(psbt): correctness, RAM fixes in PSBTv2 parsing paths and revert signed byte helpers
  • 9577f0c: fix(psbt): close PSBTv2 global-field validation gaps left by upstream rebase
  • 0b81ab3: fix(psbt): dedupe the BIP-370 TX_MODIFIABLE update between PSBT and PSBTView
  • 31ac982: feat(BIP-370): PSBTv2 support
  • 2b375a3: (HEAD -> master) parsing: require empty scriptSigs in the global tx, walk it once in view()
  • ff98e0f: parsing: reject short reads and bound PSBT values
  • eb6104f: (tag: v0.8.2) bump version and update CHANGELOG.md

Don't miss a new krux release

NewReleases is sending notifications on new releases.