tinyuf2 icon indicating copy to clipboard operation
tinyuf2 copied to clipboard

Support encryption payload in uf2 file

Open howard0su opened this issue 2 years ago • 3 comments

Is your feature request related to a problem? Please describe. I would like to encrypt uf2 file with AES128/256 encryption method so that nobody is able to disassembly the file.

Describe the solution you'd like Add code logic to support uf2 file with some extension flags which indicated the firmware is encrypted and need run decrypt before flash it.

howard0su avatar Jan 01 '23 12:01 howard0su

Then where to put the keys

mickeydarrenlau avatar Jan 16 '23 07:01 mickeydarrenlau

Definitely something I'm interested in too.

for the i.MX RT family, there are two different encryption schemes depending on which member of the family -- BEE and OTFAD. Unfortunately at the moment, I don't know much more about it ;-)

ccrome avatar Mar 02 '23 17:03 ccrome

Before discussing the implementation, I would suggest to bring this discussion to https://github.com/microsoft/uf2 for the author to make it into the specs first. E.g adding new flag for encrypted method/key etc..

hathach avatar Mar 03 '23 05:03 hathach