mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-04-12 06:04:13 +02:00
Clarify that public keys in m.room.third_party_event is encoded using standard or URL-safe base64.
Sydent has been using both alphabets. Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
parent
f793658de5
commit
c21b914404
|
|
@ -22,11 +22,16 @@ properties:
|
||||||
validate whether the key has been revoked. The URL must return a JSON
|
validate whether the key has been revoked. The URL must return a JSON
|
||||||
object containing a boolean property named 'valid'.
|
object containing a boolean property named 'valid'.
|
||||||
type: string
|
type: string
|
||||||
|
format: uri
|
||||||
public_key:
|
public_key:
|
||||||
description: |-
|
description: |-
|
||||||
A base64-encoded ed25519 key with which token must be signed (though a
|
A base64-encoded ed25519 key with which the token must be signed
|
||||||
signature from any entry in public_keys is also sufficient). This
|
(though a signature from any entry in public_keys is also sufficient).
|
||||||
exists for backwards compatibility.
|
|
||||||
|
The key is encoded using unpadded standard or URL-safe base64
|
||||||
|
encoding.
|
||||||
|
|
||||||
|
This exists for backwards compatibility.
|
||||||
type: string
|
type: string
|
||||||
public_keys:
|
public_keys:
|
||||||
description: Keys with which the token may be signed.
|
description: Keys with which the token may be signed.
|
||||||
|
|
@ -35,14 +40,17 @@ properties:
|
||||||
key_validity_url:
|
key_validity_url:
|
||||||
description: |-
|
description: |-
|
||||||
An optional URL which can be fetched, with querystring
|
An optional URL which can be fetched, with querystring
|
||||||
public_key=public_key, to validate whether the key has been
|
`public_key=<public_key>`, to validate whether the key has been
|
||||||
revoked. The URL must return a JSON object containing a boolean
|
revoked. The URL must return a JSON object containing a boolean
|
||||||
property named 'valid'. If this URL is absent, the key must be
|
property named `valid`. If this URL is absent, the key must be
|
||||||
considered valid indefinitely.
|
considered valid indefinitely.
|
||||||
type: string
|
type: string
|
||||||
public_key:
|
public_key:
|
||||||
description: |-
|
description: |-
|
||||||
A base-64 encoded ed25519 key with which token may be signed.
|
A base-64 encoded ed25519 key with which token may be signed.
|
||||||
|
|
||||||
|
The key is encoded using unpadded standard or URL-safe base64
|
||||||
|
encoding.
|
||||||
type: string
|
type: string
|
||||||
required:
|
required:
|
||||||
- public_key
|
- public_key
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue