Add a --valid-days parameter to yubico-piv-tool.

Allows the expiration date (notAfter) value of self signed certificates to be configured.
This commit is contained in:
Matt Moyer
2016-02-10 17:30:05 -06:00
parent 69b686d9b9
commit 98f843e7e7
2 changed files with 4 additions and 3 deletions
+1
View File
@@ -57,6 +57,7 @@ option "subject" S "The subject to use for certificate request" string optional
text "
The subject must be written as:
/CN=host.example.com/OU=test/O=example.com/\n"
option "valid-days" - "Time (in days) until the self-signed certificate expires" int optional default="365"
option "pin" P "Pin/puk code for verification" string optional
option "new-pin" N "New pin/puk code for changing" string optional dependon="pin"
option "pin-policy" - "Set pin policy for action generate or import-key" values="never","once","always" enum optional