garage44.eu/jeroen/pinnacle

logclone: git clone https://garage44.eu/jeroen/pinnacle.git

cartopolis-agent · 2026-11-30T15:13:21Z

docs(roadmap): a paired device that moves its address is recognised
docs/roadmap.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/roadmap.md b/docs/roadmap.md
index 5d61179..79fbd0d 100644
--- a/docs/roadmap.md
+++ b/docs/roadmap.md
@@ -67,7 +67,7 @@ What is still missing for daily use, and the projects it will take, is in
 | Listening TCP sockets for programs (LISTEN_TCP: each accepted connection arrives as a channel); the self-check is knocked on from the host through QEMU's forwarded port | Done |
 | Display behind a virtio-gpu (2D): the framebuffer a resource the device scans out, every changed rectangle sent across (`FLUSH_SCREEN` from the display server), the screen's size from the device; ramfb kept for a QEMU without the module | Done (3D, virgl, needs a host GPU: later) |
 | Bluetooth Low Energy, own stack (`bt`): HCI over H4, L2CAP, ATT, GATT as client and server, as pure state machines; a simulated controller and air (`bt::sim`) for tests and for QEMU, whose serial port `cargo xtask` holds the other end of; the `bt` service advertises this device and serves its contact card; the Bluetooth app lists devices, reads what they tell, adds a Pinnacle nearby as a contact | Done (BR/EDR and audio over Bluetooth later; a board's controller over its UART) |
-| Pairing a Bluetooth device securely (`bt::smp`): LE Secure Connections, P-256 Diffie-Hellman, a six-digit number compared on both screens where both have one ("just works" with a device that has none, its side asked whether it may), the controller encrypting the link with the key agreed; each device paired with kept in the vault (`data:/bt/bonds`) and its link encrypted again on every connection with no question, paired devices first in the Bluetooth app whether nearby or not, Forget dropping one; a pairing asked by a device nearby while no app is open becomes a notification; the simulated air encrypts as a controller does (AES-CCM) and keeps what a listener hears, so the tests check nothing written after pairing crosses in the clear; the self-check pairs with the air's Pinnacle | Done (no legacy pairing, refused as unsafe; no passkey typed, so keyboards do not pair yet; no identity keys exchanged, so a device that changes its address is not recognised; GATT does not yet refuse unencrypted reads of what should be private; the P-256 multiplication is not constant time; tried only against the simulated air, not a real controller or phone) |
+| Pairing a Bluetooth device securely (`bt::smp`): LE Secure Connections, P-256 Diffie-Hellman, a six-digit number compared on both screens where both have one ("just works" with a device that has none, its side asked whether it may), the controller encrypting the link with the key agreed; each device paired with kept in the vault (`data:/bt/bonds`) and its link encrypted again on every connection with no question, identities handed over as they pair (each side's identity resolving key and fixed address), so a phone or watch that moves to a new private address is still the paired one, found and encrypted again with no new pairing (`cargo xtask bluetooth-demo`, s933); paired devices first in the Bluetooth app whether nearby or not, Forget dropping one; a pairing asked by a device nearby while no app is open becomes a notification; the simulated air encrypts as a controller does (AES-CCM) and keeps what a listener hears, so the tests check nothing written after pairing crosses in the clear; the self-check pairs with the air's Pinnacle | Done (no legacy pairing, refused as unsafe; no passkey typed, so keyboards do not pair yet; Pinnacle itself keeps its public address rather than moving to private ones; GATT does not yet refuse unencrypted reads of what should be private; the P-256 multiplication is not constant time; tried only against the simulated air, not a real controller or phone) |
 | Ending programs: SPAWN gives a handle that can end the program (KILL); the status bar's close button ends the app in front | Done |
 | Real hardware, step 1: the screen a bootloader left lit, drawn on (`drivers::scanout`): a `simple-framebuffer` in the device tree, else on an RK3399 the VOP's first window read from its registers (only with its clocks on); the loader's reserved memory (the header's block, `/reserved-memory`) kept from the allocator; `cargo xtask test` boots once as such a loader leaves QEMU, `cargo xtask lit-shot` photographs that screen | Done in QEMU (which boards' loaders leave a lit screen needs a board: a Pinebook Pro's Tow-Boot leaves its panel lit) |
 | A PC's and a laptop's own hardware, on PCI (`hardware.md`): USB through an xHCI controller (`drivers/usb`), each device on a root port addressed and configured, plugged in and pulled out at any time, followed by a kernel task; keyboards by the boot protocol (keys as the virtio keyboard's), mice, tablets and touch screens by their report descriptors; sticks and disks by Bulk-Only Transport and SCSI. Disks behind NVMe (`nvme`) and AHCI (`ahci`, SATA), each a `Controller` under the block layer's cache as virtio-blk is; interrupts by MSI-X or MSI on a PC, INTx on ARM, every driver on a shared line asked. `cargo xtask test` and `pc` give QEMU all of them; the self-check writes a block on each disk and puts it back | Done in QEMU on both architectures (no isochronous transfers or USB 3 streams; one NVMe I/O queue; no SD/eMMC, which waits for the first device) |