mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
A bunch of changes for the openpgp card.
This commit is contained in:
parent
0c67c75cbe
commit
577d9c2342
19 changed files with 1958 additions and 263 deletions
|
@ -341,6 +341,8 @@ enum cmd_and_opt_values
|
|||
octapiDriver,
|
||||
opcscDriver,
|
||||
oDisableCCID,
|
||||
oAllowAdmin,
|
||||
oDenyAdmin,
|
||||
|
||||
aTest
|
||||
};
|
||||
|
@ -521,6 +523,10 @@ static ARGPARSE_OPTS opts[] = {
|
|||
{ oSetNotation, "notation-data", 2, "@" }, /* Alias */
|
||||
{ oSigNotation, "sig-notation", 2, "@" },
|
||||
{ oCertNotation, "cert-notation", 2, "@" },
|
||||
#ifdef ENABLE_CARD_SUPPORT
|
||||
{ oAllowAdmin, "allow-admin",0,N_("allow the use of admin card commands")},
|
||||
{ oDenyAdmin, "deny-admin",0,"@"},
|
||||
#endif
|
||||
|
||||
{ 302, NULL, 0, N_(
|
||||
"@\n(See the man page for a complete listing of all commands and options)\n"
|
||||
|
@ -1699,6 +1705,8 @@ main( int argc, char **argv )
|
|||
case octapiDriver: opt.ctapi_driver = pargs.r.ret_str; break;
|
||||
case opcscDriver: opt.pcsc_driver = pargs.r.ret_str; break;
|
||||
case oDisableCCID: opt.disable_ccid = 1; break;
|
||||
case oAllowAdmin: opt.allow_admin = 1; break;
|
||||
case oDenyAdmin: opt.allow_admin = 0; break;
|
||||
#endif /* ENABLE_CARD_SUPPORT*/
|
||||
|
||||
case oArmor: opt.armor = 1; opt.no_armor=0; break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue