From db759eacce2c54cdedcf609f701ec361bb7fb59c Mon Sep 17 00:00:00 2001 From: Hugh Nimmo-Smith Date: Thu, 4 Apr 2024 17:32:39 +0100 Subject: [PATCH] Resolve some more TODOs --- proposals/4108-oidc-qr-login.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/proposals/4108-oidc-qr-login.md b/proposals/4108-oidc-qr-login.md index f8ded79a1..6443611db 100644 --- a/proposals/4108-oidc-qr-login.md +++ b/proposals/4108-oidc-qr-login.md @@ -1088,26 +1088,23 @@ sequenceDiagram participant HS as Homeserver rect rgba(0,255,0, 0.1) - rect rgb(191, 223, 255) note over N,E: This step is duplicated from the previous section for readability N-->>+E: { "type": "m.login.success" } end - Note over E: 1) Existing device checks that the device is actually online: - + Note over E: 1) Existing device checks that the device is actually online E->>HS: GET /_matrix/client/v3/devices/{device_id} activate HS alt is device not found + note over E: We should wait and retry for 10 seconds HS->>E: 404 Not Found E->>N: { "type": "m.login.failed", "reason": "TODO" } else is device found HS->>E: 200 OK deactivate HS -Note over E: TODO: how do we check that this is actually the newly signed in device? - E->>-N: 2) { "type": "m.login.secrets", "cross_signing": {...}, "backup": {...} } activate N @@ -1282,7 +1279,7 @@ Fields: |--- |--- |--- | |`type`|required `string`|`m.login.secrets`| |`cross_signing`|`object`|
Field Type
master_key required string Unpadded base64 encoded private key
self_signing_key required string Unpadded base64 encoded private key
user_signing_key required string Unpadded base64 encoded private key
| -|`backup`|`object`|
Field Type
algorithm required string One of the algorithms listed at https://spec.matrix.org/v1.9/client-server-api/#server-side-key-backups
key required string TODO
backup_version required string TODO
| +|`backup`|`object`|
Field Type
algorithm required string One of the algorithms listed at https://spec.matrix.org/v1.9/client-server-api/#server-side-key-backups
key required string Unpadded base64 encoded private/secret key
backup_version required string The backup version as returned by [`POST /_matrix/client/v3/room_keys/version`](https://spec.matrix.org/v1.10/client-server-api/#post_matrixclientv3room_keysversion)
| Example: