Closed davidhuwyler closed 7 years ago
Closed because it was a user problem not a library issue :-)
Closed because it was a user problem not a library issue :-)
Uhm? What did you do? I also have an integrity error (0x1E) changing the PICC key from DES to AES with mifare_desfire_change_key
I even get the error when changing from DES key to DES key.
However, with a DESfire card with a AES PICC key, I can change the key without getting an 0x1E / integrity error.
Problem might be DES related? I can't even issue a mifare_desfire_get_card_uid_raw, it results in CRC not verified in decyphered stream
. So it's somehow crypto related it seems
Nevermind. I have to use mifare_desfire_des_key_new
instead of mifare_desfire_3des_key_new
for the default PICC key of all zeroes.
As far as i understand it, the INTEGRITY_ERROR is either a CRC or a padding Bytes issue.
Code which result in the error:
Console Output:
So I think there is a library problem
I am useing the PN7120 with jgeslin/libnfc Lib.