Fix dangling/unused bindings in `(gnutls)'.
[gnutls.git] / src / README.srptool
blobb695122f494f1af5b605dd26e913d13280b9e061
1 srptool is a very simple program that emulates the programs in the libsrp 
2 found in http://srp.stanford.edu.
4 It is intended for use in places where you don't expect srp
5 authentication to be the performed to system users. If this
6 is the case use libsrp and the pam modules provided.
9 Libsrp uses two files. One called 'tpasswd' which holds usernames and
10 verifiers, and 'tpasswd.conf' which holds generators and primes.
12 How to use srptool:
14 Run: srptool --create-conf /etc/tpasswd.conf
16 * This will create tpasswd.conf which holds the g and n values for
17 SRP protocol (generator and a large prime).
19 Run: srptool --passwd /etc/tpasswd --passwd-conf /etc/tpasswd.conf -u test
21 * This will create /etc/tpasswd and will add user 'test' (you will also
22 be prompted for a password). Verifiers are stored by default in the
23 way libsrp expects (using a modified SHA()). However using this tool you 
24 may also specify blowfish crypt instead of SHA (see --crypt parameter).
26 Run: srptool --passwd /etc/tpasswd --passwd-conf /etc/tpasswd.conf --verify -u test
28 * You will be promted for a password, and if this password matches the one
29 in /etc/tpasswd you will get an ok.