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

SFT-4306: Fix firmware update verification #562

Merged

Commits on Oct 17, 2024

  1. SFT-4306: Remove unreachable on verify_firmware_update.

    * extmod/foundation-rust/include/foundation.h: Update.
    * extmod/foundation-rust/src/firmware.rs: Return error when user public
    key is missing.
    * ports/stm32/boards/Passport/modpassport.c: Handle new error and throw
    exception.
    jeandudey committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    641fcff View commit details
    Browse the repository at this point in the history
  2. SFT-4306: Fix user public key parsing.

    * extmod/foundation-rust/src/firmware.rs: Don't panic if user public key
    is invalid.
    * ports/stm32/boards/Passport/modpassport.c: Guard memcpy with if.
    jeandudey committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    fce5d0c View commit details
    Browse the repository at this point in the history
  3. SFT-4306: Remove panic on hash length.

    * extmod/foundation-rust/include/foundation.h: Re-generate file.
    * extmod/foundation-rust/src/firmware.rs: Remove panic.
    * ports/stm32/boards/Passport/modpassport.c: Handle new error.
    jeandudey committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    e96924e View commit details
    Browse the repository at this point in the history