1. 13 Sep, 2016 1 commit
    • 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
  2. 06 Sep, 2016 1 commit
    • Richard van der Hoff's avatar
      Sign megolm messages · 2fc83aa9
      Richard van der Hoff authored
      Add ed25519 keys to the inbound and outbound sessions, and use them to sign and
      verify megolm messages.
      
      We just stuff the ed25519 public key in alongside the megolm session key (and
      add a version byte), to save adding more boilerplate to the JS/python/etc
      layers.
      2fc83aa9
  3. 25 May, 2016 1 commit
    • Richard van der Hoff's avatar
      Remove session_id from group messages · 708fddd7
      Richard van der Hoff authored
      Putting the session_id inside the packed message body makes it hard to extract
      so that we can decide which session to use. We don't think there is any
      advantage to having thes sesion_id protected by the HMACs, so we're going to
      move it to the JSON framing.
      708fddd7
  4. 24 May, 2016 6 commits