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): Do not use always --card-status #2154

Merged
merged 1 commit into from
Jan 6, 2023
Merged

fix(crypt-gpg): Do not use always --card-status #2154

merged 1 commit into from
Jan 6, 2023

Conversation

LinkTed
Copy link
Contributor

@LinkTed LinkTed commented Dec 28, 2022

This pull request changes...

Changes

If no GPG smart card is used then the card-status breaks the decryption of the keyfile. Therefore, use the card-status only if a smart card is used to decrypt the keyfie.

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 #2004

@github-actions github-actions bot added crypt-gpg Issues related to the crypt-gpg module modules Issue tracker for all modules labels Dec 28, 2022
Copy link
Member

@aafeijoo-suse aafeijoo-suse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to fix your commit message: https://github.com/dracutdevs/dracut/actions/runs/3796692882/jobs/6457013439

Other than that, the patch looks good.

If no GPG smart card is used then the card-status breaks the decryption
of the keyfile. Therefore, use the card-status only if a smart card is
used to decrypt the keyfie.

Fixes issue #2004
Copy link
Collaborator

@LaszloGombos LaszloGombos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@LaszloGombos LaszloGombos merged commit e3e8108 into dracutdevs:master Jan 6, 2023
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.

Boot with crypt-gpg stuck at password prompt
3 participants