linux: Enable support for Self-Encrypting Drives#56147
Merged
fpletz merged 1 commit intoNixOS:masterfrom Feb 21, 2019
Merged
Conversation
To quote block/Kconfig: > Builds Logic for interfacing with Opal enabled controllers. > Enabling this option enables users to setup/unlock/lock > Locking ranges for SED devices using the Opal protocol. Without `BLK_SED_OPAL`, it is impossible to resume from sleep when using a locked self-encrypting drive. This configuration option appeared in earlier kernels, but only reached maturity in 4.14 according to discussion at: - Drive-Trust-Alliance/sedutil#90 and - Drive-Trust-Alliance/sedutil#190 This kernel option is enabled in the default kernels shipped with Fedora, Debian, and other mainstream Linux distributions.
|
This pull request has been mentioned on Nix community. There might be relevant details there: https://discourse.nixos.org/t/nixos-19-03-feature-freeze/1950/32 |
Member
|
Thanks! 👍 |
Member
Author
|
Thank you 🍻 |
Member
|
Recommended watch on the topic: https://media.ccc.de/v/35c3-9671-self-encrypting_deception
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation for this change
To quote
block/Kconfig:Without
BLK_SED_OPAL, it is impossible to resume from sleep when using a locked self-encrypting drive.This configuration option appeared in earlier kernels, but only reached maturity in 4.14 according to discussion at:
This kernel option is enabled in the default kernels shipped with Fedora, Debian, and other mainstream Linux distributions.
Things done
sandboxinnix.confon non-NixOS)nix-shell -p nox --run "nox-review wip"./result/bin/)nix path-info -Sbefore and after)