Hello @eskimo, could you please provide a basic example on how you managed to communicate with USB device using TKSmartCardSlotManager interface? I am starting to learn about this and it would be helpful. Thanks
Post
Replies
Boosts
Views
Activity
Hi @eskimo, do you have any example code blocks to demonstrate the communication USB devices in iOS using TKSmartCardSlotManager? I have started to learn about this and it would be helpful. Thanks
Should we use TKSmartCardSlotManager for USB CCID smart cards?
Hello @DTS Engineer this sample code works fine on macOS but it can't read smartcard in iPadOS/iOS. I have added "com.apple.token" to keychain-access group entitlements. Could you please let me know what else is missing here?
Hi @DTS Engineer Quinn, thank you for the update. I will avoid using Dispatch global concurrent queue.
As you can already see in the sample code I am using slotNames and state property. But still it can't find the reader.
The goal is to create an application like Yubico Authenticator for iOS/iPadOS (Yubikey 5Ci already works with USB-C in iOS (as per their documentation)) to support OTP, WebAuth, FIDO2 and other smart card based applications. So, I think we need to use the CryptoTokenKit.
Please correct me if I am wrong about using CryptoTokenKit for above use case
I tested the above code with a Yubikey 5C and it can detect the smart card. So atleast I think above code is correct (not perfect ofcourse)...