-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.toml
More file actions
30 lines (26 loc) · 755 Bytes
/
config.toml
File metadata and controls
30 lines (26 loc) · 755 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
[server]
listen_addr = "127.0.0.1"
port = 50051
use_unix_socket = false
unix_socket = "/var/run/locksign/locksign.sock"
tls_enabled = false
# tls_cert = "/etc/locksign/server.crt"
# tls_key = "/etc/locksign/server.key"
max_connections = 100
[storage]
keystore_path = "./data/keys"
encryption_algorithm = "aes-256-gcm"
kdf_iterations = 100000
[security]
enable_mlock = true
disable_core_dumps = true
max_key_age_days = 0 # 0 = no limit
require_master_password = true
[policy]
enabled = true
rules_path = "./config/policies.json"
default_daily_limit = 1000000000000000000 # 1 ETH in wei
[logging]
level = "info" # trace, debug, info, warn, error
format = "pretty" # pretty, json
# file = "/var/log/locksign/locksign.log"