Open Source Continuous File Synchronization; contains branches to build Syncthing as a C library
Go to file
Jakob Borg f24676ba5a
lib/tlsutil: Enable TLS 1.3 when available, on test builds (fixes #5065) (#5558)
* lib/tlsutil: Enable TLS 1.3 when available, on test builds (fixes #5065)

This enables TLS 1.3 negotiation on Go 1.12 by setting the GODEBUG
variable. For now, this just gets enabled on test versions (those with a
dash in the version number).

Users wishing to enable this on production builds can set GODEBUG
manually.

The string representation of connections now includes the TLS version
and cipher suite. This becomes part of the log output on connections.
That is, when talking to an old client:

    Established secure connection .../TLS1.2-TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256

and now potentially:

    Established secure connection .../TLS1.3-TLS_AES_128_GCM_SHA256

(The cipher suite was there previously in the log output, but not the
TLS version.)

I also added this info as a new Crypto() method on the connection, and
propagate this out to the API and GUI, where it can be seen in the
connection address hover (although with bad word wrapping sometimes).

* wip

* wip
2019-02-26 11:49:02 +01:00
.github github: Mention auxiliary projects and db corruption in issue template (#5081) 2018-07-26 20:05:56 +02:00
assets assets: Use icon from synctrayzor (ref #4839) (#4859) 2018-04-02 19:57:01 -04:00
cmd all: Hide implementations behind interfaces for mocked testing (#5548) 2019-02-26 08:09:25 +00:00
etc etc: Remove unnecessary quotes in .desktop (#5540) 2019-02-15 07:35:19 +00:00
gui lib/tlsutil: Enable TLS 1.3 when available, on test builds (fixes #5065) (#5558) 2019-02-26 11:49:02 +01:00
lib lib/tlsutil: Enable TLS 1.3 when available, on test builds (fixes #5065) (#5558) 2019-02-26 11:49:02 +01:00
man gui, man, authors: Update docs, translations, and contributors 2019-02-13 07:45:23 +01:00
meta authors: Enable auto updates (#5074) 2018-07-23 17:41:59 +02:00
script authors: Enable auto updates (#5074) 2018-07-23 17:41:59 +02:00
test all: Revert the underscore sillyness 2019-02-02 12:16:27 +01:00
.codecov.yml build: Add option to get test coverage (#5539) 2019-02-14 22:38:47 +00:00
.gitattributes lib/protocol: Revert protobuf encoder changes in v0.14.17 (fixes #3855) 2017-01-01 17:19:00 +00:00
.gitignore all: Become a Go module (fixes #5148) (#5384) 2018-12-18 12:36:38 +01:00
.golangci.yml golangci: Add config file 2019-02-02 12:34:57 +01:00
AUTHORS gui, man, authors: Update docs, translations, and contributors 2019-02-13 07:45:23 +01:00
CONDUCT.md conduct: Upgrade to Contributor Covenant 2018-06-20 23:53:06 +02:00
CONTRIBUTING.md all: Update docs.s.n links to use https 2016-10-27 17:02:19 +00:00
Dockerfile docker: Build outside GOPATH (fixes #5495) 2019-01-31 20:38:33 +01:00
GOALS.md goals: Typo 2017-12-12 08:12:30 +00:00
LICENSE all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
README-Docker.md docs: Correct Docker README (#5480) (#5545) 2019-02-26 00:37:59 +04:00
README.md all: Mac OS X is now called macOS 2018-01-27 09:07:19 +00:00
build.go build: Add option to get test coverage (#5539) 2019-02-14 22:38:47 +00:00
build.sh authors: Enable auto updates (#5074) 2018-07-23 17:41:59 +02:00
go.mod all: Use new reflect based CLI (#5487) 2019-02-12 07:58:24 +01:00
go.sum all: Use new reflect based CLI (#5487) 2019-02-12 07:58:24 +01:00
snapcraft.yaml.template build: Improve snap generation (fixes #4863, fixes #5000) (#5034) 2018-06-27 08:08:57 +02:00

README.md

Syncthing


Latest Downloads Latest Linux & Cross Build Latest Windows Build Latest Mac Build MPLv2 License CII Best Practices Go Report Card

Goals

Syncthing is a continuous file synchronization program. It synchronizes files between two or more computers. We strive to fulfill the goals below. The goals are listed in order of importance, the most important one being the first. This is the summary version of the goal list - for more commentary, see the full Goals document.

Syncthing should be:

  1. Safe From Data Loss

    Protecting the user's data is paramount. We take every reasonable precaution to avoid corrupting the user's files.

  2. Secure Against Attackers

    Again, protecting the user's data is paramount. Regardless of our other goals we must never allow the user's data to be susceptible to eavesdropping or modification by unauthorized parties.

  3. Easy to Use

    Syncthing should be approachable, understandable and inclusive.

  4. Automatic

    User interaction should be required only when absolutely necessary.

  5. Universally Available

    Syncthing should run on every common computer. We are mindful that the latest technology is not always available to any given individual.

  6. For Individuals

    Syncthing is primarily about empowering the individual user with safe, secure and easy to use file synchronization.

  7. Everything Else

    There are many things we care about that don't make it on to the list. It is fine to optimize for these values, as long as they are not in conflict with the stated goals above.

Getting Started

Take a look at the getting started guide.

There are a few examples for keeping Syncthing running in the background on your system in the etc directory. There are also several GUI implementations for Windows, Mac and Linux.

Vote on features/bugs

We'd like to encourage you to vote on issues that matter to you. This helps the team understand what are the biggest pain points for our users, and could potentially influence what is being worked on next.

Getting in Touch

The first and best point of contact is the Forum. There is also an IRC channel, #syncthing on freenode (with a web client), for talking directly to developers and users. If you've found something that is clearly a bug, feel free to report it in the GitHub issue tracker.

Building

Building Syncthing from source is easy, and there's a guide that describes it for both Unix and Windows systems.

Signed Releases

As of v0.10.15 and onwards release binaries are GPG signed with the key D26E6ED000654A3E, available from https://syncthing.net/security.html and most key servers.

There is also a built in automatic upgrade mechanism (disabled in some distribution channels) which uses a compiled in ECDSA signature. macOS binaries are also properly code signed.

Documentation

Please see the Syncthing documentation site.

All code is licensed under the MPLv2 License.