-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.sample.toml
65 lines (52 loc) · 1.68 KB
/
config.sample.toml
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# The account name should be unique.
#
[accounts.example]
# Make this current account the default one to use when no account is
# specified in the CLI with the --account argument.
#
default = true
# Enable contact management using a local or remote CardDAV server.
#
# Read more about the CardDAV protocol:
# <https://en.wikipedia.org/wiki/CardDAV>
#
backend.type = "carddav"
# The CardDAV server host name.
#
backend.conf.hostname = "localhost"
# The CardDAV server port.
#
#backend.port = 8001
backend.conf.port = 8843
# The home URI where to find addressbooks.
#
backend.conf.home-uri = "/default"
# The HTTP version to use to communicate with the CardDAV server.
#
#backend.conf.http-version = "1.0"
backend.conf.http-version = "1.1"
# The encryption used to communicate with the CardDAV server.
#
#backend.conf.encryption.type = "none" # plain HTTP (not recommended)
#backend.conf.encryption.type = "native-tls" # HTTPS using native TLS
backend.conf.encryption.type = "rustls" # HTTPS using Rustls
# The crypto provider to use.
# NOTE: only works with encryption.type = "rustls"
#
#backend.conf.encryption.conf.crypto = "ring"
backend.conf.encryption.conf.crypto = "aws-lc"
# The HTTP Authentication method.
#
#backend.conf.authentication.type = "none"
backend.conf.authentication.type = "basic"
backend.conf.authentication.conf.username = "test@localhost"
backend.conf.authentication.conf.password-command = "pass show password"
# Enable contact management using a local vdir.
#
# Read more about the Vdir storage:
# <https://vdirsyncer.pimutils.org/en/stable/vdir.html>
#
#backend.type = "vdir"
# The home path where to find addressbooks.
#
#backend.conf.home-dir = "/path/to/addressbooks"