Forum › MIFARE SDK › DESFire EV1 Invalid MAC SecurityException › 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.
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