Blame doc/manpages/srptool.1

Packit 549fdc
.de1 NOP
Packit 549fdc
.  it 1 an-trap
Packit 549fdc
.  if \\n[.$] \,\\$*\/
Packit 549fdc
..
Packit 549fdc
.ie t \
Packit 549fdc
.ds B-Font [CB]
Packit 549fdc
.ds I-Font [CI]
Packit 549fdc
.ds R-Font [CR]
Packit 549fdc
.el \
Packit 549fdc
.ds B-Font B
Packit 549fdc
.ds I-Font I
Packit 549fdc
.ds R-Font R
Packit 549fdc
.TH srptool 1 "16 Feb 2018" "3.6.2" "User Commands"
Packit 549fdc
.\"
Packit 549fdc
.\" DO NOT EDIT THIS FILE (in-mem file)
Packit 549fdc
.\"
Packit 549fdc
.\" It has been AutoGen-ed
Packit 549fdc
.\" From the definitions srptool-args.def.tmp
Packit 549fdc
.\" and the template file agman-cmd.tpl
Packit 549fdc
.SH NAME
Packit 549fdc
\f\*[B-Font]srptool\fP
Packit 549fdc
\- GnuTLS SRP tool
Packit 549fdc
.SH SYNOPSIS
Packit 549fdc
\f\*[B-Font]srptool\fP
Packit 549fdc
.\" Mixture of short (flag) options and long options
Packit 549fdc
[\f\*[B-Font]\-flags\f[]]
Packit 549fdc
[\f\*[B-Font]\-flag\f[] [\f\*[I-Font]value\f[]]]
Packit 549fdc
[\f\*[B-Font]\-\-option-name\f[][[=| ]\f\*[I-Font]value\f[]]]
Packit 549fdc
.sp \n(Ppu
Packit 549fdc
.ne 2
Packit 549fdc
Packit 549fdc
All arguments must be options.
Packit 549fdc
.sp \n(Ppu
Packit 549fdc
.ne 2
Packit 549fdc
Packit 549fdc
.SH "DESCRIPTION"
Packit 549fdc
Simple program that emulates the programs in the Stanford SRP (Secure
Packit 549fdc
Remote Password) libraries using GnuTLS.  It is intended for use in  places
Packit 549fdc
where you don't expect SRP authentication to be the used for system users.
Packit 549fdc
.sp
Packit 549fdc
In  brief,  to use SRP you need to create two files. These are the password
Packit 549fdc
file that holds the users and the verifiers associated with  them  and  the
Packit 549fdc
configuration file to hold the group parameters (called tpasswd.conf).
Packit 549fdc
.SH "OPTIONS"
Packit 549fdc
.TP
Packit 549fdc
.NOP \f\*[B-Font]\-d\f[] \f\*[I-Font]number\f[], \f\*[B-Font]\-\-debug\f[]=\f\*[I-Font]number\f[]
Packit 549fdc
Enable debugging.
Packit 549fdc
This option takes an integer number as its argument.
Packit 549fdc
The value of
Packit 549fdc
\f\*[I-Font]number\f[]
Packit 549fdc
is constrained to being:
Packit 549fdc
.in +4
Packit 549fdc
.nf
Packit 549fdc
.na
Packit 549fdc
in the range  0 through 9999
Packit 549fdc
.fi
Packit 549fdc
.in -4
Packit 549fdc
.sp
Packit 549fdc
Specifies the debug level.
Packit 549fdc
.TP
Packit 549fdc
.NOP \f\*[B-Font]\-i\f[] \f\*[I-Font]number\f[], \f\*[B-Font]\-\-index\f[]=\f\*[I-Font]number\f[]
Packit 549fdc
specify the index of the group parameters in tpasswd.conf to use.
Packit 549fdc
This option takes an integer number as its argument.
Packit 549fdc
The default
Packit 549fdc
\f\*[I-Font]number\f[]
Packit 549fdc
for this option is:
Packit 549fdc
.ti +4
Packit 549fdc
 3
Packit 549fdc
.sp
Packit 549fdc
.TP
Packit 549fdc
.NOP \f\*[B-Font]\-u\f[] \f\*[I-Font]string\f[], \f\*[B-Font]\-\-username\f[]=\f\*[I-Font]string\f[]
Packit 549fdc
specify a username.
Packit 549fdc
.sp
Packit 549fdc
.TP
Packit 549fdc
.NOP \f\*[B-Font]\-p\f[] \f\*[I-Font]string\f[], \f\*[B-Font]\-\-passwd\f[]=\f\*[I-Font]string\f[]
Packit 549fdc
specify a password file.
Packit 549fdc
.sp
Packit 549fdc
.TP
Packit 549fdc
.NOP \f\*[B-Font]\-s\f[] \f\*[I-Font]number\f[], \f\*[B-Font]\-\-salt\f[]=\f\*[I-Font]number\f[]
Packit 549fdc
specify salt size.
Packit 549fdc
This option takes an integer number as its argument.
Packit 549fdc
.sp
Packit 549fdc
.TP
Packit 549fdc
.NOP \f\*[B-Font]\-\-verify\f[]
Packit 549fdc
just verify the password..
Packit 549fdc
.sp
Packit 549fdc
Verifies the password provided against the password file.
Packit 549fdc
.TP
Packit 549fdc
.NOP \f\*[B-Font]\-v\f[] \f\*[I-Font]string\f[], \f\*[B-Font]\-\-passwd\-conf\f[]=\f\*[I-Font]string\f[]
Packit 549fdc
specify a password conf file..
Packit 549fdc
.sp
Packit 549fdc
Specify a filename or a PKCS #11 URL to read the CAs from.
Packit 549fdc
.TP
Packit 549fdc
.NOP \f\*[B-Font]\-\-create\-conf\f[]=\f\*[I-Font]string\f[]
Packit 549fdc
Generate a password configuration file..
Packit 549fdc
.sp
Packit 549fdc
This generates a password configuration file (tpasswd.conf)
Packit 549fdc
containing the required for TLS parameters.
Packit 549fdc
.TP
Packit 549fdc
.NOP \f\*[B-Font]\-h\f[], \f\*[B-Font]\-\-help\f[]
Packit 549fdc
Display usage information and exit.
Packit 549fdc
.TP
Packit 549fdc
.NOP \f\*[B-Font]\-\&!\f[], \f\*[B-Font]\-\-more-help\f[]
Packit 549fdc
Pass the extended usage information through a pager.
Packit 549fdc
.TP
Packit 549fdc
.NOP \f\*[B-Font]\-v\f[] [{\f\*[I-Font]v|c|n\f[] \f\*[B-Font]\-\-version\f[] [{\f\*[I-Font]v|c|n\f[]}]}]
Packit 549fdc
Output version of program and exit.  The default mode is `v', a simple
Packit 549fdc
version.  The `c' mode will print copyright information and `n' will
Packit 549fdc
print the full copyright notice.
Packit 549fdc
.PP
Packit 549fdc
.SH EXAMPLES
Packit 549fdc
To create \fItpasswd.conf\fP which holds the g and n values for SRP protocol
Packit 549fdc
(generator and a large prime), run:
Packit 549fdc
.br
Packit 549fdc
.in +4
Packit 549fdc
.nf
Packit 549fdc
$ srptool \-\-create\-conf /etc/tpasswd.conf
Packit 549fdc
.in -4
Packit 549fdc
.fi
Packit 549fdc
.sp
Packit 549fdc
This command will create \fI/etc/tpasswd\fP and will add user 'test' (you
Packit 549fdc
will also be prompted for a password). Verifiers are stored by default
Packit 549fdc
in the way libsrp expects.
Packit 549fdc
.br
Packit 549fdc
.in +4
Packit 549fdc
.nf
Packit 549fdc
$ srptool \-\-passwd /etc/tpasswd \-\-passwd\-conf /etc/tpasswd.conf \-u test
Packit 549fdc
.in -4
Packit 549fdc
.fi
Packit 549fdc
.sp
Packit 549fdc
.sp
Packit 549fdc
This command will check against a password. If the password matches
Packit 549fdc
the one in \fI/etc/tpasswd\fP you will get an ok.
Packit 549fdc
.br
Packit 549fdc
.in +4
Packit 549fdc
.nf
Packit 549fdc
$ srptool \-\-passwd /etc/tpasswd \-\-passwd\-conf /etc/tpasswd.conf \-\-verify \-u test
Packit 549fdc
.in -4
Packit 549fdc
.fi
Packit 549fdc
.SH "EXIT STATUS"
Packit 549fdc
One of the following exit values will be returned:
Packit 549fdc
.TP
Packit 549fdc
.NOP 0 " (EXIT_SUCCESS)"
Packit 549fdc
Successful program execution.
Packit 549fdc
.TP
Packit 549fdc
.NOP 1 " (EXIT_FAILURE)"
Packit 549fdc
The operation failed or the command syntax was not valid.
Packit 549fdc
.TP
Packit 549fdc
.NOP 70 " (EX_SOFTWARE)"
Packit 549fdc
libopts had an internal operational error.  Please report
Packit 549fdc
it to autogen-users@lists.sourceforge.net.  Thank you.
Packit 549fdc
.PP
Packit 549fdc
.SH "SEE ALSO"
Packit 549fdc
    gnutls\-cli\-debug (1), gnutls\-serv (1), srptool (1), psktool (1), certtool (1)
Packit 549fdc
.SH "AUTHORS"
Packit 549fdc
Nikos Mavrogiannopoulos, Simon Josefsson and others; see /usr/share/doc/gnutls/AUTHORS for a complete list.
Packit 549fdc
.SH "COPYRIGHT"
Packit 549fdc
Copyright (C) 2000-2018 Free Software Foundation, and others all rights reserved.
Packit 549fdc
This program is released under the terms of the GNU General Public License, version 3 or later.
Packit 549fdc
.SH "BUGS"
Packit 549fdc
Please send bug reports to: bugs@gnutls.org
Packit 549fdc
.SH "NOTES"
Packit 549fdc
This manual page was \fIAutoGen\fP-erated from the \fBsrptool\fP
Packit 549fdc
option definitions.