OS Manuals

/usr/bin/psktool

Command line tools for TLS protocol

From gnutls-utils 3.8.13-r3 (os), captured 2026-11-05 by running psktool --help (exit 0). permalink

psktool - GnuTLS PSK tool
Usage:  psktool [ -<flag> [<val>] | --<name>[{=| }<val>] ]...

None:

   -d, --debug=num            Enable debugging
				- it must be in the range:
				  0 to 9999
   -s, --keysize=num          Specify the key size in bytes (default is 32-bytes or 256-bits)
				- it must be in the range:
				  0 to 512
   -u, --username=str         Specify the username to use
   -p, --pskfile=str          Specify a pre-shared key file

Version, usage and configuration options:

   -v, --version[=arg]        output version information and exit
   -h, --help                 display extended usage information and exit
   -!, --more-help            extended usage information passed thru pager

Options are specified by doubled hyphens and their name or by a single
hyphen and the flag character.

Program  that generates random keys for use with TLS-PSK. The
keys are stored in hexadecimal format in a key file.

Please send bug reports to:  <bugs@gnutls.org>
Options (8)
OptionDescriptionSource
-d, --debug numEnable debugging.help + man
-s, --keysize numSpecify the key size in bytes (default is 32-bytes or 256-bits).help + man
-u, --username strSpecify the username to use.help + man
-p, --pskfile strSpecify a pre-shared key file.help + man
-v, --version argoutput version information and exithelp + man
-h, --helpdisplay extended usage information and exithelp + man
--more-helpPass the extended usage information through a pager.help + man
--passwdThis is an alias for the --pskfile option. (in the manual page but not in --help)man
Examples (2) from the manual page, untested

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.