Tizen 2.0 Release
[external/libgnutls26.git] / doc / manpages / psktool.1
1 .TH psktool 1 "February 21st 2005"
2 .SH NAME
3 psktool \- Simple PSK password tool
4 .SH SYNOPSIS
5 psktool [\fIoptions\fR]
6 .SH DESCRIPTION
7 Very simple program that generates random keys for use with
8 TLS-PSK. The keys are stored in hexadecimal format in a file.
9
10 .SH OPTIONS
11 .IP "\-\-keysize \fIBYTES\fR"
12 specify the number of bytes of the key
13 .IP "\-p, \-\-passwd \fIFILE\fR"
14 Specify a password file.
15 .IP "\-u, \-\-username \fIusername\fR"
16 Specify username.
17 .IP "\-h, \-\-help"
18 Prints a short reminder of the command line options.
19 .SH EXAMPLES
20 To create a passwd.psk with a user called test for use with gnuTLS run:
21
22 .RS
23 .nf
24 $ psktool \-\-passwd /etc/passwd.psk \-u test
25 .fi
26 .RE
27
28 .SH AUTHOR
29 .PP
30 Nikos Mavroyanopoulos <nmav@gnutls.org> and others; see
31 /usr/share/doc/gnutls\-bin/AUTHORS for a complete list.