Lock Screen on Token Removal Does Not Work on MacOS14

Issue: The screen saver is not shown, and the user is not locked after removing a smart card with a logged in user.

I have tried setting tokenRemovalAction to 1, along with various other com.apple.security.smartcard defaults, and I have also tried setting "turn on screen saver when login token removed." None of this makes the screen locked on card removal.

Is this an issue with MacOS14 or is there a different setting/value that has to be set for this to work correctly?

Are you creating your own CryptoTokenKit app? Or are you using macOS’s built-in smart card support?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

I’m creating my own token driver to support other smart card applets. And I see in the logs that it’s detected when the card is removed.

Lock Screen on Token Removal Does Not Work on MacOS14
 
 
Q