Skip to content

Cambium 0.5.0

Choose a tag to compare

@TheCryptoDonkey TheCryptoDonkey released this 24 Sep 20:13
· 27 commits to main since this release
d0ea215

Phone unlock for a Heartwood that restarts locked.

A Heartwood on firmware 0.18.0-beta.17 or later that comes back locked after a power cut can ask this phone to unlock it. The notification names the board, why it restarted (power-on, brownout, watchdog), the network and the restart count, with the standing warning that anyone holding the board can make it ask. One tap and your screen lock unlock it. There is no server and no Google push involved.

  • The unlock key sits under a Keystore key that needs your screen lock for every use: your PIN, pattern or password, or a strong biometric if you use one (Android 10 and older: the biometric only). It signs nothing and is useless without the board's own flash.
  • Nothing names the phone on the wire. Cambium reads every lock message on its relays and matches locally; each unlock goes out from a throwaway key, to that board's own relays.
  • Setting up: tap Set up phone unlock on a paired signer, then enrol the code from Sapwood with a press on the board, and compare the six-character check code. Sapwood's panel is not out yet; until then heartwood-esp32's scripts/phone-unlock.mjs enrol-for does it over USB.
  • Gone quiet: with keep-warm on, Cambium says when a paired signer stops answering its scheduled checks.
  • The service restarts itself after an update; screens no longer sit under the status bar on Android 15+.

Verified on a GrapheneOS Pixel 10 Pro XL against a Heartwood V4: a real power cut, the prompt, one tap and the phone PIN, and the board unlocked. CI unit and emulator instrumentation tests are green. The README's phone unlock section states what a relay can still see.

SHA-256
9ccbf226e18036a57e6f402f81a55c7be7dd1986703af7e0581084e0a4e6d182 cambium-0.5.0.apk

AppVerifier

dev.forgesworn.cambium
9E:A1:88:EF:A9:01:5F:7E:7F:90:E1:88:8F:58:6F:52:7B:2A:0E:8A:6D:CD:B3:99:1E:41:FB:4F:14:EE:EF:C6