From e55ff681bcc5a6c479530d1411a3da75912d78e5 Mon Sep 17 00:00:00 2001 From: Azul Date: Thu, 28 Jun 2012 16:13:13 +0200 Subject: 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. --- lib/srp/server.rb | 6 ------ 1 file changed, 6 deletions(-) (limited to 'lib/srp/server.rb') 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 -- cgit v1.2.3