Add core.{html,js} to start generating secure keys
[skeletonkey.git] / core.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>Skeleton Key</title>
5 <script type="text/javascript" src="pbkdf2.js"></script>
6 <script type="text/javascript" src="core.js"></script>
7 <script type="text/javascript">
8 if (typeof chrome.extension !== 'undefined') {
9 // TODO: load the extension JS
10 } else {
11 // TODO: load the hosted JS
12 }
13 </script>
14 </head>
15 <body>
16 <form autocomplete="off">
17 <ol>
18 <li>
19 <label for="master">Master Password</label>
20 <input type="password" id="master" />
21 </li>
22
23 <li>
24 <label for="sitekey">Site Key</label>
25 <input type="text" id="sitekey" />
26 </li>
27
28 <li>
29 <label for="username">Username</label>
30 <input type="text" id="username" />
31 </li>
32
33 <li>
34 <label for="password">Computed Password</label>
35 <input type="text" id="password" />
36 </li>
37
38 <li>
39 <button type="button" id="generate">Hash</button>
40 </li>
41 </ol>
42 </form>
43
44 <script type="text/javascript">
45 var controller = new SkeletonKey(document);
46 </script>
47 </body>
48 </html>