Compare commits

...

4 commits

Author SHA1 Message Date
Richard van der Hoff 96438321bd Merge remote-tracking branch 'origin/main' into rav/history_sharing 2026-06-16 17:30:20 +01:00
Richard van der Hoff c2d396fb98
Add links to url-safe unpadded base64 (#2401)
Some checks are pending
Spec / 🔎 Validate OpenAPI specifications (push) Waiting to run
Spec / 🔎 Check Event schema examples (push) Waiting to run
Spec / 🔎 Check OpenAPI definitions examples (push) Waiting to run
Spec / 🔎 Check JSON Schemas inline examples (push) Waiting to run
Spec / ⚙️ Calculate baseURL for later jobs (push) Waiting to run
Spec / 🐍 Build OpenAPI definitions (push) Blocked by required conditions
Spec / 📢 Run towncrier for changelog (push) Waiting to run
Spec / 📖 Build the spec (push) Blocked by required conditions
Spec / 🔎 Validate generated HTML (push) Blocked by required conditions
Spec / 📖 Build the historical backup spec (push) Blocked by required conditions
Spec / Create release (push) Blocked by required conditions
Spell Check / Spell Check with Typos (push) Waiting to run
Now that we have an appendix section describing url-safe unpadded base64, let's link to
it rather than describing it in multiple places.
2026-06-16 17:22:12 +01:00
Richard van der Hoff d5db331061
Use OpenAPI definition for EncryptedFile (#2398)
... instead of the ad-hoc table we have currently.

Co-authored-by: Kévin Commaille <76261501+zecakeh@users.noreply.github.com>
2026-06-16 17:02:04 +01:00
Richard van der Hoff 07af26a418
Add zecakeh as codeowner (#2400)
Now that @zecakeh has write access to matrix-spec, they should be able to
approve PRs for merging. Currently this isn't working, because they aren't
listed in the CODEOWNERS file.
2026-06-16 16:54:51 +01:00
8 changed files with 10 additions and 11 deletions

2
.github/CODEOWNERS vendored
View file

@ -1 +1 @@
* @matrix-org/spec-core-team
* @matrix-org/spec-core-team @zecakeh

View file

@ -0,0 +1 @@
Fix various typos throughout the specification.

View file

@ -0,0 +1 @@
Update CODEOWNERS file.

View file

@ -0,0 +1 @@
Fix various typos throughout the specification.

View file

@ -51,7 +51,7 @@ interoperability.
URL-safe unpadded Base64 is identical to standard unpadded Base64, except that
it uses `-` (minus) as the 62nd character in the alphabet, and `_` (underscore)
as the 63rd.
as the 63rd. This matches [RFC4648s definition of URL-safe base64](https://tools.ietf.org/html/rfc4648#section-5).
## Binary data

View file

@ -276,9 +276,8 @@ internal state of the hash function.
After formatting each query, the string is run through SHA-256 as
defined by [RFC 4634](https://tools.ietf.org/html/rfc4634). The
resulting bytes are then encoded using URL-Safe [Unpadded
Base64](/appendices#unpadded-base64) (similar to [room version
4's event ID format](/rooms/v4#event-ids)).
resulting bytes are then encoded using [URL-Safe unpadded
Base64](/appendices/#url-safe-unpadded-base64).
An example set of queries when using the pepper `matrixrocks` would be:

View file

@ -2,11 +2,8 @@
---
{{% added-in v=4 %}} The event ID is the [reference
hash](/server-server-api#calculating-the-reference-hash-for-an-event) of
the event encoded using a variation of [Unpadded
Base64](/appendices#unpadded-base64) which replaces the 62nd and
63rd characters with `-` and `_` instead of using `+` and `/`. This
matches [RFC4648's definition of URL-safe
base64](https://tools.ietf.org/html/rfc4648#section-5).
the event encoded using [URL-safe unpadded
Base64](/appendices/#url-safe-unpadded-base64).
Event IDs are still prefixed with `$` and might result in looking like
`$Rqnc-F-dvnEYJTyHq_iKxU2bZ1CI92-kuZq3a5lr5Zg`.

View file

@ -156,7 +156,7 @@ paths:
public_key:
type: string
description: |
The public key, encoded using standard or URL-safe [unpadded Base64](/appendices/#unpadded-base64).
The public key, encoded using [standard unpadded Base64](/appendices/#unpadded-base64) or [URL-safe unpadded Base64](/appendices/#url-safe-unpadded-base64).
key_validity_url:
type: string
description: |