Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,7 +25,7 @@ | |
from xmlsec.test.case import load_test_data | ||
|
||
P11_MODULE = find_alts(['/usr/lib/libsofthsm.so', '/usr/lib/softhsm/libsofthsm.so', '/usr/lib/softhsm/libsofthsm2.so']) | ||
P11_ENGINE = find_alts(['/usr/lib/engines/engine_pkcs11.so','/usr/lib/x86_64-linux-gnu/engines-1.1/pkcs11.so']) | ||
P11_ENGINE = find_alts(['/usr/lib/ssl/engines/libpkcs11.so','/usr/lib/engines/engine_pkcs11.so']) | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
c00kiemon5ter
Member
|
||
P11_SPY = find_alts(['/usr/lib/pkcs11/pkcs11-spy.so']) | ||
PKCS11_TOOL = find_alts(['/usr/bin/pkcs11-tool']) | ||
OPENSC_TOOL = find_alts(['/usr/bin/opensc-tool']) | ||
|
@@ -41,7 +41,7 @@ | |
raise unittest.SkipTest("OpenSSL not installed") | ||
|
||
if SOFTHSM is None: | ||
raise unittest.SkipTest("SoftHSM not installed") | ||
raise unittest.SkipTest("SoftHSM2 not installed") | ||
|
||
if OPENSC_TOOL is None: | ||
raise unittest.SkipTest("OpenSC not installed") | ||
|
@@ -134,8 +134,8 @@ def setup(): | |
[pkcs11_section] | ||
engine_id = pkcs11 | ||
# dynamic_path = %s | ||
# MODULE_PATH = %s | ||
dynamic_path = %s | ||
MODULE_PATH = %s | ||
This comment has been minimized.
Sorry, something went wrong.
sklemer1
Contributor
|
||
PIN = secret1 | ||
init = 0 | ||
|
I didn't make this path up when introducing it :) -- Ubuntu has the engines in
/usr/lib/x86_64-linux-gnu/engines-1.1/
. Please consider re-adding it. On entry less or more shouldn't harm here.