diff options
author | Mark Haines <mjark@negativecurvature.net> | 2016-09-13 15:42:47 +0100 |
---|---|---|
committer | Mark Haines <mjark@negativecurvature.net> | 2016-09-13 15:42:47 +0100 |
commit | d62e344db708672dee58238be330382b2c903b5b (patch) | |
tree | e3941e73ce1110379dc85470edeea95ba594bb0e /src/megolm.c | |
parent | 976495e0ac379256ee9acacf1d45999769dd6212 (diff) |
Use the ed22519 public key as the group session id.
Some clients expect the session id to be globally unique,
so allowing the end devices to pick the session id will cause
problems.
Include the current ratchet index with the initial keys, this decreases
the risk that the client will supply the wrong index causing problems.
Sign the initial keys with the ratchet ed25519 key, this reduces the
risk of a client claiming a session that they didn't create.
Diffstat (limited to 'src/megolm.c')
0 files changed, 0 insertions, 0 deletions