From bd88f52b03c2b8061aa753b7d925dd9bc4057e6e Mon Sep 17 00:00:00 2001 From: Azul Date: Tue, 26 Jun 2012 23:02:51 +0200 Subject: first steps towards adding a server side srp flow to the example --- lib/srp/client.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib') diff --git a/lib/srp/client.rb b/lib/srp/client.rb index f4662e6..7aa147c 100644 --- a/lib/srp/client.rb +++ b/lib/srp/client.rb @@ -21,6 +21,9 @@ module SRP aa = modpow(GENERATOR, a, PRIME_N) # A = g^a (mod N) bb, u = server.initialize_auth(aa) client_s = calculate_client_s(x, a, bb, u) + puts "bb: " + bb.to_s + puts "aa: " + aa.to_s + puts "client_s: " + client_s.to_s server.authenticate(aa, client_s) end -- cgit v1.2.3