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

Implement support for Secure Boot V2 #191

Open
jessebraham opened this issue Jun 2, 2022 · 6 comments
Open

Implement support for Secure Boot V2 #191

jessebraham opened this issue Jun 2, 2022 · 6 comments
Labels
feature request Request for new feature/functionality help wanted Extra attention is needed

Comments

@jessebraham
Copy link
Member

https://docs.espressif.com/projects/esp-idf/en/latest/esp32/security/secure-boot-v2.html

@jessebraham jessebraham moved this to Todo in esp-rs Jun 2, 2022
@jessebraham jessebraham added the help wanted Extra attention is needed label Sep 14, 2022
@farbodpm
Copy link

Hi what exactly here is needed ?

@jessebraham
Copy link
Member Author

I'm not entirely sure to be honest, I haven't read through the linked documentation yet. I believe it involves signing the image with some cryptographic key, there may be additional steps.

@ost-ing
Copy link

ost-ing commented May 27, 2024

This is a pretty important production feature - whats the status of this issue in the backlog? Any planned work to implement this?

@jessebraham
Copy link
Member Author

At this point we do not really have plans to implement any new features in espflash. While I understand this is important functionality, we unfortunately have not received consistent contributions from the community, and development/maintenance of these applications has been put mainly on my and @SergioGasquez's shoulders. I stopped maintaining this project largely for this reason. We both have other commitments at this time which are of higher priority, and espflash provides the required functionality for us to do our work at this time, so it's hard to justify spending any time here.

I would love to see a PR for this, I would be more than happy to review one. Otherwise, esptool.py is still a valid option, it can consume ELF files.

@SergioGasquez
Copy link
Member

I guess #715 and #713 are, somewhat, related to this issue

@jessebraham jessebraham added feature request Request for new feature/functionality and removed enhancement labels Jan 9, 2025
@ivmarkov
Copy link
Contributor

I guess #715 and #713 are, somewhat, related to this issue

Yes, for secure boot, the only thing necessary is some way to add secure padding to the app image prior to calculating the sha256 signature.
At the moment I'm doing this with espsecure.py, but it would be great if espflash has the secure padding capability.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Request for new feature/functionality help wanted Extra attention is needed
Projects
Status: Todo
Development

No branches or pull requests

5 participants