From 88f2288fba08d984bf082e4d2a5990eee06e81ab Mon Sep 17 00:00:00 2001 From: Klemens Nanni Date: Thu, 2 Jun 2022 16:30:29 +0200 Subject: [PATCH] digidoc-tool.1: Use actual PKCS11 module path On Linux and BSD, the macOS defualt is certainly wrong. Use the variable populated by CMake to reflect the actually used path in the manual. This properly shows the following on OpenBSD: --pkcs11[=] - default is /usr/local/lib/pkcs11/opensc-pkcs11.so. Path of PKCS11 driver. Signed-off-by: Klemens Nanni --- src/digidoc-tool.1.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/digidoc-tool.1.cmake b/src/digidoc-tool.1.cmake index c9c51f8e..1f1bd4f6 100644 --- a/src/digidoc-tool.1.cmake +++ b/src/digidoc-tool.1.cmake @@ -56,7 +56,7 @@ Command sign: --postalCode= - postalCode of production place --country= - country of production place --role= - option can occur multiple times. Signer role(s) - --pkcs11[=] - default is /Library/OpenSC/lib/opensc-pkcs11.so. Path of PKCS11 driver. + --pkcs11[=] - default is ${PKCS11_MODULE}. Path of PKCS11 driver. --pkcs12= - pkcs12 signer certificate (use --pin for password) --pin= - default asks pin from prompt --sha(224,256,384,512) - set default digest method (default sha256)