-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.json.example
58 lines (58 loc) · 2.58 KB
/
config.json.example
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
# vim:set ft=yaml expandtabs=true:
{
"copy": {
# When using the copy argument this is expected to be a command that reads
# a password from stdin and puts it into a X selection
"call": "xsel -pi",
# By default, "copy" does not give any visible output to identify the entry
# selected. This is considered safer, but means you do not get the details
# which might e.g. contain user names. By enabling this, title and details
# of a copied password will be printed on stdout.
"show_details": false
},
"pwgen": {
# built-in modes:
# xkcd Random word generator as per XKCD 936
# alnum Random letters/numbers
# print Random characters (letters, digits, punctuation)
# external (see below)
"mode": "alnum",
# external expects this to be a shell call to an external binary, which
# returns a single password in stdin
#
# ex. (comparable to builtin alnum):
#"call": "tr -dc '[:alnum:]' < /dev/urandom | fold -b16 | head -n1",
"call": null,
# This is the estimated entropy to use for new passwords
# 64 bits equal ~12 alnum characters, or ~5 words (depending on dictionary)
# 192 bits are ~32 characters, or ~12 words
# If you don't plan to memorize passwords, it is recommended to use the
# highest strength allowed by the target application.
"bits": 192,
# xkcd mode needs a dictionary to choose words from
# This can be any file that contains one word per line
"dict": "/usr/share/dict/words"
},
"encryption": {
# This is the scrypt maxtime setting for metadata – titles/descriptions.
# As those are decrypted on the fly while searching for data, you might
# want to keep this low for performance reasons (search time = 2*maxtime
# per password). Nothing (except your own patience) prevents you from
# settings this as high as the password complexity, however.
"metadata_complexity": 0.01,
# This is the maxtime setting for actual passwords. They're only decrypted
# upon match, and thus don't affect performance as much.
"password_complexity": 1,
# This is factor for the scrypt maxmem setting: maxmem = complexity*factor
# i.e., 64M for passwords, with complexity 2 and factor 32M
# ex:
#"memory_factor": 655360, #640k ought to be enough for everybody, or not
#"memory_factor": 1G,
#"memory_factor": 4000K,
"memory_factor": "512M",
# This is the salt length (in byte) for the password-derived keys. Will
# only affect newly created databases. As this has neglibile impact on
# performance, it can be left at the default.
"salt": 32
}
}