Skip to contentSkip to conversation

master - dmsetup: hide integrity encryption keys on table output

PATCH Ondrej Kozina 1 participant 1 message Nov 10, 2017

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=32e747dd3124a2de6b2d07e0494067dd0147932b
Commit:        32e747dd3124a2de6b2d07e0494067dd0147932b
Parent:        512b2adc7773d302895d01dbc1bccfb66dd94d6a
Author:        Ondrej Kozina <[email protected]>
AuthorDate:    Fri Nov 10 13:55:04 2017 +0100
Committer:     Ondrej Kozina <[email protected]>
CommitterDate: Fri Nov 10 15:23:00 2017 +0100

dmsetup: hide integrity encryption keys on table output

---
 WHATS_NEW_DM       |    1 +
 man/dmsetup.8_main |    6 ++--
 tools/dmsetup.c    |   60 ++++++++++++++++++++++++++++++++++++++-------------
 3 files changed, 48 insertions(+), 19 deletions(-)
WHATS_NEW_DM +1 -0
index 71ccea7..b7f71ca 100644
@@ -1,5 +1,6 @@
 Version 1.02.146 -
 ====================================
+  Suppress integrity encryption keys in 'table' output unless --showkeys supplied.
 
 Version 1.02.145 - 3rd November 2017
 ====================================
man/dmsetup.8_main +3 -3
index 054746c..8317e23 100644
@@ -842,10 +842,10 @@ Outputs the current table for the device in a format that can be fed
 back in using the create or load commands.
 With \fB--target\fP, only information relating to the specified target type
 is displayed.
-Real encryption keys are suppressed in the table output for the crypt
-target unless the \fB--showkeys\fP parameter is supplied. Kernel key
+Real encryption keys are suppressed in the table output for crypt and integrity
+targets unless the \fB--showkeys\fP parameter is supplied. Kernel key
 references prefixed with \fB:\fP are not affected by the parameter and get
-displayed always.
+displayed always (crypt target only).
 With \fB--concise\fP, the output is presented concisely on a single line.
 Commas then separate the name, uuid, minor device number, flags ('ro' or 'rw')
 and the table (if present). Semi-colons separate devices. Backslashes escape
tools/dmsetup.c +44 -16

74 lines not on this page · raw message