syncthing / syncthing/syncthing-macos

Multiple Syncthing entries in Privacy & Security → Local Network

Open
#274 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Objective-C
Stars
3.9k
Forks
203
Avg merge
3d 14h
Merged PRs (30d)
2

Description

Hello there,

I manage Syncthing with Homebrew and I'm on macOS Sequoia. By updating the software throughout time, I have now accumulated more than 15 syncthing entries in System Settings → Privacy & Security → Local Network.

Image

Other software has been known to have this issue, like Chrome. There's an interesting writeup about how to reset this here, but I've been unable to do this since I've found no way to get Syncthing's bundle ID. What's certain is that just uninstalling Synching hasn't worked for me.

There's also an answer in the aforementioned Apple thread, which is quite interesting:

Later, in 2024, Apple upgraded that post to an official Tech Note: TN3179: Understanding local network privacy.

The first paragraph highlights special macOS Considerations. Right below that are "Build considerations". Here's where it gets interesting. Apple says:

Local network privacy uses your main executable UUID as part of its implementation. If your main executable has no UUID, or shares a UUID with other programs, local network privacy may behave weirdly. To fix that, make sure your main executable has a UUID and that it’s unique. For more about this, see TN3178: Checking for and resolving build UUID problems.

So the question here is twofold:

  1. How to remove the existing duplicate entries, without getting into dangerous solutions like disabling SIP and deleting files, which can have unwanted side-effects?
  2. Is there a way this can be fixed in Syncthing? If Syncthing has a particular implementation regarding its UUID, it seems that this could be the source of the issue.

Thank you!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the macOS System Settings → Privacy & Security → Local Network entries and Apple's TN3179 and TN3178 notes cited in the issue. Determine Syncthing's bundle ID and whether its main executable has a unique UUID, then document a supported way to remove duplicate entries and whether Syncthing can prevent them from recurring.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, objective-c
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.