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

nk3 validate-update: Print binary checksums #547

Open
2 tasks
robin-nitrokey opened this issue Jun 19, 2024 · 0 comments
Open
2 tasks

nk3 validate-update: Print binary checksums #547

robin-nitrokey opened this issue Jun 19, 2024 · 0 comments
Labels
device/Nitrokey 3 enhancement New feature or request

Comments

@robin-nitrokey
Copy link
Member

robin-nitrokey commented Jun 19, 2024

The nk3 validate-update command should print the checksums of the included binaries to be able to compare them to the artifacts on GitHub and/or to own firmware builds.

  • lpc55: spsdk can be used to extract the MBI from the SB2 container and then parse the MBI
  • nrf52: the container uses the binary while the CI produces an ihex file. either we need to produce the ihex from the binary (not trivial because intelhex adds an additional header line) or the binary from ihex (not nice because we cannot compare directly against the GitHub artifacts)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
device/Nitrokey 3 enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant