Docs

Trust

Before two endpoints exchange anything, each checks that the other is the one it expects. The check happens on the endpoints, with keys they hold themselves; Connectivitizer only introduces them. There are two ways to set this up:
  • Shared key. You generate one key and put it on both sides: into the device’s code or cz, and into the app (in the Connectivitizer app, by scanning its QR code). Every SDK supports it; it is the usual way for an ESP32 and for phone apps, and on an ESP32 the only one. Connectivitizer never receives the key, so keep it as safe as a password.
  • Certificates and pairing. Each endpoint has its own key pair. The device is enrolled with a one-time token, and the two sides pair once by passing two short strings between them (cz pair create, accept and complete, or the same calls in an SDK). Afterwards each has the other’s fingerprint pinned. This works with cz, the .NET library and the TypeScript SDK on Node.js.
Each session reports how each side verified the other, strongest first:
local-pinnedThe peer’s fingerprint is pinned in the endpoint’s own trust store. Strongest.
workspace-caThe peer’s certificate was issued by a certificate authority you control and configured on the endpoint.
shared-keyBoth endpoints proved that they hold the same shared key. That shows the peer is one of the key’s holders, not which one.
platform-introducedThe endpoint accepted the identity the platform has on record for the peer, without verifying it locally. Weaker, and only possible where you allowed it.
noneThe peer is not authenticated end to end (compatibility mode only).