summaryrefslogtreecommitdiff
path: root/p11p-daemon/config/sys.config
blob: e697383cd4150080eb884593cf9d8e61f8f2bc1c (plain)
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
%% -*- erlang -*-
[
 {p11p,
  [
   {loglevel, 3},
   {proxyapp_bin_path, "/usr/lib/x86_64-linux-gnu/p11-kit/p11-kit-remote"},
   {testing_drop_prob, 0},
   {vtokens,
    [{"vtoken0",
      [
       {timeout, 2000},
       {modules,
	[
	 {"softhsm2", "/usr/lib/softhsm/libsofthsm2.so"},
	 {"bogusmod_0", "/usr/lib/softhsm/libsofthsm2.so"}
	]}
      ]},
     {"vtoken1",
      [
       %% Try failover twice, even if we have only one token. In
       %% effect, retry the same token once after a failure.
       {failover, 2},
       {timeout, 1000},
       {modules,
	[
	 {"softhsm2", "/usr/lib/softhsm/libsofthsm2.so", [{"SOFTHSM2_CONF", "/home/linus/usr/src/p11p/tests/softhsm/softhsm2.conf"}]}
	]}
      ]}
    ]}
  ]},
 {lager,
  [{handlers,
    [
     {lager_console_backend, [{level, debug}]}
    ]}]}
].