From d0f10aab67ab679b17bfad76b242ecf7fc7177f6 Mon Sep 17 00:00:00 2001 From: Azul Date: Tue, 26 Jun 2012 17:33:57 +0200 Subject: added simple sinatra app for demoing / testing --- views/index.erb | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 views/index.erb (limited to 'views') diff --git a/views/index.erb b/views/index.erb new file mode 100644 index 0000000..e4995a5 --- /dev/null +++ b/views/index.erb @@ -0,0 +1,63 @@ + + + + + Secure remote password + + + + + +
+ +
+
+

Secure Remote Passwords

+

+ Secure remote passwords allow you to login with a password that will be unkown to the server and anyone eavesdropping +

+
+
+ + +
+
+

1. Signup

+

+ First you signup just like normal. Your browser runs a bit of javascript and does not transfer your password but some validator based on it. +

+ <% if @user.login %> +

You are signed up as <%= @user.login %> + <% if @user.active %> +

You are logged in. + <% end %> + <% end %> + + Signup now... + +

+
+

2. Login

+

+ Login using the same credentials. Again javascript is used to calculate a random number and a key based on it that the server then uses to validate your password. +

+ + Login + +
+
+

3. Verify

+

+ The server logs will tell you your password was not transmitted in clear. Never the less the server can determine wether you were authorized. +

+
+ + + +
+ + + + + + -- cgit v1.2.3