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

[PR #327/ebbfd7c5 backport][stable-1] luks_device: add built-in signature wiper to work around older wipefs versions with LUKS2 containers #330

Conversation

patchback[bot]
Copy link

@patchback patchback bot commented Nov 11, 2021

This is a backport of PR #327 as merged into main (ebbfd7c).

SUMMARY

Fixes #326.

In the end I decided to keep wipefs, in case cryptsetup erase fails for some reason.

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

luks_device

… versions with LUKS2 containers (#327)

* Use 'cryptsetup erase' to kill LUKS signature.

* Adjust unit test.

* Use own wiper for LUKS headers.

* Add comments.

* Fix tests.

* Update changelog.

* Remove 'cryptsetup erase'.

* Improve error messages.

(cherry picked from commit ebbfd7c)
@felixfontein felixfontein merged commit 426d70f into stable-1 Nov 11, 2021
@felixfontein felixfontein deleted the patchback/backports/stable-1/ebbfd7c56f99f626098a3b137763c9cbcee8a769/pr-327 branch November 11, 2021 06:17
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.

1 participant