- Sep 30, 2016
-
-
Torsten Grote authored
-
- Sep 28, 2016
-
-
Ernir Erlingsson authored
-
Torsten Grote authored
Like other recursive operations on the dependency graph, this is not done in a single transaction to prevent an attacker from creating arbitrary large transactions. So at startup, the `ValidationManager` finds and resumes any unfinished operations, by looking for shared messages with unshared dependencies.
-
Torsten Grote authored
This also adds unit tests to prevent regressions like this in the future.
-
- Sep 27, 2016
-
-
akwizgran authored
The docs say this can happen for a directory if there's an I/O error.
-
- Sep 26, 2016
-
-
Torsten Grote authored
-
- Sep 23, 2016
-
-
akwizgran authored
-
- Sep 22, 2016
-
-
akwizgran authored
-
- Sep 20, 2016
-
-
akwizgran authored
-
- Sep 09, 2016
-
-
akwizgran authored
-
- Sep 01, 2016
-
-
Torsten Grote authored
and use it for retreiving the status of an author faster. Also add tests for both.
-
- Aug 31, 2016
-
-
Torsten Grote authored
-
- Aug 30, 2016
-
-
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.
-
Torsten Grote authored
The MAC and signature are not yet generated and verified. This will happen in a later commit.
-
Torsten Grote authored
-
- Aug 29, 2016
-
-
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.
-
Torsten Grote authored
-
- Aug 26, 2016
- Aug 24, 2016
-
-
Torsten Grote authored
This also fixes a bug where new feeds was not added properly.
-
- Aug 22, 2016
-
-
akwizgran authored
-
- Aug 19, 2016
-
-
Torsten Grote authored
Closes #580
-
- Aug 15, 2016
-
-
Torsten Grote authored
Also includes unit tests for the new message types. Closes #591
-
- Aug 11, 2016
-
-
Torsten Grote authored
-
- Aug 05, 2016
-
-
Torsten Grote authored
Only personal blogs from non-contacts can be removed. This also adds integration tests that check if blogs can actually be removed. Closes #579
-
- Jul 31, 2016
-
-
akwizgran authored
-
- Jul 29, 2016
-
-
Torsten Grote authored
Database queries for metadata only returned it for messages that were delivered already. However, there are cases (e.g. a pending message needs to be delivered) where the validator needs to retrieve the metadata from the database. For these cases, a special database query has been introduced.
-
- Jun 27, 2016
-
-
Torsten Grote authored
Closes #450
-
- Jun 22, 2016
-
-
Torsten Grote authored
Closes #441
-
- Jun 18, 2016
-
-
str4d authored
-
- May 26, 2016
-
-
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.
-
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.
-
- May 25, 2016
-
-
Ernir Erlingsson authored
-
- May 20, 2016
-
-
Torsten Grote authored
This change will allow to pass message dependencies from the client validators to the ValidationManager.
-
- May 12, 2016
- May 06, 2016