|
|
@ -216,12 +216,12 @@ response:
|
|
|
|
}
|
|
|
|
}
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
Similarly, the federation endpoints `GET /user/keys/query` and `POST
|
|
|
|
Similarly, the federation endpoints `POST /user/keys/query` and `POST
|
|
|
|
/user/devices/{userId}` will include the master and self-signing keys. (It
|
|
|
|
/user/devices/{userId}` will include the master and self-signing keys. (It
|
|
|
|
will not include the user-signing key because it is not intended to be visible
|
|
|
|
will not include the user-signing key because it is not intended to be visible
|
|
|
|
to other users.)
|
|
|
|
to other users.)
|
|
|
|
|
|
|
|
|
|
|
|
`POST /keys/query`
|
|
|
|
`POST /user/keys/query`
|
|
|
|
|
|
|
|
|
|
|
|
``` json
|
|
|
|
``` json
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -432,7 +432,8 @@ response:
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"master_key": {
|
|
|
|
"master_keys": {
|
|
|
|
|
|
|
|
"@alice:example.com": {
|
|
|
|
"user_id": "@alice:example.com",
|
|
|
|
"user_id": "@alice:example.com",
|
|
|
|
"usage": ["master"],
|
|
|
|
"usage": ["master"],
|
|
|
|
"keys": {
|
|
|
|
"keys": {
|
|
|
@ -443,8 +444,10 @@ response:
|
|
|
|
"ed25519:HIJKLMN": "base64+signature+of+master+key"
|
|
|
|
"ed25519:HIJKLMN": "base64+signature+of+master+key"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"self_signing_key": {
|
|
|
|
"self_signing_keys": {
|
|
|
|
|
|
|
|
"@alice:example.com": {
|
|
|
|
"user_id": "@alice:example.com",
|
|
|
|
"user_id": "@alice:example.com",
|
|
|
|
"usage": ["self_signing"],
|
|
|
|
"usage": ["self_signing"],
|
|
|
|
"keys": {
|
|
|
|
"keys": {
|
|
|
@ -456,6 +459,7 @@ response:
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|