Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Trust and Identity Incubator
alternate-mdx
Commits
742425f3
Commit
742425f3
authored
Jan 21, 2022
by
Martin van Es
Browse files
Improve README
parent
23998d8f
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
742425f3
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment