windows-ce - Mifare Standard 1K - 6D00 for external authentication APDU
问题描述
External Authentication: FF 82 20 00 06 FF FF FF FF FF FF
What is the correct procedure to run External Authentication? Do we need to run Get Challenge before External Authentication?
If I send the apdu of external authentication to OMNIKEY smart card reader, it will return me 9000 which mean success.
But If I do the same step with Workabout Pro4 and it return 6D00?
6D00 is instruction code is not supported or invalid, but it was working with Omnikey smart card reader. How to solve this problem?
FYI: Read UID APDU Command is working on both devices: FF CA 00 00 00
I have tried many different ways but none is working.
- Changing the shared_mode while connect card[Exclusive, Shared]
- Lock the thread for specific process
- Put the thread to wait for few seconds before sending APDU
- Send Get Challenge apdu before external authentication but failed
解决方案
I found the answer myself.
There are two Load Authentication Keys APDU commands:
- FF 82 20 00 06 FF FF FF FF FF FF (Obsolete)
- FF 86 00 00 05 01 00 [Block Number] [Key Type] [Key Number]
Use the second APDU command to do Load Authentication Keys then read/write the Mifare card content.
推荐阅读
- r - 每个 id 不同的特定时间段的平均观察量
- flutter - Flutter TextButton 填充
- java - org.glassfish.jersey.message.internal.MessageBodyProviderNotFoundException: MessageBodyReader not found for media type=text/html;charset=iso-8859-1,
- c# - 使用没有分离服务和存储库的 CQRS 真的会影响代码质量吗?
- c - 为什么我插入第一个元素后我的程序会终止?
- annotations - Squash Lombok 注释
- r - 将阶乘 ANOVA 事后比较的 p 值添加到 ggplot
- javascript - 选择“class1”的所有元素,直到到达具有类“should_stop_here is meet”的元素
- amazon-web-services - 您如何为 AWS 中的 lambda 遇到的错误百分比设置警报?
- java - 如何使用 JMF 录制音频设备?