Skip to content

clevis-luks-askpass: allow non-block-device volumes #527

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

Merged

Conversation

x-qq
Copy link
Contributor

@x-qq x-qq commented Jul 23, 2025

Change the check on the volume that's being unlocked from -b (checks for block device) to -e (checks if file exists). This allows the code to work on LUKS volumes that are stored in normal files.

Resolves #526.

Change the check on the volume that's being unlocked from
-b (checks for block device) to -e (checks if file exists).
This allows the code to work on LUKS volumes that are stored
in normal files.
Copy link
Collaborator

@sergio-correia sergio-correia left a comment

Choose a reason for hiding this comment

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

Thanks, LGTM

@sergio-correia sergio-correia merged commit 2ad7027 into latchset:master Jul 25, 2025
12 checks passed
@x-qq x-qq deleted the clevis-luks-askpass-relax-file-check branch July 26, 2025 06:08
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.

Unable to unlock a file-based LUKS volume using sss (tang) pin at boot time
2 participants