psktool(1) - Linux man page
Name
psktool - Simple PSK password toolSynopsis
psktool [options]Description
Very simple program that generates random keys for use with TLS-PSK. The keys are stored in hexadecimal format in a file.Options
- --keysize BYTES
- specify the number of bytes of the key
- -p, --passwd FILE
- Specify a password file.
- -u, --username username
- Specify username.
- -h, --help
- Prints a short reminder of the command line options.
Examples
To create a passwd.psk with a user called test for use with gnuTLS run:$ psktool --passwd /etc/passwd.psk -u test
Author
Nikos Mavroyanopoulos <nmav@gnutls.org> and others; see /usr/share/doc/gnutls-bin/AUTHORS for a complete list.