add "Restore from XOR" to Temporary Seed menu
What changed, and why it matters
This commit adds a new menu option called 'Restore Seed XOR' to the Temporary Seed menu on a COLDCARD device. It simply exposes an existing feature (restoring a seed from XOR-encoded parts) in a new place where users can reach it more easily. There is no code change to how seeds are stored, processed, or protected.
No security action needed. Treat as a normal feature/UI change during review.
Security signals we found
No security-relevant code change: only UI menu wiring
No new imports of cryptographic or sensitive modules
No changes to seed generation, storage, or derivation
Evidence from the diff
The diff adds one import of xor_restore_start and one MenuItem in EphemeralSeedMenu in shared/seed.py. The function already exists elsewhere (xor_seed.py) and is only being wired into the temporary/ephemeral seed UI. No cryptographic, storage, or privilege logic is modified.
Changed components
shared/seed.pyEphemeralSeedMenu UIInspect captured patch +2 / −0
diff --git a/shared/seed.py b/shared/seed.py
index 298146a..4b76031 100644
--- a/shared/seed.py
+++ b/shared/seed.py
@@ -1156,6 +1156,7 @@ class EphemeralSeedMenu(MenuSystem):
from actions import nfc_recv_ephemeral, import_xprv
from actions import restore_backup, scan_any_qr
from tapsigner import import_tapsigner_backup_file
+ from xor_seed import xor_restore_start
from charcodes import KEY_QR
import_ephemeral_menu = [
@@ -1179,6 +1180,7 @@ class EphemeralSeedMenu(MenuSystem):
MenuItem("Import XPRV", f=import_xprv, arg=True), # ephemeral=True
MenuItem("Tapsigner Backup", f=import_tapsigner_backup_file, arg=True), # ephemeral=True
MenuItem("Coldcard Backup", f=restore_backup, arg=True), # tmp=True
+ MenuItem("Restore Seed XOR", f=xor_restore_start),
]
return rv
Why this scored 17/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.