1 AutoGen Definitions options
;
3 prog
-title
= "GnuTLS SRP tool";
4 prog
-desc
= "Simple program to create SRP parameters.\n";
6 detail
= "Simple program that emulates the programs in the Stanford SRP (Secure
7 Remote Password) libraries using GnuTLS. It is intended for use in places
8 where you don't expect SRP authentication to be the used for system users.
10 In brief, to use SRP you need to create two files. These are the password
11 file that holds the users and the verifiers associated with them and the
12 configuration file to hold the group parameters (called tpasswd.conf).";
14 short
-usage
= "srptool [options]\nsrptool --help for usage instructions.\n";
21 descrip
= "specify the index of the group parameters in tpasswd.conf to use.";
29 descrip
= "specify a username";
37 descrip
= "specify a password file.";
45 descrip
= "specify salt size.";
51 descrip
= "just verify the password.";
52 doc
= "Verifies the password provided against the password file.";
59 descrip
= "specify a password conf file.";
60 doc
= "Specify a filename or a PKCS #11 URL to read the CAs from.";
66 descrip
= "Generate a password configuration file.";
67 doc
= "This generates a password configuration file (tpasswd.conf)
68 containing the required for TLS parameters.";
75 gnutls
-cli
-debug (1), gnutls
-serv (1), srptool (1), psktool (1), certtool (1)
83 To create @file
{tpasswd.conf
} which holds the g and n values for SRP protocol
84 (generator and a large prime
), run
:
86 $ srptool
--create
-conf
/etc
/tpasswd.conf
89 This command will create @file
{/etc
/tpasswd
} and will add user
'test' (you
90 will also be prompted for a password
). Verifiers are stored by default
91 in the way libsrp expects.
93 $ srptool
--passwd
/etc
/tpasswd
--passwd
-conf
/etc
/tpasswd.conf
-u test
97 This command will check against a password. If the password matches
98 the one in @file
{/etc
/tpasswd
} you will get an ok.
100 $ srptool
--passwd
/etc
/tpasswd
--passwd\
-conf
/etc
/tpasswd.conf
--verify
-u test