add password for private keys

This commit is contained in:
Klas Lindfors
2014-02-04 17:00:35 +01:00
parent 73589efb13
commit 711f24a846
2 changed files with 15 additions and 11 deletions
+3 -2
View File
@@ -31,8 +31,9 @@ option "action" a "Action to take" values="version","generate","set-mgm-key","re
option "slot" s "What key slot to operate on" values="9a","9c","9d","9e" enum optional
option "algorithm" A "What algorithm to use" values="RSA1024","RSA2048","ECCP256" enum optional default="RSA2048"
option "new-key" n "New authentication key to use" string optional
option "pin-retries" p "Number of retries before the pin code is blocked" int optional
option "puk-retries" P "Number of retries before the puk code is blocked" int optional
option "pin-retries" - "Number of retries before the pin code is blocked" int optional
option "puk-retries" - "Number of retries before the puk code is blocked" int optional
option "input" i "Filename to use as input, - for stdin" string optional default="-"
option "output" o "Filename to use as output, - for stdout" string optional default="-"
option "key-format" K "Format of the key being read/written" values="PEM","PKCS12" enum optional default="PEM"
option "password" p "Password for decryption of private key file" string optional