aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2020-09-10 11:01:18 +0200
committerDaniel Mueller <deso@posteo.net>2021-01-10 21:04:47 -0800
commit23dee1867bba7d899bd806b4ed41d29a2800db89 (patch)
tree42565444447bca967469eec60b97b9c8eaa71848 /doc
parenta4f43e20faf5b3490da989932151514fe6c97cbc (diff)
downloadnitrocli-23dee1867bba7d899bd806b4ed41d29a2800db89.tar.gz
nitrocli-23dee1867bba7d899bd806b4ed41d29a2800db89.tar.bz2
Print SD card usage in Storage status
The Storage device keeps track of the areas of the SD card that have been written to during this power cycle. This data can be accessed using the NK_get_SD_usage_data function that returns a range of the SD card that has not been written. This data can be used as a guide line when creating new hidden volumes. This patch adds the SD card usage data to the output of the status command for Nitrokey Storage devices.
Diffstat (limited to 'doc')
-rw-r--r--doc/nitrocli.17
-rw-r--r--doc/nitrocli.1.pdfbin42165 -> 42316 bytes
2 files changed, 6 insertions, 1 deletions
diff --git a/doc/nitrocli.1 b/doc/nitrocli.1
index e65a9e7..fb207c4 100644
--- a/doc/nitrocli.1
+++ b/doc/nitrocli.1
@@ -70,7 +70,8 @@ them, set the \fB\-\-no-connect\fR option.
Print the status of the connected Nitrokey device, including the stick serial
number, the firmware version, and the PIN retry count. If the device is a
Nitrokey Storage, also print storage related information including the SD card
-serial number, the encryption status, and the status of the volumes.
+serial number, the SD card usage during this power cycle, the encryption
+status, and the status of the volumes.
.TP
.B nitrocli lock
Lock the Nitrokey.
@@ -121,6 +122,10 @@ respectively, the start and end position of the hidden volume inside the
encrypted volume, as a percentage of the encrypted volume's size.
This command requires a password which is later used to look up the hidden
volume to open. Unlike a PIN, this password is not cached by \fBgpg\-agent\fR(1).
+
+As a guide line for creating new hidden volumes, the \fBstatus\fR command
+provides a range of the SD card that has not been written to during this power
+cycle.
.TP
\fBnitrocli hidden open
Open a hidden volume. The volume to open is determined based on the password
diff --git a/doc/nitrocli.1.pdf b/doc/nitrocli.1.pdf
index 030a80d..c5fce65 100644
--- a/doc/nitrocli.1.pdf
+++ b/doc/nitrocli.1.pdf
Binary files differ