137 Commits (8127c70eaa0472b5a912315d230129e5694472f6)

Author SHA1 Message Date
  Krista Bennett f685decf24 Through the power of revert, fixed the modes I messed up in the last commit (sorry, new machine and dorking around caused an unintended large-scale mode reset) 4 years ago
  Krista Bennett 673c9876d0 Fixed weird little test bug, also part of the ENGINE-476 in here 4 years ago
  Krista Bennett 02771169d5 SYNC HAS RETURNED. Keysync still removed from Engine. 5 years ago
  Krista Bennett 6b51966b22 Removed all 2-party keysync components from engine. 5 years ago
  Damiano Boppart e858e82744 Add default.conf into the build system 5 years ago
  Krista Bennett 7de4270748 Keep me away from the default branch. Reverted to 1954:2f1ed8cf6b6f, because though damiano's Makefile changes are sexy, they'll break ppl. 5 years ago
  Krista Bennett 24ac9b0d2c Rolled back to revision 1982. Sorry all, checked in wrong branch to default 5 years ago
  Damiano Boppart f00ea38e81 Add file to clean target 5 years ago
  Damiano Boppart e6877298f7 Fix setting of BUILD_CONFIG and fix call to 'pathsub', which doesn't exist 5 years ago
  Damiano Boppart 213276d5ca Fix incorrect copyright statement 5 years ago
  Damiano Boppart b32eea0652 More Makefile cleanup 5 years ago
  Damiano Boppart 1141affcdf Refactor some make variable names 5 years ago
  Damiano Boppart c4411588a5 Cleanup sync/Makefile 5 years ago
  Edouard Tisserant 836e5683cf Sync: enable fast polling right after sending beacon 5 years ago
  Edouard Tisserant 6026107c5f ENGINE-187 use remaining time returned by adapter when timeout is interrupted to continue timeout if Sync' FSM didn't jump to another state in the meantime. 5 years ago
  Edouard Tisserant 0c0221a016 sameKeyAndAddress(), used in sync_actions.c wasn't declared in any header file, leading to failure to compile on some platforms 5 years ago
  Edouard Tisserant f3a00bda76 Sync : fixed some wrong sementics in FSM, and added missing check. Doesn't fix any known bug. 5 years ago
  Edouard Tisserant 256be12968 ENGINE-196 ENGINE-197 Sync : fixed group not forming because of checking groupKeys's sender still has same UUID whereas it becomes group's UUID (was working before 52baaf882562, cause group UUID was the one from device) 5 years ago
  Krista Bennett 271dd50b26 ENGINE-198: fixed to test against actual decrypt status return vals 5 years ago
  Edouard Tisserant ca2848978d fixed sync.svg 5 years ago
  Damiano Boppart c528ed7b7d Fix build error when LANG is not set 5 years ago
  Edouard Tisserant 32dd81e56a ENGINE-188 brutal fixes so that last mp_sync_test.py still completes. closing that branch 5 years ago
  Edouard Tisserant 72d0e120f1 KeySync: update files generated for review 5 years ago
  Edouard Tisserant 4beb49e032 KeySync: modified FSM to have Sync Handshake Dialog to be displayed on each device of the same group, and disapear when handshake is over. 5 years ago
  Edouard Tisserant 086fef0c38 KeySync : made UUID renewal when entering group explicit in fsm, and moved it after sendGroupKeys to be sure it is accepted by peer. Also fixed bug generating else part of conditions in fsm. 5 years ago
  Edouard Tisserant b1f94a08dc KeySync: fixed type inference of state params in case multiple params. Work around limited 'extra' param from events, until we need more 5 years ago
  Edouard Tisserant a01111f0fe KeySync : added WaitForAccept(Sole|Grouped) states to deal with GroupKeys received before Handshake is accepted on device losing key election. 5 years ago
  Edouard Tisserant 1ed0a2df6e KeySync: half fixed type inference of state params in case multiple params. Still b0rkee with limited 'extra' param from events. 5 years ago
  Edouard Tisserant 36de0a47eb KeySync : added composit state payload to hold multiple state parameters 5 years ago
  Edouard Tisserant 84c582d0d8 KeySync fsm : fixed storeGroupKeys instead of storeGroupUpdate, added more check, fixed wrong parameter type for storeGroupKeys 5 years ago
  Edouard Tisserant 3eb7be13a1 KeySync: fixed problem with GroupKeys events not being generated. Added better memory handling policy for keysync events extras. 5 years ago
  Edouard Tisserant 2abde53c80 KeySync: added device group merge. Builds but still untested. 5 years ago
  Edouard Tisserant fe3000bd25 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 5 years ago
  Edouard Tisserant 0165f02607 KeySync : reworked some SQL statements and condition checking if a device is grouped. 5 years ago
  Edouard Tisserant 5ea4b85905 KeySync: Send GroupUpdate immediately after receiving GroupKeys when joining a group. This is intended to spread key that did lose the election to the group, without waiting for CannotDecrypt 6 years ago
  Edouard Tisserant 9fcc07dea4 Sync: added transmission of Beacon when timeout happens while waiting for group keys, thus re-trying handhake process. Timeout while waiting for groupKeys was leading to a situation where device that did lose key election wasn't re-attempting handshaking because already having keys (i.e. no CannotDecrypt event), then device was left Sole with no chance to enter the group again 6 years ago
  Edouard Tisserant 652b703ee6 ENGINE-135 added *Beaconed states to avoid sending handshake requests twice 6 years ago
  Volker Birk e4cfb490c6 adding license info to each file 6 years ago
  Edouard Tisserant d9365b656e added verbose sync FSM debug logging 6 years ago
  Edouard Tisserant a85281fd45 sync: obey new app notification enum names, this time with corresponding actions generated 6 years ago
  Volker Birk 7f4212018b fixing Windows build 6 years ago
  Edouard Tisserant a9e235546b sync: documentation, moved generated code, updated .hgignore, cleaning 6 years ago
  Edouard Tisserant def6e4a100 ENGINE-133 added state 'payload' pointer to data attached to the state, allocated/dealocated on transitions. This state payload allows spontaneous transitions having no context (i.e. timeout) to get some context about the state. It can be used in other cases like checking that received group keys are from the partner we expect (TODO) 6 years ago
  Edouard Tisserant 2c2b1fbe74 ENGINE-133 added more feedback for the app in case of handshake success or failure, because of timeout 6 years ago
  Edouard Tisserant ccd8d1ae6d ENGINE-133 added timeout in sync state machine, relying on callback sync message retrieve timeout - adapters need update 6 years ago
  Edouard Tisserant 857449c676 ENGINE-140 clean'up own_identities_retrieve so that available pEpEngine API returns all own identities, not only those that can be synced 6 years ago
  Volker Birk c4cdd0db98 make sync.svg 6 years ago
  Edouard Tisserant ef99d88ad7 ENGINE-139: now uses decrypt flags to mark detected sync messages 6 years ago
  Edouard Tisserant 38e6275e7e Sync : implementation of group update on missing key. Needs fixing, doesn't pass dedicated test 6 years ago
  Edouard Tisserant 91a8a2e9db Sync : added group update, on keygen for now 6 years ago