summaryrefslogtreecommitdiffstats
path: root/src/psktool-options.json
blob: d97895013f8db684e45aa9331df3ec416b6ed250 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
  "format-version": "0.1.0",
  "tool": {
    "name": "psktool",
    "title": "GnuTLS PSK tool",
    "description": "Program to create PSK parameters.\n",
    "detail": "Program  that generates random keys for use with TLS-PSK. The\nkeys are stored in hexadecimal format in a key file.",
    "short-usage": "psktool [options]\npsktool --help for usage instructions.\n"
  },
  "sections": [
    {
      "options": [
        {
          "long-option": "debug",
          "short-option": "d",
          "description": "Enable debugging",
          "detail": "Specifies the debug level.",
          "argument-range": {
            "min": 0,
            "max": 9999
          },
          "argument-type": "number"
        },
        {
          "long-option": "keysize",
          "short-option": "s",
          "description": "Specify the key size in bytes (default is 32-bytes or 256-bits)",
          "argument-range": {
            "min": 0,
            "max": 512
          },
          "argument-type": "number"
        },
        {
          "long-option": "username",
          "short-option": "u",
          "description": "Specify the username to use",
          "argument-type": "string"
        },
        {
          "long-option": "pskfile",
          "short-option": "p",
          "description": "Specify a pre-shared key file",
          "detail": "This option will specify the pre-shared key file to store the generated keys.",
          "argument-type": "string"
        },
        {
          "long-option": "passwd",
          "description": "Specify a pre-shared key file",
          "deprecated": true,
          "aliases": "pskfile"
        }
      ]
    }
  ]
}