DESFIRE EV1 – Authentication failure seen after successful writedata(2k3des)

Forum / MIFARE SDK / DESFIRE EV1 – Authentication failure seen after successful writedata(2k3des)

  • 29. September 2020 at 14:33
    I am using DESFIRE EV1 tag and doing following operations,
    I am stuck and unable to proceed due to authentication error,

    The steps followed are,
    1) Formatted the card , selecting application 0, authenticating with 2k3des
    2) Performed write as per the version1.7 using 2k3des.
    > select application 0
    > authenticate 2k3des
    > create application APP_ID
    > select application APP_ID
    > create file
    > authenticate 2k3des
    > write data

    RESULT -> SUCCESSFUL

    Now I want to change the key from 2k3des to aes128.
    Tried the following
    STEP 1) format the card
    > select application 0
    > authenticate 2k3des
    > format() called

    RESULT -> W/System.err: com.nxp.nfclib.exceptions.InvalidResponseLengthException: Authentication Error

    STEP 2) change key code,
    > select application 0
    > authenticate 2k3des

    RESULT -> W/System.err: com.nxp.nfclib.exceptions.InvalidResponseLengthException: Authentication Error

    So I see it fails for very first authentication,
    My next steps which could not be proceeded because of authentication failure
    > change key 2k3des to aes
    > create application APP_ID
    > select application APP_ID
    > create file
    > authenticate AES
    > write data

    Awaiting for the reply, Please let me know regarding the same.

    Regards,
    Anitha

    + 0  |  - 0

    Re: DESFIRE EV1 – Authentication failure seen after successful writedata(2k3des)

    29. September 2020 at 14:34
    Hi Anitha,

    Please look to my answers in the other threads.

    Kind reagrds,
    The TapLinx team

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

You must be logged in to reply to this topic.