summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2012-06-26 23:02:51 +0200
committerAzul <azul@leap.se>2012-06-26 23:02:51 +0200
commitbd88f52b03c2b8061aa753b7d925dd9bc4057e6e (patch)
tree44fc927200d8a9423e0653a1a6c648da61f7d9f4 /lib
parent12b30b7e861c510593c6a8bd4bae68c2126106db (diff)
first steps towards adding a server side srp flow to the example
Diffstat (limited to 'lib')
-rw-r--r--lib/srp/client.rb3
1 files changed, 3 insertions, 0 deletions
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