//! Devices — the pairing grammar and the string a device signs. //! //! The port of `packages/core/src/device/`. A server admits a DEVICE, not a //! session: every owner route is signed by an Ed25519 device key the server has //! approved, and the modules here are the parts of that both ends of the //! wire must spell identically. //! //! - [`database`] — which database a device-signed request acts on, named in //! its (signed) query and read back by the server's one chokepoint. //! - [`base64url`] — the unpadded url alphabet a device id and a signature //! travel in, with the trailing-bit rule that keeps one key from having two //! names. //! - [`pairing`] — relay origins, the codes a person types, and the three QR //! payloads. //! - [`signature`] — the seven newline-joined fields a device signs, which the //! server's `deviceAuth.ts` also builds and which this port pins byte for //! byte. //! - [`server_id`] — the header every answer carries saying WHICH machine //! answered, because a relay name stays the same when the Mac behind it //! changes. //! - [`words`] — the words a person reads of a device row, said by every //! read of one. pub mod base64url; pub mod ai_hold; pub mod database; pub mod disk; pub mod pairing; pub mod presence; pub mod reported_state; pub mod runner_steps; pub mod server_id; pub mod signature; pub mod succession; pub mod words; pub mod scope;