From c812e52bad579236380285d539d38c632410c296 Mon Sep 17 00:00:00 2001 From: aJuvan Date: Mon, 15 Dec 2025 16:50:11 +0100 Subject: [PATCH] Added docs for module --- README.md | 4 ++++ 1 file changed, 4 insertions(+) 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 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 -i bc-digsign://sign?… + The script will prompt for the PIN to unlock the smartcard. To find the key ID, run pkcs11-tool -O