add action to set management key

This commit is contained in:
Klas Lindfors
2014-02-04 08:44:47 +01:00
parent 0bd1280a1a
commit 6e3d265d4c
2 changed files with 40 additions and 3 deletions
+2 -1
View File
@@ -27,6 +27,7 @@
option "verbose" v "Print more information" flag off
option "reader" r "Only use a matching reader" string optional
option "key" k "Authentication key to use" string optional default="010203040506070801020304050607080102030405060708"
option "action" a "Action to take" values="version","generate" enum
option "action" a "Action to take" values="version","generate","set-mgm-key" enum
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