Managing pairing
The sc_auth
utility (smart card authorization setup script) bundled by macOS can be used for a variety of SmartCard related operations.
List all SmartCard hashes for user
foobar
:❯ sc_auth list -u foobar
Unpair a SmartCard hash
bar
from userfoobar
:❯ sc_auth unpair -u foobar -h bar
Unpair all SmartCards from user
foobar
:❯ sc_auth unpair -u foobar
Disable the SmartCard Pairing UI whenever a new SmartCard is entered:
❯ sc_auth pairing_ui -s disable