Hello,
I am developing a smartcard CTK extension for macOS.
I have trouble to smartcard logon the first time after a reboot or a logout (e.g. when there is the text "Your password is required to enable touch id"). Trouble = I'm not asked for the PIN.
But time to time after a logout (from whatever account), I can login with the smartcard. After a lockscreen I can always login with the smartcard.
- Is there an easy way to debug the logon process ?
Regards, ++dom
Are the CTKs loaded at boot time / session login ?
Modern smart card support is based on CryptoTokenKit (CTK) app extensions. There are two flavours of those:
-
A smart card token driver, which subclasses
TKSmartCardTokenDriver -
A persistent token driver, which subclasses
TKTokenDriver
A smart card token can be use for login. A persistent token cannot.
If you’re building a smart card token, see Authenticating Users with a Cryptographic Token for info on a specific hoop you have to jump through.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"