-
Notifications
You must be signed in to change notification settings - Fork 713
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MacOS: cannot use /Library/OpenSC/lib/opensc-pkcs11.so - agent refused operation #1040
Comments
I don't follow at all - what symbolic link are we talking about? The bottom line is opensc used to work out of the box on MacOS Sierra, it now doesn't. Please fix this - I cannot give my team instructions to refer to some bug report on github in order that they can log into our systems with ssh. If I knew what was wrong I'd happily contribute a PR, but alas I do not. All I can confirm is out the box, opensc no longer works on MacOS Sierra. |
Simply try the suggested fix: #1041 |
2022, I get a password prompt, no matter what I do, same error, what dis? |
Expected behaviour
Using MacOS Sierra latest version, with built in ssh, "ssh-add -s /Library/OpenSC/lib/opensc-pkcs11.so" works properly.
Actual behaviour
We fail with the error "agent refused operation".
Little-Net:~ minfrin$ ssh-add -s /Library/OpenSC/lib/opensc-pkcs11.so
Enter passphrase for PKCS#11:
Could not add card "/Library/OpenSC/lib/opensc-pkcs11.so": agent refused operation
Steps to reproduce
This bug is similar to #1008, but that bug describes the pkcs11 driver in /usr/local/lib, in this case we have the driver in /Library/OpenSC/lib/.
It seems the /Library/OpenSC/lib/ directory is not "blessed".
The text was updated successfully, but these errors were encountered: