Skip to content

Commit

Permalink
tests: No longer skip tests reading EC keys from cert
Browse files Browse the repository at this point in the history
This condition was introduced at the time when we were running the
softhsm under p11-kit proxy, which caused some issues to mac.

We no longer do this so there is no need to skip this test either.

Signed-off-by: Jakub Jelen <[email protected]>
  • Loading branch information
Jakuje committed Aug 22, 2024
1 parent 198ef1b commit 1c68f56
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions tests/tpubkey
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,10 @@ if [ -n "$BASE2URI" ]; then
title LINE "Export Public key to a file (base-uri)"
ossl 'pkey -in $BASE2URI -pubout -out ${TMPPDIR}/base-cert.pub'
diff "${TMPPDIR}/base-cert.pub" "${TMPPDIR}/priv-cert.pub"
fi

# The MacOS keeps crashing in this step so lets skip the remaining tests
if [ "$(uname)" == "Darwin" ]; then
exit 0
fi
if [ -n "$ECBASE2URI" ]; then
title PARA "Check we can get EC public keys from certificate objects"

title LINE "Export Public EC key to a file (priv-uri)"
ossl 'pkey -in $ECPRI2URI -pubout -out ${TMPPDIR}/ec-priv-cert.pub'
Expand Down

0 comments on commit 1c68f56

Please sign in to comment.