src/sync_impl.c
Tue, 06 Jun 2017 18:00:40 +0200 Merging in default after 200 years
Fri, 12 May 2017 11:43:45 +0200 Backed out changeset 33b2fa2368e6, re-enable XER content in Sync message body in DEBUG mode
Thu, 04 May 2017 16:57:23 +0200 ENGINE-206 disable XER content in Sync message body in DEBUG mode. Seems to be triggering unicode transcoding problem in JNI adapter leading to NULL char in message.
Mon, 27 Mar 2017 14:53:29 +0200 stowing changes to make compile with new bloblist struct
Mon, 13 Mar 2017 14:33:17 +0100 ENGINE-188 brutal fixes so that last mp_sync_test.py still completes. closing that branch
Sat, 11 Mar 2017 14:50:05 +0100 KeySync : fixed bug in sequence_value. How is that possible wasn't detected before ?
Tue, 07 Mar 2017 15:45:16 +0100 KeySync: accept both groupKeys and handshakeRequest addressed to own group. When groupKeys and handshakeRequest are coming from group, group is promoted as partner for following comunication steps
Wed, 01 Mar 2017 15:59:00 +0100 KeySync: accept handshake requests addressed to group, continued
Wed, 01 Mar 2017 15:45:56 +0100 KeySync: accept handshake requests addressed to group (partner-id = group's UUID)
Wed, 01 Mar 2017 15:28:25 +0100 KeySync: use _is_own_uuid and _is_own_group_uuid, added in previous revision
Wed, 01 Mar 2017 15:08:55 +0100 KeySync: moved some code, added some comments, fixed some maybe-bug in still untested groupMerge scenario. Preparing for having all devices in a group to show handshake dialog
Wed, 22 Feb 2017 23:23:41 +0100 KeySync: ensure that UUID is the same for every session attached to a a sync session
Mon, 20 Feb 2017 22:10:13 +0100 KeySync: fixed type inference of state params in case multiple params. Work around limited 'extra' param from events, until we need more
Fri, 17 Feb 2017 19:51:04 +0100 KeySync: fixed problem with GroupKeys events not being generated. Added better memory handling policy for keysync events extras.
Thu, 16 Feb 2017 12:43:35 +0100 KeySync: added device group merge. Builds but still untested.
Mon, 13 Feb 2017 21:26:55 +0100 KeySync: changed handshakeRequest and groupKeys messages content (TODO:increment protocol number when finished). Now use string instead of Identity to just store uuid. Added group uuid in handshakeRequest
Mon, 13 Feb 2017 00:07:28 +0100 KeySync: change UUID after entering group to avoid processing all pending handshake request leftover from beaconing all the group
Sun, 12 Feb 2017 22:45:02 +0100 KeySync : reworked some SQL statements and condition checking if a device is grouped.
Mon, 06 Feb 2017 21:07:12 +0100 KeySync: pEpEngine.c : surrounded sequence value generation and checking with SQL BEGIN and COMMIT, to ensure atomicity of operations. sync_impl.c : ensure that incomming keysync message sequence value isn't zero, otherwise always accepted
Tue, 31 Jan 2017 16:10:48 +0100 Small optimization
Fri, 06 Jan 2017 10:23:51 +0100 Memory leak and unhandled out of memory case.
Thu, 05 Jan 2017 13:05:00 +0100 ENGINE-135 added *Beaconed states to avoid sending handshake requests twice
Thu, 05 Jan 2017 13:07:31 +0100 SYNC added fpr/address spoofing protection
Tue, 27 Dec 2016 21:13:41 +0100 adding license info to each file
Mon, 19 Dec 2016 02:42:41 +0100 Android build : use environment variable NDEBUG to set preprocessor NDEBUG. NDEBUG env var is set by JNI adapter, in build.gradle when building release
Fri, 16 Dec 2016 19:13:00 +0100 sync: more debug information when NDEBUG is not defined
Tue, 13 Dec 2016 13:11:06 +0100 free_sync_msg() accepts NULL ptr and does nothing in that case
Wed, 07 Dec 2016 15:39:06 +0100 sync: distinguish management pointer (for queuing sync_messages, i.e. sync job 'management') from obj pointer (for sending email messages, notifying user, alias sync 'object'), thus following original design convention
Sat, 26 Nov 2016 03:54:06 +0100 ENGINE-133 added timeout in sync state machine, relying on callback sync message retrieve timeout - adapters need update
Mon, 21 Nov 2016 22:27:25 +0100 ENGINE-140 clean'up own_identities_retrieve so that available pEpEngine API returns all own identities, not only those that can be synced
Tue, 15 Nov 2016 15:56:18 +0100 ENGINE-140 #comment Added own_keys table, linking pgp_keypair to identity in case user_id = PEP_OWN_USERID.
Sat, 12 Nov 2016 00:28:28 +0100 Backed out changeset 7fe33611a1bb. "work around nasty side effects of brand new update_identity with_myself parameter"
Thu, 10 Nov 2016 21:10:24 +0100 ENGINE-140: merged
Thu, 10 Nov 2016 21:01:08 +0100 Better english for KeySync messages status flags
Thu, 10 Nov 2016 18:06:09 +0100 ENGINE-140: stop making a drama when GroupUpdate or UpdateRequest is signed with wrong key. Just discard it.
Thu, 10 Nov 2016 01:34:46 +0100 ENGINE-140: work around nasty side effects of brand new update_identity with_myself parameter
Wed, 09 Nov 2016 15:28:45 +0100 Backed out changeset 2ba0f96f6c0e. Broke KeySync, but for some reason last test run didn't catch it. Will graft those changes in a branch.
Tue, 08 Nov 2016 23:04:26 +0100 ENGINE-140: now send all keys that have been at some point used as own key _on that device_
Thu, 27 Oct 2016 17:01:20 +0200 sync : make sure that group wins election on both sides when a new device enters a group
Thu, 27 Oct 2016 10:15:31 +0200 sync : exclude handshake message from device already using trusted keys, i.e. presumably in the group
Wed, 26 Oct 2016 05:14:14 +0200 fixing attachment delete
Tue, 18 Oct 2016 21:47:38 +0200 ENGINE-121 #comment keep (i.e. not consume) updateRequests until expiry. added inhibit time on some event to prevent re-uptake of updateRequests and cannotDecrypt, otherwise looping and flooding mailbox
Tue, 18 Oct 2016 00:57:56 +0200 Sync : implementation of group update on missing key. Needs fixing, doesn't pass dedicated test
Sat, 15 Oct 2016 17:45:16 +0200 Sync : added group update, on keygen for now
Sat, 08 Oct 2016 19:53:47 +0200 Sync: time.h moved to platform_unix.h, to reflect Markus recent changes for windows build.
Sat, 08 Oct 2016 19:25:01 +0200 Sync: filter indentities content before entering DB
Fri, 07 Oct 2016 22:04:07 +0200 Sync: fix compiler warnings on Windows.
Fri, 07 Oct 2016 17:39:48 +0200 Sync : re-impl of sync message expiry based on message reception time stamp
Fri, 07 Oct 2016 13:55:23 +0200 KEYSYNC: adapted to new update_identity behaviour + fixed some memory leak.
Wed, 05 Oct 2016 18:18:41 +0200 KEYSYNC: Added arbitrary hard coded sync message expiry (10m), and made special case when receiving groupKeys message so that they are not consumed giving a chance to other devices in the group to receive it as well.
Tue, 04 Oct 2016 20:56:24 +0200 Merge with keysync
Mon, 03 Oct 2016 19:08:15 +0200 sync : attach_sync_session
Fri, 30 Sep 2016 21:16:56 +0200 Make the pEp Engine keysync branch compile on Windows again.
Wed, 28 Sep 2016 14:34:36 +0200 Sync : more than two.
Tue, 27 Sep 2016 21:51:55 +0200 Added free_sync_msg, so that adapter can purge sync queue
Sat, 24 Sep 2016 09:27:25 +0200 Sync : changed sync queue payload type so that sync protocol can receive event such as keygen or decrypt failure asynchronously from other sessions. Fixed problem with ownership of payload leading to memory leak in some case.
Tue, 20 Sep 2016 15:55:38 +0200 Sync : added PEP_MESSAGE_DISCARDED
Tue, 20 Sep 2016 11:46:59 +0200 Sync : use statics to share inject_sync_msg and sync_obj with other sessions.
Sun, 18 Sep 2016 16:55:53 +0200 Sync message decrypt rating could't be evaluated properly without knowing peer's user_id, itslef encoded inside the encrypted blob. Peer identity rating is then re-evaluated after unpacking.
Mon, 12 Sep 2016 22:15:51 +0200 insignificant typo and update of generated code