better fitting UX message for MK versions
What changed, and why it matters
This commit only changes the on-screen title of a feature from 'Spending Policy' to 'Spend Policy' for older COLDCARD models that lack a full keyboard (non-QWERTY versions). It is a user-interface wording tweak with no security effect.
No security action needed; this is a cosmetic UX change.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The patch conditionally sets the menu title to ‘Spending Policy’ on QWERTY devices and ‘Spend Policy’ on older devices, and updates the corresponding test assertion. There are no code logic, cryptographic, access-control, or data-flow changes.
Changed components
shared/ccc.pytesting/test_sssp.pyInspect captured patch +2 / −2
diff --git a/shared/ccc.py b/shared/ccc.py
index e92d104..160a2cf 100644
--- a/shared/ccc.py
+++ b/shared/ccc.py
@@ -1089,7 +1089,7 @@ is locked into a special mode that restricts seed access, backups, settings and
First step is to define a new PIN code that is used when you want to bypass or \
disable this feature.
''',
- title="Spending Policy")
+ title="Spending Policy" if version.has_qwerty else "Spend Policy")
if ch != 'y':
# just a tourist
diff --git a/testing/test_sssp.py b/testing/test_sssp.py
index e043f30..9023ace 100644
--- a/testing/test_sssp.py
+++ b/testing/test_sssp.py
@@ -35,7 +35,7 @@ def setup_sssp(goto_sssp_menu, pick_menu_item, cap_story, press_select, pass_wor
title, story = cap_story()
# it is possible that PIN was set beforehand
- if title == "Spending Policy":
+ if title == ("Spending Policy" if is_q1 else "Spend Policy"):
assert "stops you from signing transactions unless conditions are met" in story
assert "locked into a special mode" in story
assert "First step is to define a new PIN" in story
Why this scored 15/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.