aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2024-02-26 19:03:38 -0500
committerGreg Hudson <ghudson@mit.edu>2024-03-18 21:05:34 -0400
commit8ab61608236883fdc5c2d43f4bd1ff2094401d19 (patch)
tree9ca08008c5403d379e4bb2b0d76b174201c91a07 /.github
parent34ca9d1a185f401b56815218a32cba683c47c93c (diff)
downloadkrb5-8ab61608236883fdc5c2d43f4bd1ff2094401d19.zip
krb5-8ab61608236883fdc5c2d43f4bd1ff2094401d19.tar.gz
krb5-8ab61608236883fdc5c2d43f4bd1ff2094401d19.tar.bz2
Use SoftHSMv2 for PKCS11 PKINIT tests
Instead of softpkcs11, use SoftHSMv2 to mock the PKCS11 token for PKINIT tests. Use pkcs11-tool from OpenSC to initialize the token and import a certificate and key. SoftHSM does not support PIN-less tokens (see https://github.com/opendnssec/SoftHSMv2/issues/480) so remove that test for now.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 5ed42a4..350ed3d 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -33,7 +33,7 @@ jobs:
if: startsWith(matrix.os, 'ubuntu')
run: |
sudo apt-get update -qq
- sudo apt-get install -y bison gettext keyutils ldap-utils libcmocka-dev libldap2-dev libkeyutils-dev libsasl2-dev libssl-dev python3-kdcproxy python3-pip slapd tcsh yasm
+ sudo apt-get install -y bison gettext keyutils ldap-utils libcmocka-dev libldap2-dev libkeyutils-dev libsasl2-dev libssl-dev python3-kdcproxy python3-pip slapd tcsh yasm softhsm2 opensc
pip3 install pyrad
- name: Build
env: