What changed, and why it matters
This commit is a routine release preparation for the Specter DIY hardware wallet. The only meaningful change is updating an embedded version string from '0100900099' to '0101000099'. There are no security fixes, new features, or behavior changes visible in the diff.
No security action needed. Treat as a normal release/version-bump commit.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff shows a single-line change in boot/main/boot.py: the version string is bumped from ‘
Changed components
boot/main/boot.pybootloaderInspect captured patch +62 / −62
diff --git a/boot/main/boot.py b/boot/main/boot.py
index 831f34d..746e9e2 100755
--- a/boot/main/boot.py
+++ b/boot/main/boot.py
@@ -1,64 +1,64 @@
-# boot.py -- run on boot-up
-# can run arbitrary Python, but best to keep it minimal
-import pyb, os, micropython, time
-import sys
-
-# Clean sys.path from qspi
-# Shouldn't happen in production, but just in case.
-for p in sys.path:
- if "qspi" in sys.path:
- sys.path.remove(p)
-
-# power hold
-pwr = pyb.Pin("B15", pyb.Pin.OUT)
-pwr.on()
-
-version = "<version:tag10>0100900099</version:tag10>"
-
-# get i2c
-i2c = pyb.I2C(1)
-i2c.init()
-# start measurements
-if 112 in i2c.scan():
- i2c.mem_write(0b00010000, 112, 0)
-
-leds = [pyb.LED(i) for i in range(1,5)]
-# poweroff on button press
-def pwrcb(e):
- micropython.schedule(poweroff, 0)
-
-# callback scheduled from the interrupt
-def poweroff(_):
- # make sure it disables power no matter what
- try:
- for led in leds:
- led.toggle()
- # stop battery manangement
- if 112 in i2c.scan():
- i2c.mem_write(0, 112, 0)
- # sync filesystem
- os.sync()
- time.sleep_ms(300)
- finally:
- # disable power
- pwr.off()
- time.sleep_ms(300)
- # will never reach here
- for led in leds:
- led.toggle()
-
-pyb.ExtInt(pyb.Pin('B1'), pyb.ExtInt.IRQ_FALLING, pyb.Pin.PULL_NONE, pwrcb)
-
-# configure usb from start if you want,
-# otherwise will be configured after PIN
-# pyb.usb_mode("VCP+MSC") # debug mode with USB and mounted storages from start
-# pyb.usb_mode("VCP") # debug mode with USB from start
-# disable at start
-pyb.usb_mode(None)
-os.dupterm(None,0)
-os.dupterm(None,1)
-
-# inject version and i2c to platform module
+# boot.py -- run on boot-up
+# can run arbitrary Python, but best to keep it minimal
+import pyb, os, micropython, time
+import sys
+
+# Clean sys.path from qspi
+# Shouldn't happen in production, but just in case.
+for p in sys.path:
+ if "qspi" in sys.path:
+ sys.path.remove(p)
+
+# power hold
+pwr = pyb.Pin("B15", pyb.Pin.OUT)
+pwr.on()
+
+version = "<version:tag10>0101000099</version:tag10>"
+
+# get i2c
+i2c = pyb.I2C(1)
+i2c.init()
+# start measurements
+if 112 in i2c.scan():
+ i2c.mem_write(0b00010000, 112, 0)
+
+leds = [pyb.LED(i) for i in range(1,5)]
+# poweroff on button press
+def pwrcb(e):
+ micropython.schedule(poweroff, 0)
+
+# callback scheduled from the interrupt
+def poweroff(_):
+ # make sure it disables power no matter what
+ try:
+ for led in leds:
+ led.toggle()
+ # stop battery manangement
+ if 112 in i2c.scan():
+ i2c.mem_write(0, 112, 0)
+ # sync filesystem
+ os.sync()
+ time.sleep_ms(300)
+ finally:
+ # disable power
+ pwr.off()
+ time.sleep_ms(300)
+ # will never reach here
+ for led in leds:
+ led.toggle()
+
+pyb.ExtInt(pyb.Pin('B1'), pyb.ExtInt.IRQ_FALLING, pyb.Pin.PULL_NONE, pwrcb)
+
+# configure usb from start if you want,
+# otherwise will be configured after PIN
+# pyb.usb_mode("VCP+MSC") # debug mode with USB and mounted storages from start
+# pyb.usb_mode("VCP") # debug mode with USB from start
+# disable at start
+pyb.usb_mode(None)
+os.dupterm(None,0)
+os.dupterm(None,1)
+
+# inject version and i2c to platform module
import platform
platform.version = version
platform.i2c = i2c
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.