aboutsummaryrefslogtreecommitdiff
path: root/src/sas.c
diff options
context:
space:
mode:
authorMark Haines <mjark@negativecurvature.net>2016-09-13 15:42:47 +0100
committerMark Haines <mjark@negativecurvature.net>2016-09-13 15:42:47 +0100
commitd62e344db708672dee58238be330382b2c903b5b (patch)
treee3941e73ce1110379dc85470edeea95ba594bb0e /src/sas.c
parent976495e0ac379256ee9acacf1d45999769dd6212 (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/sas.c')
0 files changed, 0 insertions, 0 deletions