Skip to content
  • Mark Haines's avatar
    Use the ed22519 public key as the group session id. · d62e344d
    Mark Haines authored
    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.
    d62e344d