summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraJuvan <andraz.juvan@heimdall.si>2025-12-15 16:50:11 +0100
committeraJuvan <andraz.juvan@heimdall.si>2025-12-15 16:50:11 +0100
commitc812e52bad579236380285d539d38c632410c296 (patch)
tree30ad4034b566bae8dff03e6b67fcdec703fc5cff
parent898fd4caaa93d6a96f397e3cedc42bb62def5e85 (diff)
Added docs for module
-rw-r--r--README.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/README.md b/README.md
index ee94cc9..ce35bd6 100644
--- a/README.md
+++ b/README.md
@@ -16,6 +16,10 @@ To sign using a PIV-II smartcard such as the Yubikey, install `pkcs11-tool` from
marginaltool -e pkcs11 -i <KEY ID> bc-digsign://sign?…
+If you need too specify a different PKCS#11 module, like `/usr/local/lib/libykcs11.so` for the Yubikey, set the module argument by running
+
+ marginaltool -e pkcs11 -m <MODULE PATH> -i <KEY ID> bc-digsign://sign?…
+
The script will prompt for the PIN to unlock the smartcard. To find the key ID, run
pkcs11-tool -O