syncthing/lib/discover
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
..
cache_test.go all: Revert the underscore sillyness 2019-02-02 12:16:27 +01:00
cache.go lib/connections: Add QUIC protocol support (fixes #5377) (#5737) 2019-05-29 09:56:40 +02:00
debug.go all, lib/logger: Refactor SetDebug calls (#6054) 2019-10-04 13:03:34 +02:00
discover.go all, vendor: Switch back to non-forked thejerf/suture (#5171) 2018-09-08 12:56:56 +03:00
doc.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
global_test.go all: Update certificate lifetimes (fixes #6036) (#6078) 2019-10-16 20:31:46 +02:00
global.go all: Remove global events.Default (ref #4085) (#5886) 2019-08-15 16:29:37 +02:00
local_test.go all: Remove global events.Default (ref #4085) (#5886) 2019-08-15 16:29:37 +02:00
local.go lib/discover: Don't leak goroutines (#5950) 2019-08-22 12:30:57 +02:00
local.pb.go build: Upgrade github.com/gogo/protobuf (#5994) 2019-09-04 07:33:29 +01:00
local.proto all: Update protobuf package 1.0.0 -> 1.2.0 (#5452) 2019-01-14 11:53:36 +01:00