diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2004-05-08 18:51:48 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2004-05-08 18:51:48 +0000 |
commit | 2cef939b84a8b50eb3f8aa38830584a7b3fd050c (patch) | |
tree | f6dfb3477f2500fece6e82d2d2f1c3909a4f1424 | |
parent | 8593b136f247c82b8037907f7db615d552b2ddda (diff) | |
download | gnutls-2cef939b84a8b50eb3f8aa38830584a7b3fd050c.tar.gz |
*** empty log message ***
-rw-r--r-- | src/Makefile.am | 2 | ||||
-rw-r--r-- | src/README.srptool (renamed from src/README.srpcrypt) | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 8e412a60c3..728c5d44eb 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,4 +1,4 @@ -EXTRA_DIST = common.h crypt.gaa crypt-gaa.h README.srpcrypt \ +EXTRA_DIST = common.h crypt.gaa crypt-gaa.h README.srptool \ README cli.gaa cli-gaa.h serv-gaa.h serv.gaa tls_test.gaa \ tls_test-gaa.h tests.h gnutls-http-serv list.h certtool-gaa.h \ certtool.gaa getpass.h certtool-cfg.h diff --git a/src/README.srpcrypt b/src/README.srptool index 53e7d5c27e..b695122f49 100644 --- a/src/README.srpcrypt +++ b/src/README.srptool @@ -1,4 +1,4 @@ -srpcrypt is a very simple program that emulates the programs in the libsrp +srptool 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 srpcrypt: +How to use srptool: -Run: srpcrypt --create-conf /etc/tpasswd.conf +Run: srptool --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: srpcrypt --passwd /etc/tpasswd --passwd-conf /etc/tpasswd.conf -u test +Run: srptool --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). -Run: srpcrypt --passwd /etc/tpasswd --passwd-conf /etc/tpasswd.conf --verify -u test +Run: srptool --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. |