summaryrefslogtreecommitdiff
path: root/src/p11tool-args.def
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2016-11-10 06:34:50 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2016-11-13 10:44:53 +0100
commit5db6fbe1a5af0051471348d8bd2fe54aa9e0d124 (patch)
treead3ad4bd7d17c0c8989b73d59da0f768c2a4cc5f /src/p11tool-args.def
parent8f76ca84d8f1783ac02c78416d5be5e9facd958f (diff)
downloadgnutls-5db6fbe1a5af0051471348d8bd2fe54aa9e0d124.tar.gz
p11tool: added options to initialize a user and admin's PIN
Diffstat (limited to 'src/p11tool-args.def')
-rw-r--r--src/p11tool-args.def12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/p11tool-args.def b/src/p11tool-args.def
index 9342d6ead0..f6910d8842 100644
--- a/src/p11tool-args.def
+++ b/src/p11tool-args.def
@@ -50,6 +50,18 @@ flag = {
};
flag = {
+ name = initialize-pin;
+ descrip = "Initializes/Resets a PKCS #11 token user PIN";
+ doc = "";
+};
+
+flag = {
+ name = initialize-so-pin;
+ descrip = "Initializes/Resets a PKCS #11 token security officer PIN";
+ doc = "";
+};
+
+flag = {
name = set-pin;
arg-type = string;
descrip = "Specify the PIN to use on token initialization";