aboutsummaryrefslogtreecommitdiff
path: root/nitrocli/doc
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2018-12-30 18:32:45 +0100
committerDaniel Mueller <deso@posteo.net>2019-01-01 17:14:58 -0800
commitcc3aa7f14eaec746e6718ef155a59e10c67a03fb (patch)
tree3d9c64d275236fa18b7b2d04eda54b6900b42fdb /nitrocli/doc
parentfc4a8e12af694a40fe17bcebddd9e4617075400f (diff)
downloadnitrocli-cc3aa7f14eaec746e6718ef155a59e10c67a03fb.tar.gz
nitrocli-cc3aa7f14eaec746e6718ef155a59e10c67a03fb.tar.bz2
Implement the pin set command
This change implements the pin set command which can be used to change a Nitrokey's user or admin PIN.
Diffstat (limited to 'nitrocli/doc')
-rw-r--r--nitrocli/doc/nitrocli.18
1 files changed, 8 insertions, 0 deletions
diff --git a/nitrocli/doc/nitrocli.1 b/nitrocli/doc/nitrocli.1
index bec9a15..4e59352 100644
--- a/nitrocli/doc/nitrocli.1
+++ b/nitrocli/doc/nitrocli.1
@@ -139,6 +139,14 @@ Use the \fBstatus\fR command to check the retry counters.
Clear the PINs cached by the other commands.
.TP
+\fBnitrocli pin set \fItype\fR
+Change a PIN.
+\fItype\fR is the type of the PIN that will be changed: \fBadmin\fR to change
+the admin PIN or \fBuser\fR to change the user PIN.
+This command only works if the retry counter for the PIN type is at least one.
+(Use the \fBstatus\fR command to check the retry counters.)
+
+.TP
.B nitrocli pin unblock
Unblock and reset the user PIN.
This command requires the admin PIN.