Skip to content

Key generation at connect time is slow for encrypted connections #8599

Closed

Description

@Ratio2

Android 1.21

https://forum.syncthing.net/t/problem-with-working-with-a-cluster-of-multiple-devices/19073

What is the problem:

  1. Each time you connect to an encrypted device, scrypt hashes are calculated for all folders. Hashes are recalculated if there are multiple encrypted devices.
  2. With a critical number of folders and devices, the calculation of hashes consumes all processor resources and the connection cannot be completed within the expected time.
  3. When the connection is not completed, a new connection is created, which leads to a worsening of the situation.

Activity

  1. added
    bug
    needs-triage
    on Oct 11, 2022
  2. added 2 commits that reference this issue on Oct 11, 2022
    3f2b0c2
    0c7246a
  3. added a commit that references this issue on Mar 10, 2023
    e1ad620
  4. removed
    needs-triage
    on Mar 10, 2023
  5. changed the title [-]Unable to connect to all devices in a cluster with encrypted devices[/-] [+]Key generation at connect time is slow for encrypted connections[/+] on Mar 10, 2023
  6. added a commit that references this issue on Mar 12, 2023
    122fdd7
  7. added this to the v1.23.3 milestone on Mar 14, 2023
  8. added a commit that references this issue on Mar 18, 2023
    7f99a25
  9. added a commit that references this issue on Apr 14, 2023
    b69598f
  10. added a commit that references this issue on Jan 28, 2024
    466b56d
  11. added
    frozen-due-to-age
    on Mar 12, 2024
  12. locked and limited conversation to collaborators on Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugfrozen-due-to-age

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions