summaryrefslogtreecommitdiff
path: root/src/psktool-options.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/psktool-options.json')
-rw-r--r--src/psktool-options.json53
1 files changed, 53 insertions, 0 deletions
diff --git a/src/psktool-options.json b/src/psktool-options.json
new file mode 100644
index 0000000000..22771fa236
--- /dev/null
+++ b/src/psktool-options.json
@@ -0,0 +1,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"
+ }
+ ]
+ }
+] \ No newline at end of file