summaryrefslogtreecommitdiff
path: root/src/psktool-options.json
blob: 22771fa23616a5d687e3256459f3a47de4cc673a (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
[
  {
    "meta": {
      "explain": "",
      "desc": "",
      "prog-name": "psktool",
      "prog-desc": "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.",
      "prog-title": "GnuTLS PSK tool",
      "short-usage": "psktool [options]\npsktool --help for usage instructions.\n"
    },
    "options": [
      {
        "desc": "Enable debugging",
        "detail": "Specifies the debug level.",
        "arg-min": "0 ",
        "arg-max": " 9999",
        "arg-type": "number",
        "short-option": "d",
        "long-option": "debug"
      },
      {
        "long-option": "keysize",
        "desc": "Specify the key size in bytes (default is 32-bytes or 256-bits)",
        "short-option": "s",
        "arg-type": "number",
        "detail": "",
        "arg-min": "0 ",
        "arg-max": " 512"
      },
      {
        "long-option": "username",
        "desc": "Specify the username to use",
        "arg-type": "string",
        "detail": "",
        "short-option": "u"
      },
      {
        "long-option": "pskfile",
        "detail": "This option will specify the pre-shared key file to store the generated keys.",
        "short-option": "p",
        "arg-type": "string",
        "desc": "Specify a pre-shared key file"
      },
      {
        "deprecated": "",
        "desc": "Specify a pre-shared key file",
        "aliases": "pskfile",
        "long-option": "passwd"
      }
    ]
  }
]