Hi there. In the code of the class FGMMSecProtNASMessage, which is defined in pycrate_mobile/TS24501_FGMM.py, a wrong array index to 'SecHdr' be used in function encrypt/decrypt while the right index be used in function mac_verify/mac_compute, the correct index should be self[0][2], but self[0][0], which actually point to the EPD(Extended Protocol Discriminator) be used right now. It'll cause an invalid value exception just like below.
Hi there. In the code of the class FGMMSecProtNASMessage, which is defined in pycrate_mobile/TS24501_FGMM.py, a wrong array index to 'SecHdr' be used in function encrypt/decrypt while the right index be used in function mac_verify/mac_compute, the correct index should be self[0][2], but self[0][0], which actually point to the EPD(Extended Protocol Discriminator) be used right now. It'll cause an invalid value exception just like below.
Thanks.