From 2cef939b84a8b50eb3f8aa38830584a7b3fd050c Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Sat, 8 May 2004 18:51:48 +0000 Subject: *** empty log message *** --- src/Makefile.am | 2 +- src/README.srpcrypt | 30 ------------------------------ src/README.srptool | 30 ++++++++++++++++++++++++++++++ 3 files changed, 31 insertions(+), 31 deletions(-) delete mode 100644 src/README.srpcrypt create mode 100644 src/README.srptool 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.srpcrypt deleted file mode 100644 index 53e7d5c27e..0000000000 --- a/src/README.srpcrypt +++ /dev/null @@ -1,30 +0,0 @@ -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 -authentication to be the performed to system users. If this -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: - -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: 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). - -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. - diff --git a/src/README.srptool b/src/README.srptool new file mode 100644 index 0000000000..b695122f49 --- /dev/null +++ b/src/README.srptool @@ -0,0 +1,30 @@ +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 +authentication to be the performed to system users. If this +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 srptool: + +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: 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: 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. + -- cgit v1.2.1