diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2001-12-30 17:53:08 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2001-12-30 17:53:08 +0000 |
commit | 625a375363af36dc24e6df14b5370aaeea198b13 (patch) | |
tree | 4a13779d9dcb181c7f9ecf6ce6fbf562248a6e72 /src/README.srpcrypt | |
parent | b5285825897b7fa30df969c73e867e7cf9435111 (diff) | |
download | gnutls-625a375363af36dc24e6df14b5370aaeea198b13.tar.gz |
updated
Diffstat (limited to 'src/README.srpcrypt')
-rw-r--r-- | src/README.srpcrypt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/README.srpcrypt b/src/README.srpcrypt index 033fc6f0d1..76a8154cce 100644 --- a/src/README.srpcrypt +++ b/src/README.srpcrypt @@ -1,4 +1,4 @@ -crypt is a very simple program that emulates the programs in the libsrp +srpcrypt is a very simple program that emulates the programs in the libsrp found in http://srp.stanford.edu. It is intended for use in places where you don't expect srp @@ -9,21 +9,21 @@ is the case use libsrp and the pam modules provided. Libsrp uses two files. One called 'tpasswd' which holds usernames and verifiers, and 'tpasswd.conf' which holds generators and primes. -How to use crypt: +How to use srpcrypt: -Run: crypt --create_conf /etc/tpasswd.conf +Run: srpcrypt --create_conf /etc/tpasswd.conf * This will create tpasswd.conf which holds the g and n values for SRP protocol (generator and a large prime). -Run: crypt --passwd /etc/tpasswd --passwd_conf /etc/tpasswd.conf -u test +Run: srpcrypt --passwd /etc/tpasswd --passwd_conf /etc/tpasswd.conf -u test * This will create /etc/tpasswd and will add user 'test' (you will also be prompted for a password). Verifiers are stored by default in the way libsrp expects (using a modified SHA()). However using this tool you -may also specify blowfish crypt instead of SHA (see --crypt parameter). +may also specify blowfish srpcrypt instead of SHA (see --crypt parameter). -Run: crypt --passwd /etc/tpasswd --passwd_conf /etc/tpasswd.conf --verify -u test +Run: srpcrypt --passwd /etc/tpasswd --passwd_conf /etc/tpasswd.conf --verify -u test * You will be promted for a password, and if this password matches the one in /etc/tpasswd you will get an ok. |