mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-22 19:08:58 +00:00
4736cccda1
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. |
||
---|---|---|
.. | ||
etc | ||
scripts | ||
apisrv_test.go | ||
apisrv.go | ||
database_test.go | ||
database.go | ||
database.pb.go | ||
database.proto | ||
main.go | ||
README.md | ||
replication.go | ||
stats.go |
stdiscosrv
This is the global discovery server for the syncthing
project.