Skip to content
Snippets Groups Projects
  1. Sep 26, 2016
  2. Sep 20, 2016
  3. Sep 09, 2016
  4. Sep 02, 2016
  5. Aug 30, 2016
    • Torsten Grote's avatar
      Calculate and verify signature and MAC for Introduction ACKs · fc5a7290
      Torsten Grote authored
      Before the introducee sends her ACK,
      she derives a master key from the ephemeral shared secret as before.
      
      Two nonces and a MAC key are then derived from the master key.
      The local introducee signs one of the nonces and calculates a MAC
      over her own identity public key, ephemeral public key,
      transport properties and timestamp.
      The local introducee includes the signature and MAC in her ACK.
      
      On receiving the remote introducee's ACK,
      the local introducee verifies the signature and MAC.
      Should the verification fail, an ABORT is sent to the introducer and
      the remote introducee that was added as inactive is deleted again.
      fc5a7290
    • Torsten Grote's avatar
      Introduction Client: Add MAC and signature to ACK message · 7db0e447
      Torsten Grote authored
      The MAC and signature are not yet generated and verified.
      This will happen in a later commit.
      7db0e447
  6. Aug 29, 2016
    • Torsten Grote's avatar
      Add support for comments and reblogging to Blog Client · 3dd3a186
      Torsten Grote authored
      Comments and reblogs need to depend on the post they refer to.
      Since message dependencies are limited to one group,
      the post and also the comments need to be wrapped
      when commented on or reblogged to another blog.
      
      For this reason, in addition to comments, two new wrapping message types
      are introduced. They retain all data of the original messages and allow
      for reconstruction and signature verification.
      
      This commit breaks backwards compatibility with old blog posts.
      It removes the content type, title and parent ID from the post
      message structure.
      3dd3a186
  7. Aug 19, 2016
  8. Aug 11, 2016
  9. Aug 05, 2016
  10. Aug 03, 2016
  11. Aug 01, 2016
  12. Jul 07, 2016
  13. Jun 28, 2016
  14. Jun 22, 2016
  15. Jun 18, 2016
  16. Jun 02, 2016
  17. May 28, 2016
  18. May 26, 2016
    • Torsten Grote's avatar
      Let the ForumValidator return parent posts as dependency · d3b83a50
      Torsten Grote authored
      and add integration tests that make sure that dependencies are handled
      properly.
      d3b83a50
    • Torsten Grote's avatar
      Implement new message validation logic · 5561532c
      Torsten Grote authored
      that handles message dependencies reported from clients.
      
      The MessageValidatedEvent has been renamed into a MessageDeliveredEvent
      since there were no real use cases for the former any more.
      5561532c
    • Torsten Grote's avatar
      Add Message Dependencies to Database · b03d0a20
      Torsten Grote authored
      This adds a new table to the database to hold message dependencies.
      It introduces two more message states: pending and delivered
      The valid column in the database was renamed to state to better reflect
      its new extended meaning.
      
      The DatabaseComponent was extended with three methods for:
      * adding dependencies
      * getting dependencies of a message
      * getting messages that depend on a message (dependents)
      * getting messages to be delivered (by startup hook)
      * getting pending messages to be possibly delivered (by startup hook)
      
      In order to reflect the new states, things that were previously true for
      VALID messages have been changed to now be true for DELIVERED messages.
      
      Since pending messages should not be available to clients, many database
      queries have been modified to only return results for delivered
      messages.
      
      All added methods and changes should come with updated unit tests.
      
      Please note that the database version was bumped in this commit.
      b03d0a20
  19. May 24, 2016
  20. May 19, 2016
  21. May 16, 2016
  22. May 12, 2016
  23. May 11, 2016
  24. May 06, 2016
  25. May 04, 2016
    • Torsten Grote's avatar
      Do not allow session ID reuse and clean up sessions for introducee · 685e1422
      Torsten Grote authored
      It was possible that a malicious introducer sends new request with the
      same session ID that was used previously and thus causing introducees to
      have multiple states for the same session ID.
      This commits prevents that from happening and adds an integration test
      for that scenario.
      
      Also if an introducee removes an introducer, all past session states
      will be deleted from the database. For this, a test was added as well.
      
      Closes #371
      Closes #372
      685e1422
    • Torsten Grote's avatar
      Forum Sharing Integration Tests · 49c9af27
      Torsten Grote authored
      This adds integration tests for these cases:
      * normal invitation session where invitee accepts
      * normal invitation session where invitee declines
      * session where invitee leaves again after she joined
      * session where sharer leaves after invitee has joined
      * session where sharer leaves before invitee can respond
      * sharer reuses the session ID of the previous session
      * after accepting the invitation, the invitee invites the sharer to the same forum
      * after session contacts delete each other and session states get cleaned up
      
      Closes #339
      49c9af27
  26. May 03, 2016
    • Torsten Grote's avatar
      Prepare for new Forum Sharing Client · 9f9a2163
      Torsten Grote authored
      Methods for creating, adding and removing forums have been moved to the
      `ForumManager`. In order to still handle removing forums properly, a
      `RemoveForumHook` has been introduced.
      
      Methods for sharing forums with all current and future contacts have
      been removed along with the localGroup where this information was saved.
      
      The `ShareForumActivity` now has the proper label.
      
      The `SessionId` and the `ProtocolEngine` have been moved to the
      `clients` package.
      
      This addresses part of #322 and part of what has been discussed in #320.
      9f9a2163
  27. May 02, 2016
  28. Apr 29, 2016
  29. Apr 27, 2016
Loading