简体   繁体   English

SCL011非接触式读卡器和Mifare 1k(经典)认证

[英]SCL011 contactless Card Reader and Mifare 1k(classic) authentification

I have SCL011 Card Reader and need to read/write Mifare 1k cards. 我有SCL011读卡器,需要读取/写入Mifare 1k卡。 But I just can't get over Authentification step.... 但是我无法克服认证步骤。

Card Reader should handle Mifare 1k cards: 读卡器应处理Mifare 1k卡:

  • Antenna ISO/IEC 14443 compliant design 符合ISO / IEC 14443的天线设计

  • Baudrate up to 848 Kbps 波特率高达848 Kbps

  • Supported standards: 支持的标准:
  • ISO/IEC 14443-4 Typ A & B ISO / IEC 14443-4典型值A和B
  • MIFARE: Classic 1K and 4K, DESFire, Ultralight, MIFARE Plus MIFARE:经典1K和4K,DESFire,Ultralight,MIFARE Plus
  • FeliCa™ FeliCa的™
  • NFC forum tag type 1, 2, 3, 4 NFC论坛标签类型1、2、3、4
  • iCLASS UID* iCLASS UID *

I have also updated to the latest firmware (1.20) http://support.identive-group.com/dfu_fw.php?OS=windows&readerno=85 我还更新到了最新的固件(1.20) http://support.identive-group.com/dfu_fw.php?OS=windows&readerno=85

card is connected and I can read the UID of the card with ff ca 00 00 00 I have also tried to read the sector directly without authorization ff b0 00 00 10 and I get message: 卡已连接,并且可以使用ff ca 00 00 00读取卡的UID。我也尝试了未经授权直接读取扇区ff b0 00 00 10并得到以下消息:

69 82 : Command not allowed. 69 82:不允许命令。 Security status not satisfied. 安全状态不满意。

it means I need authorize myself, but if I try ff 82 00 00 06 ff ff ff ff ff ff or any other standard keys I always get back: 这意味着我需要授权自己,但是如果尝试使用ff 82 00 00 06 ff ff ff ff ff ff或任何其他标准密钥,我总是会得到回报:

69 88 : Command not allowed. 69 88:不允许命令。 SM data objects incorrect. SM数据对象不正确。

funny thing is, that I can read and write this card without problems with my Nexus and Lumia phones... 有趣的是,我可以读写Nexus卡和Lumia手机的卡而没有问题...

What I'm doing wrong? 我做错了什么? Thanks for any help! 谢谢你的帮助!

keys I have already tried: 我已经尝试过的键:

* ff 82 00 00 06 ff ff ff ff ff ff
* ff 82 00 00 06 a0 b0 c0 d0 e0 f0
* ff 82 00 00 06 a1 b1 c1 d1 e1 f1
* ff 82 00 00 06 a0 a1 a2 a3 a4 a5
* ff 82 00 00 06 b0 b1 b2 b3 b4 b5
* ff 82 00 00 06 4d 3a 99 c3 51 dd
* ff 82 00 00 06 1a 98 2c 7e 45 9a
* ff 82 00 00 06 00 00 00 00 00 00
* ff 82 00 00 06 d3 f7 d3 f7 d3 f7
* ff 82 00 00 06 aa bb cc dd ee ff

Solution: Please google/search " Multiprotocol contactless mobile reader, Reference manual " or " SCL01X Multiprotocol contactless stationary reader ". 解决方案:请google /搜索“ Multiprotocol非接触式移动阅读器,参考手册 ”或“ SCL01X Multiprotocol非接触式固定阅读器 ”。 It is a very nice references to start with SCL reader's APDUs. 从SCL阅读器的APDU开始,这是一个很好的参考。 There are some examples inside. 里面有一些例子。

Answer: In your case P2 value in the APDU Command incorrect and you got SW1SW2 = 0x6988 - "Key number not valid" . 答:在您的情况下,APDU命令中的P2值不正确,并且得到SW1SW2 = 0x6988-“密钥编号无效”

Where P2 can have the following values (please refer to MIFARE documentation from NXP for
further details on what is key A and Key B):
• 0x60 to use the Key A
• 0x61 to use the Key B 

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM