OpenSC / libp11

PKCS#11 wrapper library
GNU Lesser General Public License v2.1
298 stars 183 forks source link

MacOs Openssl CI tests failures #494

Closed bharsaklemukesh975 closed 1 year ago

bharsaklemukesh975 commented 1 year ago

FAIL: rsa-testpkcs11.softhsm FAIL: rsa-testfork.softhsm FAIL: rsa-testlistkeys.softhsm FAIL: rsa-evp-sign.softhsm PASS: ec-evp-sign.softhsm PASS: ec-testfork.softhsm PASS: fork-change-slot.softhsm FAIL: rsa-pss-sign.softhsm FAIL: rsa-oaep.softhsm FAIL: case-insensitive.softhsm FAIL: rsa-check-privkey.softhsm PASS: ec-check-privkey.softhsm FAIL: pkcs11-uri-without-token.softhsm FAIL: search-all-matching-tokens.softhsm PASS: ec-cert-store.softhsm PASS: ec-copy.softhsm

Testsuite summary for libp11 0.4.13_git

TOTAL: 16

PASS: 6

SKIP: 0

XFAIL: 0

FAIL: 10

make[3]: *** [test-suite.log] Error 1

XPASS: 0

ERROR: 0

mtrojnar commented 1 year ago

OpenSC needs to be installed with brew install --cask opensc, or it fails with OSX High Sierra or later.

See https://formulae.brew.sh/formula/opensc for details:

The OpenSSH PKCS11 smartcard integration will not work from High Sierra onwards. If you need this functionality, unlink this formula, then install the OpenSC cask.

Also, make sure to build and test libp11 against the same version of OpenSSL.