Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support encryption payload in uf2 file #270

Open
howard0su opened this issue Jan 1, 2023 · 3 comments
Open

Support encryption payload in uf2 file #270

howard0su opened this issue Jan 1, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@howard0su
Copy link

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 howard0su added the enhancement New feature or request label Jan 1, 2023
@mickeydarrenlau
Copy link

Then where to put the keys

@ccrome
Copy link
Contributor

ccrome commented Mar 2, 2023

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 ;-)

@hathach
Copy link
Member

hathach commented Mar 3, 2023

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..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants