redballoonsecurity / ofrak

OFRAK: unpack, modify, and repack binaries.
https://ofrak.com
Other
1.85k stars 127 forks source link

Fix UF2 file identification so that it works #283

Closed whyitfor closed 1 year ago

whyitfor commented 1 year ago

One sentence summary of this PR (This should go in the CHANGELOG!) UF2 file identification was not working. This PR fixes this, and updates the tests to specifically test that identifcation works.

Please describe the changes in your request.

Anyone you think should look at this, specifically? @sjossi

sjossi commented 1 year ago

Good catch and thanks for the neat fix!