psktool(1) | User Commands | psktool(1) |
psktool - GnuTLS PSK tool
psktool [-flags] [-flag [value]] [--option-name[[=| ]value]]
All arguments must be options.
Program that generates random keys for use with TLS-PSK. The keys are stored in hexadecimal format in a key file.
in the range 0 through 9999
Specifies the debug level.
in the range 0 through 512
This option will specify the pre-shared key file to store the generated keys.
NOTE: THIS OPTION IS DEPRECATED
To add a user 'psk_identity' in keys.psk for use with
GnuTLS run:
$ ./psktool -u psk_identity -p keys.psk Generating a random key for user 'psk_identity' Key stored to keys.psk $ cat keys.psk psk_identity:88f3824b3e5659f52d00e959bacab954b6540344 $
This command will create keys.psk if it does not exist and will add user 'psk_identity'.
One of the following exit values will be returned:
gnutls-cli-debug (1), gnutls-serv (1), srptool (1), certtool (1)
Nikos Mavrogiannopoulos, Simon Josefsson and others; see /usr/share/doc/gnutls/AUTHORS for a complete list.
Copyright (C) 2000-2020 Free Software Foundation, and others all rights reserved. This program is released under the terms of the GNU General Public License, version 3 or later.
Please send bug reports to: bugs@gnutls.org
This manual page was AutoGen-erated from the psktool option definitions.
2023-11-30 | 3.7.1 |