- Only considering the fingerprint of a certificate for online querying of updates leaves out WKD and DANE as sources. Add the email addresses of a certificate to the update process.
77 lines
1.7 KiB
TOML
77 lines
1.7 KiB
TOML
#
|
|
# Husk config file
|
|
#
|
|
|
|
# The directory for anything Sequoia PGP related (keystore, certstore).
|
|
#
|
|
# default: /var/lib/husk
|
|
sequoia_home = "/tmp/sq_home"
|
|
|
|
[milter]
|
|
# IP and port the milter will listen on.
|
|
#
|
|
# no default, must be specified.
|
|
connection = "localhost:3000"
|
|
|
|
# Keyservers to use for key lookup.
|
|
#
|
|
# Example:
|
|
# keyservers = [ "hkps://keys.openpgp.org/", "hkps://mail-api.proton.me", "hkps://keys.mailvelope.com", "hkps://keyserver.ubuntu.com", "hkps://sks.pod01.fleetstreetops.com" ]
|
|
#
|
|
# The default is the empty list, which prevents keyserver lookups.
|
|
keyservers = [ "hkp://example.com" ]
|
|
|
|
# Location of the pid file of the milter.
|
|
#
|
|
# default: /var/lib/husk/husk.pid
|
|
|
|
# Subject header lines are protected (exchanged).
|
|
#
|
|
# Specify your replacement string:
|
|
# subject_replacement = "Encrypted message"
|
|
#
|
|
# default: "..."
|
|
|
|
# Tor usage: If configured, the milter will use Tor via the specified
|
|
# sock5 proxy.
|
|
#
|
|
# use_tor_via = "socks5://localhost:9050/"
|
|
#
|
|
# default: unconfigured, meaning: no usage of Tor.
|
|
|
|
[updater]
|
|
|
|
# The interval between two update requests for a certificate are
|
|
# random.
|
|
#
|
|
# wait_min and wait_max specify the range for that randomness.
|
|
# defaults:
|
|
# wait_min = 5
|
|
# wait_max = 3600
|
|
wait_min = 1
|
|
wait_max = 2
|
|
|
|
# Tor usage of the updater process. Semantics (and default) are the same
|
|
# as with the milter.
|
|
use_tor_via = "socks5://localhost:9050/"
|
|
|
|
[logging.appenders.console]
|
|
kind = "console"
|
|
[logging.appenders.console.encoder]
|
|
pattern = "{d(%Y-%m-%d %H:%M:%S)(local)} {h({l})} [{t}] {m}{n}"
|
|
|
|
[logging.appenders.file]
|
|
kind = "file"
|
|
path = "/tmp/husk.log"
|
|
|
|
[logging.appenders.file.encoder]
|
|
pattern = "{d(%Y-%m-%d %H:%M:%S)(local)} {h({l})} [{t}] {m}{n}"
|
|
|
|
[logging.root]
|
|
level = "debug"
|
|
appenders = ["file"]
|
|
|
|
[logging.loggers."husk"]
|
|
level = "debug"
|
|
|