Skip to content

Room Relay Sender Key Distribution v1

Source schema: doc/schemas/room-relay-sender-key-distribution.v1.schema.json

Pairwise sealed and sender-authenticated distribution of one Room relay sender key. This artifact is recipient-private and MUST NOT be routed through or retained by the federation relay.

Governing Basis

Project Lineage

Fields

Field Required Shape Description
schema/v yes const: 1
room/id yes ref: room.v1.schema.json#/$defs/room_id
relay/epoch yes integer
membership/epoch yes integer
sender/subject yes ref: room.v1.schema.json#/$defs/subject
recipient/subject yes ref: room.v1.schema.json#/$defs/subject
sender/ephemeral-pub yes string
nonce yes string
ciphertext yes string
ciphertext/digest yes string
signer/ref yes string
signature yes object
## Field Semantics

schema/v

  • Required: yes
  • Shape: const: 1

room/id

  • Required: yes
  • Shape: ref: room.v1.schema.json#/$defs/room_id

relay/epoch

  • Required: yes
  • Shape: integer

membership/epoch

  • Required: yes
  • Shape: integer

sender/subject

  • Required: yes
  • Shape: ref: room.v1.schema.json#/$defs/subject

recipient/subject

  • Required: yes
  • Shape: ref: room.v1.schema.json#/$defs/subject

sender/ephemeral-pub

  • Required: yes
  • Shape: string

nonce

  • Required: yes
  • Shape: string

ciphertext

  • Required: yes
  • Shape: string

ciphertext/digest

  • Required: yes
  • Shape: string

signer/ref

  • Required: yes
  • Shape: string

signature

  • Required: yes
  • Shape: object