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
      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.
  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
  3. 24 May, 2016 4 commits