MIFARE DESFire EV2 – How to run command InitializeKeySet

Forum / MIFARE SmartCard IC`s / MIFARE DESFire / MIFARE DESFire EV2 – How to run command InitializeKeySet

  • 24. March 2016 at 11:13
    How to run MIFARE DESFire EV2 command InitializeKeySet (void initializeKeySet(byte ikeySetNo,DESFireEV1.KeyType ksType)?

    I get an exception like he following:
    "CRC or MAC does not match or padding is invalid"(0x1E)

    Any help or code sample or any input will help me a big time.
    I am fairly new in this area and hardly any assistance available around me.

    Thanks in advance.


    + 0  |  - 0

    Re: MIFARE DESFire EV2 – How to run command InitializeKeySet

    29. March 2016 at 12:59
    Now I get a different exception which is :0xA0(Requested application ID not found).
    Though I have created an application the InitializeKeySet command throws an exception like this.
    + 0  |  - 0

    Re: MIFARE DESFire EV2 – How to run command InitializeKeySet

    1. April 2016 at 12:30
    Hi,

    For me it is not clear about which interface we are talking. I assume you are write a command to the driver interface to store the key. Usually you save a key inside of your framework and use it later if you need the key for the authentication. This has nothing to do with the smartcard itself or the used reader. I recommend to read the user manual of the interface/card driver you use.

    Kind regards,
    The MIFARE Team

    + 0  |  - 0
Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.