-
Notifications
You must be signed in to change notification settings - Fork 89
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
luks_device: add support for keyslots #664
luks_device: add support for keyslots #664
Conversation
Docs Build 📝Thank you for contribution!✨ This PR has been merged and the docs are now incorporated into |
…gs, remove print statements
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution! I've added some first comments.
…systems that do not support luks2
def is_luks_slot_set(self, device, keyslot): | ||
''' check if a keyslot is set | ||
''' | ||
result = self._run_command([self._cryptsetup_bin, 'luksDump', device]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I really wish --dump-json-metadata
would also be available for LUKS1. That way extracting this information would be a lot easier...
… check all possible locations for LUKS2 header
@sgufler thanks a lot for your contribution! |
SUMMARY
Added support for setting specific key slots when using the luks_device module. Introduces the following new parameters:
ISSUE TYPE
COMPONENT NAME
luks_device
ADDITIONAL INFORMATION