mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-02-22 14:03:42 +01:00
Update example to show keys wrapped by user ID
This commit is contained in:
parent
c549bf201b
commit
71faffc9ed
|
|
@ -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": {
|
||||||
|
|
@ -457,6 +460,7 @@ response:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
Similarly, the federation endpoints `GET /user/keys/query` and `POST
|
Similarly, the federation endpoints `GET /user/keys/query` and `POST
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue