ui: update the Japan compliance number for Jadev2.0
What changed, and why it matters
This commit changes only the Japanese regulatory compliance number displayed on the Jade hardware wallet's legal/about screen. It selects one number for older Jade v1.1 devices and a different number for newer Jade v2.0 devices. There is no security-relevant change.
No security action needed; treat as routine compliance/UI maintenance.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff in main/ui/dashboard.c replaces a hard-coded string ‘211-210802’ with a board-type-conditional macro JP_COMPLIANCE_TEXT. For CONFIG_BOARD_TYPE_JADE_V1_1 it remains ‘211-210802’; otherwise it becomes ‘219-259339’. This is a UI label update for regional certification/compliance labeling and does not alter cryptography, authentication, communication, memory handling, or any security logic.
Changed components
main/ui/dashboard.c - legal/about page UI textInspect captured patch +6 / −1
diff --git a/main/ui/dashboard.c b/main/ui/dashboard.c
index ae4dc9c..3521dcf 100644
--- a/main/ui/dashboard.c
+++ b/main/ui/dashboard.c
@@ -764,7 +764,12 @@ static void make_legal_page(link_activity_t* page_act, int legal_page)
gui_set_align(node, GUI_ALIGN_RIGHT, GUI_ALIGN_MIDDLE);
gui_set_padding(node, GUI_MARGIN_ALL_DIFFERENT, 0, 4, 2, 0);
- gui_make_text(&node, "211-210802", TFT_WHITE);
+#if defined(CONFIG_BOARD_TYPE_JADE_V1_1)
+#define JP_COMPLIANCE_TEXT "211-210802"
+#else
+#define JP_COMPLIANCE_TEXT "219-259339"
+#endif
+ gui_make_text(&node, JP_COMPLIANCE_TEXT, TFT_WHITE);
gui_set_parent(node, hsplit);
gui_set_align(node, GUI_ALIGN_LEFT, GUI_ALIGN_MIDDLE);
gui_set_padding(node, GUI_MARGIN_ALL_DIFFERENT, 0, 0, 0, 4);
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.