Add -q --quiet option - anonymize serial numbers

Anonymize the serial numbers in the gui, the
log and the summary table.

If a serial number was obtained from the device,
it is replaced with "XXXXXXXXXXXXXXX".

If the serial number could not be obtained from the
device, it's replaced with "???????????????".
This commit is contained in:
PartialVolume
2021-11-15 18:19:47 +00:00
parent a074be7f87
commit e982ca5fee
6 changed files with 73 additions and 6 deletions

View File

@@ -114,6 +114,11 @@ Filename to log to. Default is STDOUT
\fB\-p\fR, \fB\-\-prng\fR=\fIMETHOD\fR
PRNG option (mersenne|twister|isaac)
.TP
\fB\-q\fR, \fB\-\-quiet\fR
Anonymize serial numbers, Gui & logs display:
XXXXXXXX = S/N obtained & anonymized.
???????? = S/N not available.
.TP
\fB\-r\fR, \fB\-\-rounds\fR=\fINUM\fR
Number of times to wipe the device using the selected method (default: 1)
.TP