-
Notifications
You must be signed in to change notification settings - Fork 109
Open
Description
Environment: MacOS Sequoia 15.5, p11tool 3.7.11.
Config: I have three modules defined in ~/.config/pkcs11/modules/, and two devices: Yubikey-4, and YubiHSM2.
$ ll ~/.config/pkcs11/modules/
total 24
drwxr-xr-x 5 ur20980 staff 160 Jun 18 10:41 ./
drwxr-xr-x 4 ur20980 staff 128 May 3 2023 ../
-rw-r--r-- 1 ur20980 staff 157 Nov 14 2021 pkcs11.module
-rw-r--r-- 1 ur20980 staff 213 Jun 18 10:41 yhsm2.module
-rw-r--r-- 1 ur20980 staff 151 Nov 19 2021 ykcs11.module
$
Two modules refer to the same Yubikey-4 (one accesses it through OpenSC, the other one - via Yubico YKCS11 library/module). Both of those seem to work fine.
The third module defines access to YubiHSM2 (file yhsm2.module):
# For normal access
module: /usr/local/lib/pkcs11/yubihsm_pkcs11.dylib
# For debug - in which case set
# PKCS11SPY=/usr/local/lib/pkcs11/yubihsm_pkcs11.dylib
#module=/Library/OpenSC/lib/pkcs11-spy.so
critical: no
Problem:
p11tool --list-token-urls doesn't even try to access the HSM:
$ p11tool --list-token-urls
pkcs11:model=p11-kit-trust;manufacturer=PKCS%2311%20Kit;serial=1;token=Default%20Trust
pkcs11:model=p11-kit-trust;manufacturer=PKCS%2311%20Kit;serial=1;token=System%20Trust
pkcs11:model=PKCS%2315%20emulated;manufacturer=piv_II;serial=xxxxxxx;token=xxxxxxxxxxxxxx
pkcs11:model=YubiKey%20YK4;manufacturer=Yubico%20%28www.yubico.com%29;serial=xxxxxxxxx;token=YubiKey%20PIV%20%23xxxxxxxxxx
$
It used to work several months ago. Does not work anymore. Help, please?
Metadata
Metadata
Assignees
Labels
No labels