summaryrefslogtreecommitdiff
path: root/p11p-daemon/README.md
blob: d228faf86b57db1502ed9a478242b852493347d2 (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
# p11p is a PKCS #11 proxy

## Compile

If you don't have rebar3 installed, install it. Example:

    FIXME

If you don't have rebar3 in PATH, add it. Example:

    $ export PATH=$PATH:~/.cache/rebar3/bin

Compile:

    $ make

## Run

To start an Erlang shell running the p11p application:

    $ make shell

A socket file per configured token can now be found in /run/user/$UID/p11p/.

    $ echo foo | socat - UNIX-CONNECT:/run/user/1000/p11p/vtoken0
	ok, thanks: foo