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

Feature/topic negotiation #1466

Merged
merged 4 commits into from
Jun 19, 2019
Merged

Feature/topic negotiation #1466

merged 4 commits into from
Jun 19, 2019

Commits on Jun 13, 2019

  1. Add topic negotiation

    This commit add topic negotiation to the protocol.
    
    On receiving a message from a client with version >= 1, we will generate
    a shared key using Diffie-Hellman. We will record also which
    installationID has sent us a message.
    
    This key will be passed back to the above layer, which will then use to
    start listening to a whisper topic (the `chat` namespace has no
    knowledge of whisper).
    
    When sending a message to a set of InstallationIDs, we check whether we
    have agreed on a topic with all of them, and if so, we will send on this
    separate topic, otherwise we fallback on discovery.
    
    This change is backward compatible, as long as there is no downgrade of
    the app on the other side.
    
    A few changes:
    
    * Factored out the DB in a separate namespace as now it is
    being used by multiple services (TopicService and EncryptionService).
    
    * Factored out multidevice management in a separate namespace
    
    * Moved all the test to test the whole protoocl rather than just the encryption service
    
    * Moved all the filter management in status-go
    cammellos committed Jun 13, 2019
    Configuration menu
    Copy the full SHA
    65869bc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9271719 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    24689aa View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e02f7c0 View commit details
    Browse the repository at this point in the history