# 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 ## Configure For now, see config/sys.config. ## Run To start an Erlang shell running the p11p application: $ make shell A socket file per configured token /run/user/$EUID/p11p/$TOKEN-$PID can now be used by a client. Example during debug phase: $ echo foo | socat - UNIX-CONNECT:/run/user/1000/p11p/vtoken1-23484 ok, thanks: foo ## Known bugs and limitations - Multiple p11 applications using the same vtoken in a given p11p-daemon will result in undefined behaviour. We should either make this work, or prohibit it by rejecting a second user of the same vtoken.