dji-firmware-tools
dji-firmware-tools copied to clipboard
Issue with Encryption Key
Hi, I was playing with few dji packages by using this repository. However, whenever I try to decrypt them with one of the inbuilt keys provided such as PRAK-2019-09, the AES module threw an error indicating that it has 'invalid AES key length (524 bytes)'. I was looking into the file dji_imah_fwsig.py and my python version is 3.8. Could you please let me know if it is caused by python compatibility issue or whether its a pre-known issue.
Thanks in advance
AES is encryption. Keys of size 524 are used for signing.
'tests' folder contains scripts which can use proper keys on proper firmwares. Analyze those to figure out the keys.