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

[Feature request] Add special option to detect encrypted partitions and only erase decryption key #584

Open
LoHub opened this issue Jul 3, 2024 · 0 comments

Comments

@LoHub
Copy link

LoHub commented Jul 3, 2024

Hello and thank you for your wonderful software.

Is it acceptable to add an option to only erase metadata on encrypted partitions (like LUKS or BitLocker) to speedup erasure since without this metadata content is definitively unrecoverable. Of course it is not as secure as a real erasure but I do not know any means to recover data if header is correctly erase.

For example LUKS metadata can be removed like this :

cryptsetup erase /dev/sdX # Definitively erase decryption keys
wipefs -a /dev/sdX # Erase filesystem signature

Or it could be simpler to parse header then extract start and end offsets and erase it at block level.

Thanks for reading

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

No branches or pull requests

1 participant