Updater
- The updater looks for updates to certificates from the certificate store. - The updates are spaced by random time intervals so that the reconstruction of the content of the cert store is made more difficult. - The updater can be send into the background - start, stop and status are implemented. - The state of the updater is persisted to disk so that the update procedure survives a restart.
This commit is contained in:
@@ -8,6 +8,10 @@ sequoia_home = "/tmp/sq_home"
|
||||
#keyservers = [ "hkps://keys.openpgp.org/", "hkps://mail-api.proton.me", "hkps://keys.mailvelope.com", "hkps://keyserver.ubuntu.com", "hkps://sks.pod01.fleetstreetops.com" ]
|
||||
keyservers = [ "hkp://example.com" ]
|
||||
|
||||
[updater]
|
||||
wait_min = 1
|
||||
wait_max = 2
|
||||
|
||||
[logging.appenders.console]
|
||||
kind = "console"
|
||||
[logging.appenders.console.encoder]
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
appenders:
|
||||
stdout_appender:
|
||||
kind: console
|
||||
encoder:
|
||||
pattern: "{h({d(%Y-%m-%d %H:%M:%S)(utc)} - {l}: {m}{n})}"
|
||||
|
||||
file_appender:
|
||||
kind: file
|
||||
path: "/tmp/husk.log"
|
||||
encoder:
|
||||
pattern: "{h({d(%Y-%m-%d %H:%M:%S)(utc)} - {l}: {m}{n})}"
|
||||
|
||||
root:
|
||||
level: debug
|
||||
appenders:
|
||||
- stdout_appender
|
||||
Reference in New Issue
Block a user