Ubuntu Manpages

psktool [options]

Very simple program that generates random keys for use with TLS-PSK. The keys are stored in hexadecimal format in a file.

specify the number of bytes of the key
Specify a password file.
Specify username.
Prints a short reminder of the command line options.

To create a passwd.psk with a user called test for use with gnuTLS run:

$ psktool --passwd /etc/passwd.psk -u test

Nikos Mavroyanopoulos <nmav@gnutls.org> and others; see /usr/share/doc/gnutls-bin/AUTHORS for a complete list.