Skip to content
Snippets Groups Projects
  1. Oct 27, 2016
  2. Oct 19, 2016
  3. Oct 14, 2016
  4. Oct 10, 2016
  5. Oct 05, 2016
  6. Oct 04, 2016
    • Torsten Grote's avatar
      Fix regression in IntroduceeManager · 95670937
      Torsten Grote authored
      This was happening when the remote response arrives before the local
      response is made and thus the local response needs to be send with the
      ACK following. The problem was that we ACK was sent before the response
      which is not allowed and resulted in the session being aborted by the
      introducee. This was happening, because recursion is hard ;)
      
      The fix is only restarting another protocol engine to send the ACK
      after the first run has been completed.
      
      An integration test was added to prevent such regression in the future
      and to test this code path.
      95670937
  7. Sep 30, 2016
  8. Sep 29, 2016
    • Torsten Grote's avatar
      Fix integration tests · 0861ee1f
      Torsten Grote authored
      First problem was a race condition with message delivery and the second
      one due to the fact that we no longer plan to allow adding of additional
      blogs, so the test for that has simply been removed.
      0861ee1f
  9. Sep 26, 2016
  10. Sep 20, 2016
  11. Sep 09, 2016
  12. Sep 02, 2016
  13. 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
  14. 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
  15. Aug 19, 2016
  16. Aug 11, 2016
  17. Aug 05, 2016
  18. Aug 03, 2016
  19. Aug 01, 2016
  20. Jul 07, 2016
  21. Jun 28, 2016
  22. Jun 22, 2016
  23. Jun 18, 2016
  24. Jun 02, 2016
  25. May 28, 2016
  26. 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
  27. May 24, 2016
  28. May 19, 2016
  29. May 16, 2016
  30. May 12, 2016
Loading