2 bugs in stenc to enable HW encryption on LTO drives
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
stenc (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
The current version of stenc in Debian/Ubuntu still contains 2 small bugs which may cause the following error when trying to activate HW encryption:
$ stenc -f /dev/nst0 -a 1 -e on -k test.key
Provided key length is 256 bits.
Key checksum is 7a43.
Turning on encryption on device '/dev/nst0'...
Sense Code: Illegal Request (0x05)
ASC: 0x26
ASCQ: 0x00
Additional data: 0x0000000000000
Error: Turning encryption on for '/dev/nst0' failed!
Usage: stenc --version | -g <length> -k <file> [-kd <description>] | -f <device> [--detail] [-e <on/mixed/
Type 'man stenc' for more information
Please see also https:/
Fixes have been applied to the GitHub repository of stenc (https:/
Status changed to 'Confirmed' because the bug affects multiple users.