travis CI: testsuite fix (tests/test-pkcs11-tool-allowed-mechanisms.sh)
Ubuntu (focal) softhsm2 workaround - mechanism listing incorrect
This commit is contained in:
parent
7d274a0d72
commit
dd48facd38
|
@ -22,7 +22,7 @@ MECHANISMS="RSA-PKCS,SHA1-RSA-PKCS,RSA-PKCS-PSS"
|
||||||
# Generate key pair
|
# Generate key pair
|
||||||
$PKCS11_TOOL --keypairgen --key-type="RSA:" --login --pin=$PIN \
|
$PKCS11_TOOL --keypairgen --key-type="RSA:" --login --pin=$PIN \
|
||||||
--module="$P11LIB" --label="test" --id="$ID" \
|
--module="$P11LIB" --label="test" --id="$ID" \
|
||||||
--allowed-mechanisms="$MECHANISMS"
|
--allowed-mechanisms="$MECHANISMS,SHA384-RSA-PKCS"
|
||||||
assert $? "Failed to Generate RSA key pair"
|
assert $? "Failed to Generate RSA key pair"
|
||||||
|
|
||||||
# Check the attributes are visible
|
# Check the attributes are visible
|
||||||
|
|
Loading…
Reference in New Issue