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/update: add pre_bootloader_hint for update process #546

Merged
merged 1 commit into from
Jun 19, 2024

Conversation

daringer
Copy link
Collaborator

This PR adds pre_bootloader_hint into the updating ABC. This should allow to hook into the process especially for situations like Nitrokey/nitrokey-app2#254 to improve the update process in e.g. QubesOS

Changes

  • add pre_bootloader_hint as hook during update
  • implement noop for pre_bootloader_hint for cli-based update process

Checklist

Make sure to run make check and make fix before creating a PR, otherwise the CI will fail.

  • tested with Python3.11
  • signed commits

Test Environment and Execution

  • OS: Arch
  • device's model: nk3am
  • device's firmware version: v1.7.1

@daringer daringer requested a review from jj-so June 18, 2024 11:24
@daringer daringer merged commit 7656d73 into master Jun 19, 2024
8 checks passed
@daringer daringer deleted the extend_update_process branch June 19, 2024 11:12
@robin-nitrokey robin-nitrokey mentioned this pull request Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants