From be12573a8583759f04dbb9e84af9a7c7b009fd00 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Tue, 17 Mar 2026 13:40:17 -0600 Subject: [PATCH] Mark ed25519 keys as required --- data/api/client-server/policy_server.yaml | 5 +++++ data/event-schemas/schema/m.room.policy.yaml | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/data/api/client-server/policy_server.yaml b/data/api/client-server/policy_server.yaml index 5379ea2b..2febe0f0 100644 --- a/data/api/client-server/policy_server.yaml +++ b/data/api/client-server/policy_server.yaml @@ -48,6 +48,11 @@ paths: description: |- The unpadded base64-encoded public keys for the Policy Server. MUST contain at least `ed25519`. + properties: + ed25519: + type: string + description: The unpadded base64-encoded ed25519 public key for the Policy Server. + required: ['ed25519'] additionalProperties: type: string description: The unpadded base64-encoded public key for the key algorithm. diff --git a/data/event-schemas/schema/m.room.policy.yaml b/data/event-schemas/schema/m.room.policy.yaml index 70561370..a7ff26f3 100644 --- a/data/event-schemas/schema/m.room.policy.yaml +++ b/data/event-schemas/schema/m.room.policy.yaml @@ -19,6 +19,11 @@ properties: The unpadded base64-encoded public keys for the Policy Server. MUST contain at least `ed25519`. type: object + properties: + ed25519: + type: string + description: The unpadded base64-encoded ed25519 public key for the Policy Server. + required: ['ed25519'] additionalProperties: description: The unpadded base64-encoded public key for the key algorithm. type: string