From 742425f3ee30e0d1fed8af39a5f579e622846dcf Mon Sep 17 00:00:00 2001
From: Martin van Es <martin@mrvanes.com>
Date: Fri, 21 Jan 2022 10:09:06 +0100
Subject: [PATCH] Improve README

---
 README.md | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/README.md b/README.md
index c3436ce..31f01da 100644
--- a/README.md
+++ b/README.md
@@ -3,6 +3,7 @@
 Alternate MDX research project
 
 ## Usage
+- apt install swig
 - Create python virtualenv
 - Activate virtualenv (```. bin/activate```)
 - ```pip install -r requirements.txt```
@@ -32,6 +33,7 @@ MDQ Queries can then be pointed at
 ## Bootstrap softHSM2
 This is a very brief summary of the successive commands to initialize softHSM2 for testing. Tested on Ubuntu 21.10.
 ```
+# apt install softhsm opensc libengine-pkcs11-openssl
 # softhsm2-util --show-slots
 # softhsm2-util --init-token --slot 0 --label "My token 1" --pin "secret" --so-pin "secret"
 # softhsm2-util --show-slots
@@ -43,4 +45,5 @@ This is a very brief summary of the successive commands to initialize softHSM2 f
 # openssl x509 -inform PEM -outform DER -in hsm.crt -out hsm.der
 
 # pkcs11-tool --module /usr/lib/softhsm/libsofthsm2.so -l --slot-index 0 --id a1b2 --label test -y cert -w hsm.der --pin secret
+# pkcs11-tool --module /usr/lib/softhsm/libsofthsm2.so -l --pin secret -O
 ```
\ No newline at end of file
-- 
GitLab