SmartCard pairing does not work

Hi,


as the topic says, the SmartCard pairing and PIN dialogues don't show up on my system. We have configured other Macs with an identical setup and those machines work fine.


Using OpenSC for access to the cards it works fine.


Also, the necessary Root and Intermediate certs are installed in the system keychain


What I've checked/tested so far:


  1. pcsctest - successful
  2. pkcs11-tool --login --test - works
  3. pkcs11-tool --list-objects - works
  4. system_profiler SPSmartCardsDataType - shows all the certs
  5. sc_auth identities - lists identities
  6. sc_auth pairing_ui -s status - enabled
  7. security list-smartcards - lists the smartcard
  8. security smartcards token -l - is empty
  9. Clean install of macOS - issue still exists
  10. Reset SMC - issue still exists


Here's the errors I was able to find:


sc_auth verifypin


Verifying PIN of SmartCard in reader Certgate AirID via BLE

ERROR: Unable to select card application AID {length = 11, bytes = 0xa000000308000010000100}


sc_auth pairing_ui


Hangs


sc_auth pairing_ui -f


Causes ctkbind to throw this message:



No RSA decryption key or ECDH key was found for token: org.opensc-project.mac.opensctoken.OpenSCTokenApp.OpenSCToken:f4d79630d09b7cfdb1ffd95cc5f32981

<Insert the Card>


Console.app shows this error for ctkbind (as above):



No RSA decryption key or ECDH key was found for token: org.opensc-project.mac.opensctoken.OpenSCTokenApp.OpenSCToken:f4d79630d09b7cfdb1ffd95cc5f32981

I appreciate any help on this topic.

Posted on Feb 24, 2023 4:05 PM

Reply

Similar questions

1 reply

Feb 26, 2023 4:01 PM in response to paoloderosa

Hello paoloderosa,


Thank you for using Apple Support Communities. For this unique issue, we recommend that you try booting up in safe mode. This step can help isolate possible software related issues: How to use safe mode on your Mac - Apple Support


Apple silicon
1.) Shut down your Mac.
2.) Turn on your Mac and continue to press and hold the power button until you see the startup options window.
3.) Select your startup disk, then press and hold the Shift key while clicking “Continue in Safe Mode.”
4.) Log in to your Mac. You might be asked to log in again.



Depending on your results, follow the steps under “If the issue continues in safe mode” or “If the issue doesn't continue in safe mode”. If you continue to notice this issue occur, even after following the steps for safe mode, please reach out to Apple Support.


Contact Apple for support and service


Thank you for using Apple Support Communities. Best of luck.



This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

SmartCard pairing does not work

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.