1 AutoGen Definitions options;
3 prog-title = "GnuTLS PSK tool";
4 prog-desc = "Program to create PSK parameters.\n";
5 detail = "Program that generates random keys for use with TLS-PSK. The
6 keys are stored in hexadecimal format in a key file.";
7 short-usage = "psktool [options]\npsktool --help for usage instructions.\n";
16 arg-range = "0 -> 512";
17 descrip = "specify the key size in bytes";
25 descrip = "specify a username";
33 descrip = "specify a password file";
41 gnutls-cli-debug (1), gnutls-serv (1), srptool (1), certtool (1)
49 To add a user 'psk_identity' in @file{passwd.psk} for use with GnuTLS run:
51 $ ./psktool -u psk_identity -p passwd.psk
52 Generating a random key for user 'psk_identity'
53 Key stored to passwd.psk
55 psk_identity:88f3824b3e5659f52d00e959bacab954b6540344
59 This command will create @file{passwd.psk} if it does not exist
60 and will add user 'psk_identity' (you will also be prompted for a password).