|
|
|
@ -1197,11 +1197,12 @@ strings in the general form:
|
|
|
|
- the ID as a UTF-8 string
|
|
|
|
- the ID as a UTF-8 string
|
|
|
|
- the first key, as 32 bytes. The key to use depends on the mode field:
|
|
|
|
- the first key, as 32 bytes. The key to use depends on the mode field:
|
|
|
|
- if `0x00` or `0x01`, then the current user's own master cross-signing public key
|
|
|
|
- if `0x00` or `0x01`, then the current user's own master cross-signing public key
|
|
|
|
- if `0x02`, then the current device's device key
|
|
|
|
- if `0x02`, then the current device's Ed25519 signing key
|
|
|
|
- the second key, as 32 bytes. The key to use depends on the mode field:
|
|
|
|
- the second key, as 32 bytes. The key to use depends on the mode field:
|
|
|
|
- if `0x00`, then what the device thinks the other user's master
|
|
|
|
- if `0x00`, then what the device thinks the other user's master
|
|
|
|
cross-signing key is
|
|
|
|
cross-signing key is
|
|
|
|
- if `0x01`, then what the device thinks the other device's device key is
|
|
|
|
- if `0x01`, then what the device thinks the other device's Ed25519 signing
|
|
|
|
|
|
|
|
key is
|
|
|
|
- if `0x02`, then what the device thinks the user's master cross-signing key
|
|
|
|
- if `0x02`, then what the device thinks the user's master cross-signing key
|
|
|
|
is
|
|
|
|
is
|
|
|
|
- a random shared secret, as a byte string. It is suggested to use a secret
|
|
|
|
- a random shared secret, as a byte string. It is suggested to use a secret
|
|
|
|
|