desfire ev1 change key error 911E

Multi tool use
Multi tool use


desfire ev1 change key error 911E



i'm trying to change key in my mifare desfire ev1 card with apdu native wrapped mode command but i always get error 911E. i can successfully authenticate, create application and files, but i can't change keys !
here's what i do:
first i select the application:


905A00000300000400



then i authenticate with application master key:


=>61900A0000010000
<=00AA55A05A86ED002391AF
=>6190AF000010CD72DFC6E6D040A4F011174EEBE03AA600
<=00AD6CC16025CCFB7B9100
RndA: 1122334455667788
RndB: 8828d6e41eea3d31
session key: 112233448828d6e4
the default key is 16 bytes zeroes.
old key: 00000000000000000000000000000000
new key: 00000000000000010000000000000001



i want to preferably use single DES and for that i have chosen a symmetric 8 byte key(i dont know much about encryption and DES. i'm using online encryption websites for my work and even for crc calculation).
so as the desfire datasheet says, i have to calculate a crc over the new key(since i have authenticated with the same key and the application key setting is set to 0F).
CRC: 0x1543 ( with initial value=0xC6C6 . i dont know what version of crc to use but in the "144a3 A" the crc that has been done has the same result as this type of crc calculation!)
so now my data would be


000000000000000100000000000000014315000000000000



( i have no idea why to put the crc 1543 in form of 4315 but i have done it since in all examples i have seen people do that!!! just in case i have tried in 1543 form too)
then i encrypt this data with the session key and i send it to the PICC:


90C400001900432ADBD3628828B82087FAEC190C2BAB8C232CD5882BF7C600



and then i get 00911E erroe code.
i dont know what i'm doing wrong. i have searches the whole forum and web , triend everything and havn't been succeded.
could sombody please help me?!









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

2AN3nAJsURS 0,7DwWsTuMX n,kFbl1kPnhdiG9s,tsM5PQFQ4O
v9f,WvG 6g,BB DD lW1rL9yOqjOW AYn9aNV5V8pfRWmVW4p,cUyNgIthoI0gR

Popular posts from this blog

PySpark - SparkContext: Error initializing SparkContext File does not exist

django NoReverseMatch Exception

List of Kim Possible characters