Skip to content

Commit daa541a

Browse files
authored
Update status output format (#108)
* Update format of status output * Add print_buffer and modernize SCSI debug output using std::for_each
1 parent 7e449bf commit daa541a

File tree

5 files changed

+231
-192
lines changed

5 files changed

+231
-192
lines changed

README.md

+10-12
Original file line numberDiff line numberDiff line change
@@ -42,19 +42,17 @@ Usage example
4242

4343
```
4444
$ stenc -f /dev/nst0
45-
Status for /dev/nst0
45+
Status for /dev/nst0 (TANDBERG LTO-6 HH 3579)
4646
--------------------------------------------------
47-
Device Mfg: TANDBERG
48-
Product ID: LTO-6 HH
49-
Product Revision: 3579
50-
Drive Encryption: on
51-
Drive Output: Decrypting
52-
Unencrypted data not outputted
53-
Drive Input: Encrypting
54-
Protecting from raw read
55-
Key Instance Counter: 1
56-
Encryption Algorithm: 1
57-
Drive Key Desc.(uKAD): mykey20170113
47+
Reading: Decrypting (AES-256-GCM-128)
48+
Writing: Encrypting (AES-256-GCM-128)
49+
Protecting from raw read
50+
Key instance counter: 1
51+
Drive key desc. (U-KAD): mykey20170113
52+
Supported algorithms:
53+
1 AES-256-GCM-128
54+
Key descriptors allowed, maximum 32 bytes
55+
Raw decryption mode allowed, raw read enabled by default
5856
```
5957

6058

0 commit comments

Comments
 (0)