Skip to main content

Module connection_identifier

Module connection_identifier 

Source
Expand description

Connection identifier — the single signed payload that underlies every connection method (email string, magic link, DNS record, token metadata). It extends the connect-invite with the WireGuard peering material + ordered rendezvous hints, and encodes to a compact, copy-pasteable qcx1_<base64url> string. Self-certifying: ed25519-signed over its own fields, so a recipient verifies it without any third party. See docs/plans/social-network-plan.md §1.

Structs§

ConnectionIdentifier
The universal, self-certifying connection payload.
RendezvousHint
One rendezvous hint — where to try to reach the peer, tried in list order.

Constants§

CI_VERSION

Functions§

derive_overlay_addr
Derive a deterministic ULA IPv6 overlay address (fd00::/8) from a WireGuard public key — a self-certifying (CGA-like) address: it is a hash of the key, so it cannot be spoofed.