summaryrefslogtreecommitdiff
path: root/src/README.srpcrypt
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2001-12-09 11:02:10 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2001-12-09 11:02:10 +0000
commitbc2458bf5224c86fadd98b85c42a75f68838af58 (patch)
tree1dd7722c4828a67e1bea5f439f4aa7e393146ed7 /src/README.srpcrypt
parenta83a82623599e77b9df86a497fee69896b4dabfe (diff)
downloadgnutls-bc2458bf5224c86fadd98b85c42a75f68838af58.tar.gz
crypt -> srpcrypt
Diffstat (limited to 'src/README.srpcrypt')
-rw-r--r--src/README.srpcrypt30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/README.srpcrypt b/src/README.srpcrypt
new file mode 100644
index 0000000000..033fc6f0d1
--- /dev/null
+++ b/src/README.srpcrypt
@@ -0,0 +1,30 @@
+crypt 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 crypt:
+
+Run: crypt --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
+
+* 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: crypt --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.
+