Protected Authentication Path enabled when using the opensc-pkcs11 driver #81
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hello,
PicoHSM: 5.4
OS: Windows 11, Ubuntu 24.04
OpenSC: 0.25.0~rc1-1build2 on Ubuntu, 0.23.0.0 on Windows
When using the opensc-pkcs11 driver, it detects that the token has Protected Authentication Path enabled, so a lot of applications do not ask for the PIN.
When using ssh -I -v I see that the opensc library thinks I should use the hardware pinpad and doesn't ask for the pin:
I also tried to disable the pinpad in opensc-pkcs11 driver config but it doesn't seem to work for me.
opensc.conf:
Amazingly, the putty-cac pageant actually correctly loads the key and asks for the pin when using this opensc-pkcs11.dll driver, whereas when using the CardContact driver it crashes when it tries to load the driver. So some applications might still correctly work with it.
The CardContact driver https://github.com/CardContact/sc-hsm-embedded detects that the token doesn't have Protected Authentication Path enabled so it works correctly.
Thanks,
Tiberiu