You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(desktop): ship the real signed directory + pin the directory key
The desktop shipped placeholder gateways and an empty directory pubkey, so it
couldn't trust/discover the live fleet like mobile does. Now it ships the real
artifact.
- Bundle deploy/directory/directory.signed.json (identical to the mobile app's)
as src/data/directory.json, and pin the real CVPN_DIRECTORY_PUBKEY
(1e+42…KKw=). directory.ts now loads + can verify it via core directoryVerify,
mirroring the mobile client's trust anchor.
- A test asserts the bundled snapshot actually verifies against the pinned key,
so we can't ship a directory whose signature doesn't match.
- Filter 0.0.0.0 placeholder seeds in the offline cold-start (like mobile): live
discovery resolves real IPs, so an unreachable fallback shows nothing rather
than an unconnectable gateway.
Verified via a headless render: the desktop now discovers 🇩🇪 Germany from the
verified directory and the UI is fully live (Connect enabled, health dot).
All checks green (tsc, eslint, prettier, 12 tests).
0 commit comments