Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

github: install missing pidof tool #19

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ jobs:
dnf -y install gcc g++
fi
if [ "${{ matrix.token }}" = "ock" ]; then
dnf -y install opencryptoki opencryptoki-swtok gnutls-utils
dnf -y install opencryptoki opencryptoki-swtok gnutls-utils \
procps-ng
fi
fi
- name: Prep soft-tokens
Expand Down
9 changes: 9 additions & 0 deletions tests/setup-ock.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ if [ $? -eq 1 ]; then
exit 77
fi

#######################################
echo "## List tokens"
GNUTLS_PIN=${OCK_USER_PIN} \
${P11TOOL} --list-token-urls

echo "##################################################"
echo "## Setup test environment (module: ock)"
echo "##"
Expand Down Expand Up @@ -128,6 +133,10 @@ ${P11TOOL} --write --label ${LABEL} \
"${URI_TOKEN}" 2> /dev/null \
|| exit 99

GNUTLS_PIN=${OCK_USER_PIN} \
${P11TOOL} --list-keys \
"${URI_TOKEN}" 2> /dev/null

#######################################
echo "## Generate openssl config file"
OPENSSL_CONF=${TMPPDIR}/pkcs11sign.cnf
Expand Down
Loading