Skip to main content

2025 年 4 月 2 日

Disabling the CryptoTokenKit Smart Card Driver

To use a third-party smart card driver, you must disable the CryptoTokenKit smart card driver on the client system.

To determine which smart card drivers are installed, type the following command on the client system.

#system_profiler SPSmartCardsDataType

To determine whether a smart card is supported by the CryptoTokenKit smart card driver, type the following command on the client system.

#security list-smartcards

To disable the CryptoTokenKit smart card driver for CAC and PIV cards, use the following command on the client system.

#sudo defaults write /Library/Preferences/com.apple.security.smartcard DisabledTokens -array com.apple.CryptoTokenKit.pivtoken

To disable the CryptoTokenKit smart card driver for Gemalto .NET cards, use the following command on the client system.

#sudo defaults write /Library/Preferences/com.apple.security.smartcard DisabledTokens -array com.gemalto.Gemalto-Smart-Card-Token.PKCS11-Token

此頁面對您有幫助嗎?

針對本主題提供意見回饋

本主題對您有幫助嗎?

請勿填寫任何個人或機密資訊。

正在產生連結…