maxieds / ChameleonMiniDESFireStack

🦎Mifare DESFire emulation support for the ChameleonMini (RevG) firmware. ☮✌️🇺🇦🇺🇸
Other
20 stars 3 forks source link

Chameleon terminal commands not reporting full tag contents #7

Closed maxieds closed 4 years ago

maxieds commented 4 years ago

I am initializing a new Chameleon tag setup with CONFIG=MF_DESFIRE using my testing code by running:

$ ./Bin/TestFileManagementCommandsSupport.exe
$ ./Bin/TestDataManipulationCommandsSupport2.exe

The approximate output is described in the sample dumps from these commands. Based on my rudimentary inspection that way, the files and AID directories seem to be getting created correctly.

However, when running the following command from the new Chameleon terminal command list, it doesn't accurately report what should be stored on the tag:

DF_PPRINT_PICC FullImage
101:OK WITH TEXT
**** DESFIRE HEADER DATA ****
      RANDOM(UID) 12954C8CF7A1F3
      RANDOM(VERSION) HW=00.01, SW=00.01
      RANDOM(BATCH) FFFFFFFFFF
      RANDOM(DATE) ff/ff
**** DESFIRE INTERNAL STORAGE ****

This is a bug that needs to get worked out. I'm putting it on my list of known issues and things to fix later by logging it here for now.

maxieds commented 4 years ago

This is fixed in the latest release by my testing. Closing issue.