From 3152a6d3c1e46243a69fe8ef8066027ca4d38d47 Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Sat, 19 Sep 2020 15:04:18 +0200 Subject: Add the --progress option to the fill command The fill command starts a background operation on a Nitrokey Storage device that fills the SD card with random data. This patch adds a new option, --progress, to the fill command that checks if a fill operation is already running on the device and shows its progress. --- doc/nitrocli.1 | 7 ++++++- doc/nitrocli.1.pdf | Bin 42979 -> 43299 bytes 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/nitrocli.1 b/doc/nitrocli.1 index fd04d45..c6d27be 100644 --- a/doc/nitrocli.1 +++ b/doc/nitrocli.1 @@ -137,7 +137,7 @@ open. \fBnitrocli hidden close Close a hidden volume. .TP -\fBnitrocli fill\fR +\fBnitrocli fill \fR[\fB\-a\fR|\fB\-\-attach\fR Fills the SD card with random data, overwriting all existing data. This operation takes about one hour to finish for a 16 GiB SD card. It cannot be canceled, even if the \fBnitrocli\fR process is terminated before @@ -147,6 +147,11 @@ This command requires the admin PIN. To avoid accidental calls of this command, the user has to enter the PIN even if it has been cached. +If the \fB\-\-attach\fR option is set, this command will not start a new fill +operation. +Instead it checks whether a fill operation is currently running on the device +and shows its progress. + .SS One-time passwords The Nitrokey Pro and the Nitrokey Storage support the generation of one-time passwords using the HOTP algorithm according to RFC 4226 or the TOTP algorithm diff --git a/doc/nitrocli.1.pdf b/doc/nitrocli.1.pdf index d04fe02..6fd3406 100644 Binary files a/doc/nitrocli.1.pdf and b/doc/nitrocli.1.pdf differ -- cgit v1.2.1