Next: , Previous: Invoking gnutls-serv, Up: Included programs


8.5 Invoking psktool

This is a program to manage PSK username and keys.

PSKtool help
Usage : psktool [options]
     -u, --username username
                              specify username.
     -p, --passwd FILE        specify a password file.
     -n, --netconf-hint HINT
                              derive key from Netconf password, using 
                              HINT as the psk_identity_hint.
     -s, --keysize SIZE       specify the key size in bytes.
     -v, --version            prints the program's version number
     -h, --help               shows this help text

Normally the file will generate random keys for the indicate username. You may also derive PSK keys from passwords, using the algorithm specified in draft-ietf-netconf-tls-02.txt. The algorithm needs a PSK identity hint, which you specify using --netconf-hint. To derive a PSK key from a password with an empty PSK identity hint, using --netconf-hint "".