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

Change hash files only if gpg card is present #852

Merged
merged 1 commit into from
Oct 18, 2020

Conversation

alex-nitrokey
Copy link
Contributor

Update_checksum was already changing files in /boot, before checking for
gpg card. If no card is present, the user will end up in the recovery
next time instead of getting the same dialog again. Therefore, the
confirm_gpg_card should be checked before altering files.

The dead -u flag/$update_counter is used to mark the necessity to
update the hash files now.

Maybe it would be nice to have a dialog explaining what's happening here anyway? (this was the place, where you got stuck without this PR)

Update_checksum was already changing files in /boot, befor checking for
gpg card. If no card is present, the user will end up in the recovery
next time instead of getting the same dialog again. Therefore, the
confirm_gpg_card should be checked before altering files.

The dead -u flag/$update_counter is used to mark the necessisty to
update the hash files now.
@tlaurion
Copy link
Collaborator

@alex-nitrokey please rebase on top of master so te CircleCI passes (fixed under f009acb)

Reviewing

@tlaurion
Copy link
Collaborator

tlaurion commented Oct 16, 2020

All good for me. @MrChromebox ?

@MrChromebox
Copy link
Contributor

LGTM

@tlaurion tlaurion merged commit 5d2f6d5 into linuxboot:master Oct 18, 2020
@daringer daringer deleted the update_checksum branch November 15, 2023 12:36
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.

3 participants