SMARTCARDSERVICES(7) BSD Miscellaneous Information Manual SMARTCARDSERVICES(7)
NAME
SmartCardServices -- overview of smart card support
DESCRIPTION
SmartCardServices is a set of components which add native support for
smart cards to OS X.
Supported smart cards appear as separate keychains. A Tokend module for
each smart card you wish to use must be installed in
/Library/Security/tokend
USB SMART CARD READER DRIVERS
OS X has built-in support for USB CCID class-compliant smart card read-
ers. For other readers, install the reader driver in
/usr/local/libexec/SmartCardServices/drivers. Each driver is a bundle.
The bundle contains an XML file Info.plist which contains the device's
USB vendor ID and product ID. For detailed description of the plist for-
mat and how to write a reader driver, see
SMART CARD APDU LOGGING
It is possible to turn on logging for smart cards. Logging is turned on
by setting the global preference:
sudo defaults write /Library/Preferences/com.apple.security.smartcard
Logging -bool yes
After a smart card reader is connected (or after reboot) all operations
including contents of sent and received APDU messages are then logged
into the system log. Logging uses the facility com.apple.security.smart-
card.log so it is possible to set up filtering of these logs into custom
targets (see asl.conf(5))
To avoid security risks that could occur if logging is turned on indefi-
nitely, the logging setting is one-shot - it must be turned on by the
command above to start logging again with a new reader. This includes
unplugging and replugging the same reader.
SEE ALSO
sc_auth(8), defaults(1), asl.conf(5), ssh-keychain(8)
Mac OS X August 5, 2014 Mac OS X