• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Alan-Jowett / sonde / 23963496844
82%

Build:
DEFAULT BRANCH: main
Ran 03 Apr 2026 09:52PM UTC
Jobs 1
Files 85
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

03 Apr 2026 09:50PM UTC coverage: 85.446% (-0.2%) from 85.6%
23963496844

push

github

web-flow
feat: switch BLE pairing UI to simplified AEAD flow (#628)

Migrates sonde-pair-ui from the ECDH/HMAC Phase 1 + Phase 2 pairing
flow to the simplified AEAD model:

Phase 1: \pair_with_gateway()\ → \pair_with_gateway_aead()\
  - Phone generates PSK, sends over BLE LESC directly
  - No ECDH, HKDF, gateway Ed25519 keypair, or TOFU verification
  - Artifacts held in memory (AppState), not persisted to file store

Phase 2: \provision_node()\ → \provision_node_aead()\ (new function)
  - Generates node PSK, builds PairingRequest CBOR
  - Encrypts with phone_psk via AES-256-GCM (\ncrypt_pairing_request_aead\)
  - Builds complete ESP-NOW PEER_REQUEST frame for node to relay
  - No ECDH key agreement needed (gateway authenticates via phone_psk)

sonde-pair changes:
  - New \provision_node_aead()\ in phase2.rs
  - \PairingArtifactsAead\ now derives \Clone\ (needed for AppState)

sonde-pair-ui changes:
  - Both desktop (btleplug) and Android paths switched to AEAD
  - Pairing artifacts stored in AppState memory, not file/Android store
  - Removed unused: FilePairingStore, PairingStore imports, TOFU check,
    get_or_init_store helper, hex module

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
Co-authored-by: Alan Jowett <alan.jowett@microsoft.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

237 of 386 new or added lines in 5 files covered. (61.4%)

6 existing lines in 3 files now uncovered.

27336 of 31992 relevant lines covered (85.45%)

132.82 hits per line

Uncovered Changes

Lines Coverage ∆ File
67
82.97
-10.45% crates/sonde-pair/src/file_store.rs
39
0.0
0.0% crates/sonde-pair-ui/src-tauri/src/lib.rs
26
96.19
-2.05% crates/sonde-pair/src/phase2.rs
17
84.4
-2.43% crates/sonde-gateway/src/ble_pairing.rs

Coverage Regressions

Lines Coverage ∆ File
3
0.0
0.0% crates/sonde-pair-ui/src-tauri/src/lib.rs
2
91.24
0.42% crates/sonde-gateway/src/engine.rs
1
95.12
0.37% crates/sonde-node/src/wake_cycle.rs
Jobs
ID Job ID Ran Files Coverage
1 23963496844.1 03 Apr 2026 09:52PM UTC 85
85.45
GitHub Action Run
Source Files on build 23963496844
  • Tree
  • List 85
  • Changed 8
  • Source Changed 6
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23963496844
  • 882261d5 on github
  • Prev Build on main (#23956483934)
  • Next Build on main (#23966021862)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc