Edit: certificate is nil above i.e let tokenKey = TKTokenKeychainKey(certificate: nil, objectID: tag). I manually set all other properties as per the headerdocs.
More debug info :
% pluginkit -m -p com.apple.ctk-tokens
com.apple.CryptoTokenKit.pivtoken(1.0)
com.foo.mac-device-check.SecureEnclaveTokenExtension(1.0)
% sudo security smartcards token -e com.foo.mac-device-check.SecureEnclaveTokenExtension
Token is already enabled.
Still no luck with pkcs11_register_provider: /usr/lib/ssh-keychain.dylib.
Topic:
Privacy & Security
SubTopic:
General
Tags: