MIFare DESFire EV1 Read File issue (swift)

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MIFare DESFire EV1 Read File issue (swift)

672件の閲覧回数
Truck
Contributor I

Hello everyone,

I'm currently develop in swift for reading the data in MIFare DESFire EV1 card.

The procedure i've already done is get Application IDs, selection Application IDs, get File IDs.

However, I got the problem for the authentication with AES.

Can anyone help me for the procedure with the authentication? I should do the authentication before reading date? or reading data need some decode key in authentication response?

What is the commad I should use with "sendMiFareCommand"? 

authenticateCommand: [UInt8] = [0xAA, 0x00] ? or 

authenticateCommand: [UInt8] = [0x90, 0xAA, 0x00]?

 

Thank you.

タグ(3)
0 件の賞賛
返信
1 返信

628件の閲覧回数
KaiLi
NXP TechSupport
NXP TechSupport

Hello @Truck 

One point needs to pay attention, if you want to use AES cypto, then you create the AID should be the AES type, that is to say, the type of cyprto AID and  the authentication key is the same. So , please make sure whether your Application is the AES type.

0 件の賞賛
返信