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

fix(crypt-gpg): Execute --card-status on each try #1544

Merged
merged 1 commit into from
Jun 29, 2021
Merged

fix(crypt-gpg): Execute --card-status on each try #1544

merged 1 commit into from
Jun 29, 2021

Conversation

LinkTed
Copy link
Contributor

@LinkTed LinkTed commented Jun 21, 2021

Changes

Sometimes I forget to insert the gpg card before the first password prompt is printed.

If the gpg card is not inserted before the --card-status command is executed then the public key is not linked with the card. Therefore, the LUKS partition cannot be decrypted. To solve this, the --card--status command is executed on each try.

Checklist

  • I have tested it locally
  • I have reviewed and updated any documentation if relevant
  • I am providing new code and test(s) for it

Fixes #

@github-actions github-actions bot added crypt-gpg Issues related to the crypt-gpg module modules Issue tracker for all modules labels Jun 21, 2021
@haraldh haraldh enabled auto-merge (rebase) June 22, 2021 13:36
If the gpg card is not inserted before the --card-status command is
executed then the public key is not linked with the card. Therefore,
the LUKS partition cannot be decrypted. To solve this, the
--card--status command is executed on each try.
auto-merge was automatically disabled June 23, 2021 14:58

Head branch was pushed to by a user without write access

@LinkTed
Copy link
Contributor Author

LinkTed commented Jun 23, 2021

I fix the commit message.

@johannbg johannbg merged commit 6610093 into dracutdevs:master Jun 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crypt-gpg Issues related to the crypt-gpg module modules Issue tracker for all modules
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants