diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 07:33:12 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 07:33:12 +0000 |
commit | 36082a2fe36ecd800d784ae44c14f1f18c66a7e9 (patch) | |
tree | 6c68e0c0097987aff85a01dabddd34b862309a7c /doc/psktool-examples.texi | |
parent | Initial commit. (diff) | |
download | gnutls28-36082a2fe36ecd800d784ae44c14f1f18c66a7e9.tar.xz gnutls28-36082a2fe36ecd800d784ae44c14f1f18c66a7e9.zip |
Adding upstream version 3.7.9.upstream/3.7.9upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'doc/psktool-examples.texi')
-rw-r--r-- | doc/psktool-examples.texi | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/psktool-examples.texi b/doc/psktool-examples.texi new file mode 100644 index 0000000..343464a --- /dev/null +++ b/doc/psktool-examples.texi @@ -0,0 +1,12 @@ +To add a user 'psk_identity' in @file{keys.psk} for use with GnuTLS run: +@example +$ ./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 +$ +@end example + +This command will create @file{keys.psk} if it does not exist +and will add user 'psk_identity'. |