You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add TCG (Trusted Computing Group) Opal SED (Self-Encrypting Drive)
testing workflow for validating storage security features. This workflow
enables testing of hardware-based full disk encryption capabilities
found in modern NVMe and SATA drives.
Key features:
- TCG Opal 2.0+ compliance testing for self-encrypting drives
- Support for drive provisioning, locking, and unlocking operations
- Integration with sedutil-cli for drive management
- Configurable encryption parameters (Admin1 password, locking ranges)
- Multi-filesystem support (XFS, Btrfs, ext4) on encrypted drives
- A/B testing support for baseline vs development comparisons
- Device capability detection and validation
The workflow validates critical storage security operations:
- Initial drive provisioning with Owner credentials
- Locking range configuration and management
- Power cycle testing to verify encryption persistence
- Performance impact measurement of encryption
- Compatibility testing across different drive models
Defconfigs:
- tcg-storage: Standard TCG Opal testing configuration
Note that Qemu lacks TCG Opal support, however if work is
put in place for that, this can be used to test it.
The real practical use would instead be to use the new declared hosts
feature which enables us to test on bare metal, skipping bringup, you
can use something like this:
make defconfig-tcg-storage-declared-hosts DECLARE_HOSTS=foo TCG_DEVICE=/dev/nvme4n1
Workflow integration follows kdevops patterns:
make defconfig-tcg-storage
make bringup
make tcg-storage # Run TCG Opal tests
make tcg-results # View test results
This enables systematic testing of hardware-based encryption features
critical for data-at-rest protection in enterprise and security-sensitive
environments.
Generated-by: Claude AI
Signed-off-by: Luis Chamberlain <[email protected]>
0 commit comments