Reply To: Cannot create DESFire EV1 aplication with AES key

Forum MIFARE SDK Cannot create DESFire EV1 aplication with AES key Reply To: Cannot create DESFire EV1 aplication with AES key

Re: Cannot create DESFire EV1 aplication with AES key

13. July 2016 at 9:35
Hi Lexis,

The general procedure for personalize a blank MIFARE DESFire EV1 is as follow:

  1. Authenticate with the PICC Master Key (“00…00”).

  2. Create an application for your files. If you expect to use e.g. two keys, set as parameter three keys! In your case is key #0 the Application Master key, #1, the key for read access and #3 the key for write access.
  3. Select to your application (key #0 is not the PICC Master Key anymore, now it is the Application Master Key).
    Now you can create the files or create/change the keys.

  4. Create the a file with key #1 as read access, #2 as write access and maybe #0 as change access.

  5. Change the application keys:
    First authenticate to key #0 with the default key 00…00.

  6. Change the key #0 from default 00…00 to the new key value.

  7. Repeat it for the other keys, first authenticate to the key with the default key, and then change the key value.

  8. At the end change the PICC Master Key.


Kind Regards,
The MIFARE Team
+ 0  |  - 0