opensc-explorer: explicitly mention key types
This commit is contained in:
parent
2276c7e7e4
commit
cd2cdf77f6
|
@ -143,7 +143,7 @@ static struct command cmds[] = {
|
||||||
"rm", "<file id>",
|
"rm", "<file id>",
|
||||||
"remove an EF/DF" },
|
"remove an EF/DF" },
|
||||||
{ do_verify,
|
{ do_verify,
|
||||||
"verify", "<key type><key ref> [<pin>]",
|
"verify", "{CHV|KEY|AUT|PRO}<key ref> [<pin>]",
|
||||||
"present a PIN or key to the card" },
|
"present a PIN or key to the card" },
|
||||||
{ do_pace,
|
{ do_pace,
|
||||||
"pace", "{pin|can|puk|mrz} [<secret>]",
|
"pace", "{pin|can|puk|mrz} [<secret>]",
|
||||||
|
@ -955,7 +955,7 @@ static int do_verify(int argc, char **argv)
|
||||||
printf("Code correct.\n");
|
printf("Code correct.\n");
|
||||||
return 0;
|
return 0;
|
||||||
usage:
|
usage:
|
||||||
printf("Usage: verify <key type><key ref> [<pin>]\n");
|
printf("Usage: verify {CHV|KEY|AUT|PRO}<key ref> [<pin>]\n");
|
||||||
printf("Possible values of <key type>:\n");
|
printf("Possible values of <key type>:\n");
|
||||||
for (i = 0; typeNames[i].str; i++)
|
for (i = 0; typeNames[i].str; i++)
|
||||||
printf("\t%s\n", typeNames[i].str);
|
printf("\t%s\n", typeNames[i].str);
|
||||||
|
|
Loading…
Reference in New Issue