Skip to content

Menu

XorOS Link

From the box to your account with one scan

XorOS Link onboards a device with a phone, gives it an identity of its own, and keeps it connected to your backend once it is set up.

QR code to scan
1
Passwords typed on the device
0
On every connection
mTLS
Certificate lifetime
90 days

Onboarding

Nine steps behind one scan

The owner signs in, scans the code and, if the device needs Wi-Fi, enters the password on the phone. The rest happens between the phone, the device and the backend.
  1. 01

    Sign in

    The owner signs in to the mobile app. A verified account is required.

  2. 02

    Scan

    The app scans the QR code on the device’s screen, with its one-time setup secret.

  3. 03

    Find

    The app finds this device among nearby devices by a tag from the code.

  4. 04

    Connect

    Phone and device run an encrypted, authenticated handshake keyed by the code’s secret.

  5. 05

    Verify

    The app checks that the device holds the factory key the code names, so a look-alike cannot pretend to be it.

  6. 06

    Network

    If the device is offline, the app sends the Wi-Fi settings, and the device tests the network step by step.

  7. 07

    Claim

    The backend claims the device for the owner’s account and returns a signed, one-time grant.

  8. 08

    Enroll

    The device creates its own key and certificate request, and the backend issues its certificate.

  9. 09

    Activate

    The device connects with its new certificate. Only when the backend confirms it does the app report success.

Identity

Keys stay where they belong

Every device has two keys of its own. The phone carries requests between the device and the backend, but never a private key.
Read about XorOS Link security

Before onboarding

A device leaves production with a factory identity that updates and resets never touch.

Factory key
Created for one device alone in production. Only its public key is registered with the backend.
Registered at the factory
A factory station registers the device. A device cannot register itself.
Recovery
A device whose certificate has expired can recover with its factory key.

During onboarding

The setup window opens only after a physical action at the device, never over the network.

No unencrypted fallback
The Bluetooth channel is encrypted with a Noise protocol handshake keyed by the code’s one-time secret.
Five tries
Five failed handshakes close the setup window until someone switches the device on again.
Signed grants
The device checks every grant against signing keys it trusts. A QR code cannot change them.

After onboarding

The device holds an operational key that was created on it and has never left it.

Mutual TLS
Device and backend authenticate each other with certificates on every connection.
Renewed automatically
Certificates are valid for 90 days and renewed well before they expire.
Revoked at once
Removing a device revokes its certificate, and the broker disconnects it straight away.

Messaging

Connected, without opening a port

After onboarding, a device keeps one outgoing connection to the backend’s MQTT broker, over TLS with its own certificate. It works behind ordinary firewalls and NAT.
Read about messaging
Validated messages
Every message has a type, a schema version, a lifetime and an ID, and is checked against its schema before it is handled.
Commands run once
A command delivered twice is executed once. A command that expires before it runs is not executed at all.
Port 8883 or 443
Where port 8883 is blocked, the device falls back to a secure WebSocket on port 443, and reconnects on its own.
Each device on its own
A device may only use its own message topics. Everything else is denied.

For developers

Onboarding and messaging for your own product

XorOS Symbiote uses XorOS Link for its devices. Link is also available as a set of components that share one protocol definition.
Read the developer documentation
  • JSON Schema, Rust, TypeScript

    Protocol

    The specification, message schemas, error codes and test vectors every implementation must pass.

  • Rust

    Device library

    Onboarding over Bluetooth, identity and certificates, and MQTT messaging for Linux devices.

  • React Native

    Mobile component

    An onboarding screen or controller for your own app, with the cryptography in Rust.

  • TypeScript

    Server module

    Claims, enrollment, certificates, device inventory and messaging for your backend.