1 (edited by nimaltd 2015-04-30 17:03:48)

Topic: I can't change password

Hello guys
I use another library with stm32 microcontroller .
I can't change password.
I use DES.
please help me
Always return 0xAE
this is my result:

Found a card!
UID Length: 7 ---- UID Value:  04  6F  45  99  C9  24  80
Current Key : 00 00 00 00 00 00 00 00
>> 0A 00
<< AF 1C D9 A5 0D AB FC 43 73
RandA :AE 20 AF 69 95 25 52 64
Session key :AE 20 AF 69 1C D9 A5 0D 95 25 52 64 AB FC 43 73
>> AF 19 74 CA 68 52 52 18 83 2E 02 35 36 3F 9C 89 26
<< 00 0F A0 E0 E3 37 6D A7 A8
--------------------------------------------
Authenticate OK
--------------------------------------------
DesFire_ChangeMasterKey function 
>> 0x5a 5A 00 00 00
<< 00
send buffer befor Decrypt : 00 11 22 33 44 55 66 77 00 11 22 33 44 55 66 77 6B 38 00 00 00 00 00 00
send buffer afret Decrype >> C4 00 2E F1 C8 25 E0 1F 3E 29 2E F1 C8 25 E0 1F 3E 29 21 CB 46 A3 A4 DB CD 5D
<< AE

Re: I can't change password

command 0x5A is not Change Key
command 0xC4 is Change Key

Re: I can't change password

I know
That for select app.
In next line i send change password command

Re: I can't change password

neteril.org/files/M075031_desfire.pdf

Page 37 and 38

Re: I can't change password

I read it first.
But i dont know why return error.
Please see my sesion key . I think it is false

Re: I can't change password

mabe that can help you - DES problem
libnfc.org/community/topic/264/problem-changing-key/