Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add getKeysProved and getKeysClaimed methods to MatrixEvent. #206

Merged
merged 4 commits into from
Sep 15, 2016

Commits on Sep 15, 2016

  1. Add getKeysProved and getKeysClaimed methods to MatrixEvent.

    These list the keys that sender of the event must have ownership
    of and the keys of that the sender claims ownership of.
    
    All olm and megolm messages prove ownership of a curve25519 key.
    All new olm and megolm message will now claim ownership of a
    ed25519 key.
    
    This allows us to detect if an attacker claims ownership of a curve25519
    key they don't own when advertising their device keys, because when we
    receive an event from the original user it will have a different ed25519 key
    to the attackers.
    NegativeMjark committed Sep 15, 2016
    Configuration menu
    Copy the full SHA
    bde6a17 View commit details
    Browse the repository at this point in the history
  2. Poke jenkins

    NegativeMjark committed Sep 15, 2016
    Configuration menu
    Copy the full SHA
    45e9f59 View commit details
    Browse the repository at this point in the history
  3. Document return type

    NegativeMjark committed Sep 15, 2016
    Configuration menu
    Copy the full SHA
    45ed088 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0d5d746 View commit details
    Browse the repository at this point in the history