Skip to content

Commit

Permalink
tests: Enable rsapssam for kryoptic
Browse files Browse the repository at this point in the history
For some raeson, with the kryoptic backend we are not getting all the same
errors, but this one is common.

Signed-off-by: Jakub Jelen <jjelen@redhat.com>
  • Loading branch information
Jakuje authored and simo5 committed Jan 20, 2025
1 parent ca72b5e commit c96624c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ tests = {
'hkdf': {'suites': ['softokn', 'kryoptic', 'kryoptic.nss']},
'imported' : {'suites': ['softokn', 'kryoptic', 'kryoptic.nss']},
'rsapss': {'suites': ['softokn', 'softhsm', 'kryoptic', 'kryoptic.nss']},
'rsapssam': {'suites': ['softhsm']},
'rsapssam': {'suites': ['softhsm', 'kryoptic']},
'genkey': {'suites': ['softokn', 'softhsm', 'kryoptic', 'kryoptic.nss']},
'session': {'suites': ['softokn', 'softhsm', 'kryoptic', 'kryoptic.nss']},
'rand': {'suites': ['softokn', 'softhsm', 'kryoptic', 'kryoptic.nss']},
Expand Down
2 changes: 1 addition & 1 deletion tests/trsapssam
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ if [ $FAIL -eq 0 ]; then
fi
output="$helper_output"
FAIL=0
echo "$output" | grep "mechanism not allowed with this key" > /dev/null 2>&1 || FAIL=1
echo "$output" | grep "Public Key operation error" > /dev/null 2>&1 || FAIL=1
if [ $FAIL -ne 0 ]; then
echo "Signature seem to have failed for unrelated reasons"
echo "$output";
Expand Down

0 comments on commit c96624c

Please sign in to comment.