]> err.no Git - yubikey-personalization/commitdiff
cleanup
authorKlas Lindfors <klas@yubico.com>
Thu, 11 Apr 2013 11:24:11 +0000 (13:24 +0200)
committerKlas Lindfors <klas@yubico.com>
Thu, 11 Apr 2013 11:24:11 +0000 (13:24 +0200)
ykpers-json.c

index 690522e60359cc5c8bcbe3972f84e6e3c7ab9478..3035a36a2b227b6ac74409754b152aa2c5906228 100644 (file)
@@ -58,19 +58,11 @@ static struct map_st ticket_flags_map[] = {
        { TKTFLAG_APPEND_CR,            "appendCR",     MODE_OUTPUT },
        { TKTFLAG_PROTECT_CFG2,         "protectSecond",0 },
        { 0, "", 0 }
-       /* XXX: deal with modes..
-        * { TKTFLAG_OATH_HOTP,         "OATH_HOTP",            capability_has_oath,            0 },
-       { TKTFLAG_CHAL_RESP,            "CHAL_RESP",            capability_has_chal_resp,       0 },
-       { 0, "", 0, 0 }*/
 };
 
 static struct map_st config_flags_map[] = {
-       //{ CFGFLAG_CHAL_YUBICO,                "CHAL_YUBICO",          capability_has_chal_resp,       TKTFLAG_CHAL_RESP },
-       //{ CFGFLAG_CHAL_HMAC,          "CHAL_HMAC",            capability_has_chal_resp,       TKTFLAG_CHAL_RESP },
        { CFGFLAG_HMAC_LT64,            "hmacLT64",     MODE_CHAL_HMAC }, /* XXX: name? */
-       { CFGFLAG_CHAL_BTN_TRIG,        "chalBtnTrig",  MODE_CHAL_RESP }, /* XXX: name? */
-       /* TODO: oathDigits
-       { CFGFLAG_OATH_HOTP8,           "oathHotp8"     TKTFLAG_OATH_HOTP },*/
+       { CFGFLAG_CHAL_BTN_TRIG,        "buttonReqd",   MODE_CHAL_RESP },
        { CFGFLAG_OATH_FIXED_MODHEX1,   "oathFixedModhex1",     MODE_OATH_HOTP }, /* XXX: name? */
        { CFGFLAG_OATH_FIXED_MODHEX2,   "oathFixedModhex2",     MODE_OATH_HOTP }, /* XXX: name? */
        { CFGFLAG_OATH_FIXED_MODHEX,    "oathFixedModhex",      MODE_OATH_HOTP }, /* XXX: name? */
@@ -79,8 +71,6 @@ static struct map_st config_flags_map[] = {
        { CFGFLAG_PACING_10MS,          "pacing10MS",   MODE_OUTPUT }, /* XXX: name? */
        { CFGFLAG_PACING_20MS,          "pacing20MS",   MODE_OUTPUT }, /* XXX: name? */
        { CFGFLAG_ALLOW_HIDTRIG,        "allowHidtrig", MODE_OUTPUT }, /* XXX: name? */
-       /* TODO: mode.. */
-       /*{ CFGFLAG_STATIC_TICKET,      "STATIC_TICKET",        capability_has_static,          0 },*/
        { CFGFLAG_SHORT_TICKET,         "shortTicket",  MODE_STATIC_TICKET }, /* XXX: name? */
        { CFGFLAG_STRONG_PW1,           "strongPw1",    MODE_STATIC_TICKET }, /* XXX: name? */
        { CFGFLAG_STRONG_PW2,           "strongPw2",    MODE_STATIC_TICKET }, /* XXX: name? */