diff options
author | Azul <azul@leap.se> | 2012-06-28 16:13:13 +0200 |
---|---|---|
committer | Azul <azul@leap.se> | 2012-06-28 16:13:13 +0200 |
commit | e55ff681bcc5a6c479530d1411a3da75912d78e5 (patch) | |
tree | aca518663d05f3093520fd3b5d0449efe0b7eb84 /lib/srp/server.rb | |
parent | 424c80fde151d4507cd34aaf8f116016df405c8a (diff) |
complete ajax flow is working - just auth fails
Also we currently generate the salt on the server - this should happen on the client but for now i stick to the srp-js workflow.
Diffstat (limited to 'lib/srp/server.rb')
-rw-r--r-- | lib/srp/server.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/srp/server.rb b/lib/srp/server.rb index 79d1b75..02d5d8b 100644 --- a/lib/srp/server.rb +++ b/lib/srp/server.rb @@ -39,12 +39,6 @@ module SRP sha256_hex(hashin).hex end - def calculate_m(aa, bb, s) - # todo: we might want to 0fill this like for u - hashin = '%x%x%x' % [aa, bb, s] - sha256_hex(hashin).hex - end - end end |