summaryrefslogtreecommitdiff
path: root/p11p-daemon/README.md
diff options
context:
space:
mode:
authorLinus Nordberg <linus@sunet.se>2019-06-24 10:02:41 +0200
committerLinus Nordberg <linus@sunet.se>2019-06-24 10:02:41 +0200
commit6f8df1ecec5461565092a2f95006d934051c48ad (patch)
tree086e1614ea8fbf992cf2f4295aa2491806a531eb /p11p-daemon/README.md
parentb7d1ba772461ed5d11c5aeaacec9034ad0f025a1 (diff)
add README
Diffstat (limited to 'p11p-daemon/README.md')
-rw-r--r--p11p-daemon/README.md26
1 files changed, 26 insertions, 0 deletions
diff --git a/p11p-daemon/README.md b/p11p-daemon/README.md
new file mode 100644
index 0000000..d228faf
--- /dev/null
+++ b/p11p-daemon/README.md
@@ -0,0 +1,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