Peer-to-peer handshake endpoint
POST /federation/peers/handshake
Public unauthenticated endpoint — accepts signed handshake envelopes from peer instances per docs/spec/federation/v1.md §11. The envelope is signed by the offered Ed25519 public key (payload-signature only — transport HTTP-Sig is for established peers).
Request Body required
Section titled “Request Body required ”object
Inner payload of a handshake envelope per v1.md §11. Signed using RFC-8785-canonical JSON.
object
Always aa-handshake/v1
Base64-std Ed25519 signature over the canonical envelope.
Responses
Section titled “ Responses ”Envelope accepted; result indicates resulting state.
object
accepted_pending: we created a pending_inbound row; admin must accept.
completed: handshake finished (either confirm landed, or cross-handshake auto-merged).
ignored_duplicate: we already had this row in a terminal state.
Malformed or unverifiable envelope.
object
Human-readable error summary
Example
the request could not be completedInstance identity not yet generated.
object
Human-readable error summary
Example
the request could not be completed