syncthing/lib
Jakob Borg 4736cccda1
all: Update certificate lifetimes (fixes #6036) (#6078)
This adds a certificate lifetime parameter to our certificate generation
and hard codes it to twenty years in some uninteresting places. In the
main binary there are a couple of constants but it results in twenty
years for the device certificate and 820 days for the HTTPS one. 820 is
less than the 825 maximum Apple allows nowadays.

This also means we must be prepared for certificates to expire, so I add
some handling for that and generate a new certificate when needed. For
self signed certificates we regenerate a month ahead of time. For other
certificates we leave well enough alone.
2019-10-16 20:31:46 +02:00
..
api all: Update certificate lifetimes (fixes #6036) (#6078) 2019-10-16 20:31:46 +02:00
auto build: Let "go generate" create assets 2018-06-26 10:29:36 +02:00
beacon all, lib/logger: Refactor SetDebug calls (#6054) 2019-10-04 13:03:34 +02:00
build cmd/*, lib/build: Set correct LongVersion (fixes #5993) (#5997) 2019-10-07 13:30:25 +02:00
config all, lib/logger: Refactor SetDebug calls (#6054) 2019-10-04 13:03:34 +02:00
connections all, lib/logger: Refactor SetDebug calls (#6054) 2019-10-04 13:03:34 +02:00
db lib/api: Unify JSON marshalling of file infos (#6087) 2019-10-15 11:25:12 +02:00
dialer all, lib/logger: Refactor SetDebug calls (#6054) 2019-10-04 13:03:34 +02:00
discover all: Update certificate lifetimes (fixes #6036) (#6078) 2019-10-16 20:31:46 +02:00
events all, lib/logger: Refactor SetDebug calls (#6054) 2019-10-04 13:03:34 +02:00
fs all, lib/logger: Refactor SetDebug calls (#6054) 2019-10-04 13:03:34 +02:00
ignore lib/ignore: Don't crash in partial #include line (ref #5985) (#5986) 2019-08-30 11:36:31 +02:00
locations all: Remove potentially problematic errors from panics (fixes #5839) (#5912) 2019-07-31 10:53:35 +02:00
logger all, lib/logger: Refactor SetDebug calls (#6054) 2019-10-04 13:03:34 +02:00
model gui, lib/model: Add new state FolderPreparingSync (fixes #6027) (#6028) 2019-10-16 09:08:54 +02:00
nat all, lib/logger: Refactor SetDebug calls (#6054) 2019-10-04 13:03:34 +02:00
osutil lib/model: Don't panic on failed chmod-back on directory (fixes #5836) (#5896) 2019-07-28 10:25:05 +02:00
pmp all, lib/logger: Refactor SetDebug calls (#6054) 2019-10-04 13:03:34 +02:00
protocol lib/api: Unify JSON marshalling of file infos (#6087) 2019-10-15 11:25:12 +02:00
rand lib/connections: Add QUIC protocol support (fixes #5377) (#5737) 2019-05-29 09:56:40 +02:00
rc all, lib/logger: Refactor SetDebug calls (#6054) 2019-10-04 13:03:34 +02:00
relay all, lib/logger: Refactor SetDebug calls (#6054) 2019-10-04 13:03:34 +02:00
scanner all, lib/logger: Refactor SetDebug calls (#6054) 2019-10-04 13:03:34 +02:00
sha256 all: Revert the underscore sillyness 2019-02-02 12:16:27 +01:00
signature all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
stats all, lib/logger: Refactor SetDebug calls (#6054) 2019-10-04 13:03:34 +02:00
stun all, lib/logger: Refactor SetDebug calls (#6054) 2019-10-04 13:03:34 +02:00
sync lib/sync: Cleanly fail instead of panic in tests (#6088) 2019-10-16 10:11:11 +02:00
syncthing all: Update certificate lifetimes (fixes #6036) (#6078) 2019-10-16 20:31:46 +02:00
testutils lib/model, lib/testutils: Test closing a connection on folder restart (#5707) 2019-05-18 08:53:59 +02:00
tlsutil all: Update certificate lifetimes (fixes #6036) (#6078) 2019-10-16 20:31:46 +02:00
upgrade lib/upgrade: Add html_url release field 2019-10-08 09:12:00 +02:00
upnp all, lib/logger: Refactor SetDebug calls (#6054) 2019-10-04 13:03:34 +02:00
ur all, lib/logger: Refactor SetDebug calls (#6054) 2019-10-04 13:03:34 +02:00
util lib/util: Add caller info to service (ref #5932) (#5973) 2019-10-16 09:06:16 +02:00
versioner all, lib/logger: Refactor SetDebug calls (#6054) 2019-10-04 13:03:34 +02:00
watchaggregator all, lib/logger: Refactor SetDebug calls (#6054) 2019-10-04 13:03:34 +02:00
weakhash lib/scanner: Use standard adler32 when we don't need rolling (#5556) 2019-02-25 13:29:31 +04:00