summaryrefslogtreecommitdiff
path: root/example/views/layout.erb
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2012-06-28 19:43:40 +0200
committerAzul <azul@leap.se>2012-06-29 14:55:10 +0200
commit20bf14939fbd75e3ee0206c2bf14737e2c7ac2c2 (patch)
treee035c91c65e8e48d6a6af317e900a8fb9897a739 /example/views/layout.erb
parente55ff681bcc5a6c479530d1411a3da75912d78e5 (diff)
adopted srp algo to srp-js way of doing things.
all large integers are now send as hex strings. Using sha256_str all over the place. This finally gives me successful logins. Needs a log of cleanup never the less.
Diffstat (limited to 'example/views/layout.erb')
-rw-r--r--example/views/layout.erb12
1 files changed, 10 insertions, 2 deletions
diff --git a/example/views/layout.erb b/example/views/layout.erb
index f4eae0a..fc0eaf1 100644
--- a/example/views/layout.erb
+++ b/example/views/layout.erb
@@ -22,8 +22,16 @@
<%= yield %>
<script type="text/javascript" src="jquery.min.js"> </script>
- <script type="text/javascript" src="srp.min.js"> </script>
- <script type="text/javascript" src="srp_register.min.js"> </script>
+<!-- <script type="text/javascript" src="srp.min.js"> </script>
+<script type="text/javascript" src="srp_register.min.js"> </script> -->
+
+ <script type="text/javascript" src="srp-source/SHA256.js"> </script>
+ <script type="text/javascript" src="srp-source/prng4.js"> </script>
+ <script type="text/javascript" src="srp-source/rng.js"> </script>
+ <script type="text/javascript" src="srp-source/jsbn.js"> </script>
+ <script type="text/javascript" src="srp-source/jsbn2.js"> </script>
+ <script type="text/javascript" src="srp-source/srp.js"> </script>
+ <script type="text/javascript" src="srp-source/srp_register.js"> </script>
<script type="text/javascript" src="srp.js"> </script>
</body>