Closed typelogic closed 3 years ago
Found correct usage of writeData()
and readData()
for encrypted Standard Data file to deal with the invalid checksum
exception. Using KeyType.TWO_KEY_THREEDES
instead of KeyType.THREEDES
is also one of the cause of the exception.
However, one more underlying related issue is the missing API in TapLinx to read a DESFire file's size in order for readData()
to work on encrypted files.
Fixed by using TapLinx transceive()
API.
Currently having similar issue described here.
Reading
Plain
file content is ok. The issue occurs when the file is inCommunications.Enciphered
mode.