diff options
author | Azul <azul@leap.se> | 2012-06-18 12:34:11 +0200 |
---|---|---|
committer | Azul <azul@leap.se> | 2012-06-18 12:34:11 +0200 |
commit | 09a7a8c0fb28ff49fac64f282aa136f8a2c20dfe (patch) | |
tree | 09e0101fb5d02cf0db3648eae562a981aa422b17 /lib/srp.rb |
initial commit - testing srp auth
* This is lacking a few steps. We confirm the secret is the same but no key is generated from it and it is transfered over the wire in clear.
* this was inspired by https://gist.github.com/790048
* seperated util, client, server and test code
Diffstat (limited to 'lib/srp.rb')
-rw-r--r-- | lib/srp.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/srp.rb b/lib/srp.rb new file mode 100644 index 0000000..999f9b6 --- /dev/null +++ b/lib/srp.rb @@ -0,0 +1,13 @@ +# Ruby library for the server side of the Secure Remote Password protocol + +# References +# `The Stanford SRP Homepage', +# http://srp.stanford.edu/ +# `SRP JavaScript Demo', +# http://srp.stanford.edu/demo/demo.html + +$:.unshift File.dirname(__FILE__) +module SRP + autoload :Client, 'srp/client' + autoload :Server, 'srp/server' +end |