{
  "id": "krb5",
  "name": "Kerberos",
  "homepage": "https://web.mit.edu/kerberos/",
  "description": "Kerberos is a network authentication protocol designed to provide strong authentication for client/server applications by using secret-key cryptography.",
  "icon": "https://web.mit.edu/kerberos/images/dog-ring.jpg",
  "executables": [
    "klist",
    "kinit",
    "kdestroy"
  ],
  "platforms": [
    "macos",
    "linux"
  ],
  "dotfiles": {
    "paths": [
      "~/.k5identity"
    ],
    "exclude": [
      "~/.k5login"
    ],
    "secret": [],
    "side_effect": false
  },
  "commands": {
    "format": 1,
    "label": "List Kerberos tickets",
    "description": "Show the tickets in a credential cache with klist. kinit and kdestroy are not covered.",
    "quality": "ai-draft",
    "base": "fig:klist",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": true,
      "short_bundles": false
    },
    "source": [
      {
        "id": "fig",
        "kind": "completion",
        "url": "https://github.com/withfig/autocomplete/blob/master/src/klist.ts",
        "license": "MIT"
      }
    ],
    "field": [
      {
        "id": "cache",
        "label": "Credential cache",
        "type": "string",
        "option": [
          "-c"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "flags",
        "label": "Show ticket flags",
        "type": "boolean",
        "option": [
          "-f"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "verbose",
        "label": "Verbose",
        "type": "boolean",
        "option": [
          "-v",
          "--verbose"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "list_all",
        "label": "List all caches",
        "type": "boolean",
        "option": [
          "-l",
          "--list-all"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "json",
        "label": "JSON output",
        "type": "boolean",
        "option": [
          "--json"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "test",
        "label": "Test for a valid TGT",
        "description": "Print nothing; the exit status says whether a valid ticket-granting ticket exists.",
        "type": "boolean",
        "option": [
          "-s"
        ],
        "sources": [
          "fig"
        ]
      }
    ],
    "task": [
      {
        "id": "list",
        "label": "List tickets",
        "fields": [
          "cache",
          "flags",
          "verbose"
        ]
      },
      {
        "id": "check",
        "label": "Check for a valid TGT",
        "set": {
          "test": [
            true
          ]
        },
        "fields": [
          "test",
          "cache"
        ]
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "cache",
          "flags",
          "verbose",
          "list_all",
          "json",
          "test"
        ]
      }
    ]
  }
}
