Skip to content

Make sync more resilient and prevent/reduce decryption errors

Charles Wright requested to merge cvwright/decryption-errors into main

We had some decryption errors in Circles. It turns out those were mostly due to Circles state management bugs that stopped us from syncing.

This MR brings changes to make sync more resilient to failures, and to make decryption errors less likely.

  1. Don't ever intentionally stop syncing without being told to do so. If there is a failure, just wait and then try again.
  2. Modularize the code the calls crypto functions, so we can call it both from sync() and from send()

Merge request reports

Loading