Commit 742425f3 authored by Martin van Es's avatar Martin van Es
Browse files

Improve README

parent 23998d8f
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment