Hi
I've setup a SSH key to be accessed from PKCS#11 according to this guide:
https://developers.yubico.com/yubico-piv-tool/SSH_with_PIV_and_PKCS11.htmlI [s]can[s] can not connect when specifying PKCS#11 as source for SSH
Code:
ssh -I $OPENSC_LIB user@remote.example.com
I've also verified that it does not work when my Yubikey is not inserted into the USB slot.
When I try to add the key to the SSH Agent then I get the following interaction
Code:
ssh-add -s $OPENSC_LIB
Enter passphrase for PKCS#11:
Could not add card "/usr/local/Cellar/opensc/0.16.0-pre1/lib/pkcs11/opensc-pkcs11.so": agent refused operation
Any hints as to why ssh-add nor ssh works according to the guide? Am I using the correct driver?
OS: Mac OS El Capitan
Yubikey PAM enabled for: Login, Screensaver, Sudo
OpenSC: 0.16.0-pre1