Forum Replies Created

  • Re: Reply To: DESFire EV1 Invalid MAC SecurityException

    10. November 2020 at 9:40
    in reply to: DESFire EV1 Invalid MAC SecurityException
    I found out what my problem was.

    I was authenticating with KeyType.THREEDES, but the card was configured for KeyType.TWO_KEY_THREEDES.

    The key was correct, which is why authentication succeeded, but when the API proceeded with MACed communication, it would fail. Once I updated the key type during authentication, it worked as expected.
    + 0  |  - 0

    Re: Reply To: AN10922 – AES-128 Example

    1. October 2020 at 3:09
    in reply to: AN10922 – AES-128 Example
    AN10922 is publicly accessible through search engines and labelled "COMPANY PUBLIC" throughout the PDF. Am I not allowed to discuss it here?
    + 0  |  - 0

    Re: Reply To: DESFire EV1 Invalid MAC SecurityException

    28. July 2020 at 3:58
    in reply to: DESFire EV1 Invalid MAC SecurityException
    getReadAccess() on the file settings returns 1. This should mean that key 1 has read access, correct?

    In order to authenticate successfully, the key has to match the key number, doesn't it?
    + 0  |  - 0

    Re: Reply To: DESFire EV1 Invalid MAC SecurityException

    26. July 2020 at 3:07
    in reply to: DESFire EV1 Invalid MAC SecurityException
    I didn't create the file. I'm trying to read the contents of an existing application.

    Are there specific file permissions I should be checking for, or parameters that might cause the error I'm seeing?

    The file type shows as DataStandard, MACed communication mode, and I'm authenticating with the key number indicated by getFileSettings().getReadAccess().
    + 0  |  - 0
Viewing 4 posts - 1 through 4 (of 4 total)