27 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
  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
  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 6 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. 6 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 6 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. 6 years ago
  Edouard Tisserant 36de0a47eb KeySync : added composit state payload to hold multiple state parameters 6 years ago
  Edouard Tisserant 84c582d0d8 KeySync fsm : fixed storeGroupKeys instead of storeGroupUpdate, added more check, fixed wrong parameter type for storeGroupKeys 6 years ago
  Edouard Tisserant 3eb7be13a1 KeySync: fixed problem with GroupKeys events not being generated. Added better memory handling policy for keysync events extras. 6 years ago
  Edouard Tisserant 2abde53c80 KeySync: added device group merge. Builds but still untested. 6 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 6 years ago
  Edouard Tisserant 0165f02607 KeySync : reworked some SQL statements and condition checking if a device is grouped. 6 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
  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