This repository has been archived by the owner on Mar 3, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
85 lines (78 loc) · 2.83 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Solo Genuine</title>
<link rel="stylesheet" href="css/styles.css">
<script defer src="https://use.fontawesome.com/releases/v5.3.1/js/all.js"></script>
</head>
<body onload="prepare_genuine(); prepare_flash();">
<section class="section">
<div class="container">
<p><a href="https://github.com/solokeys/solo-station"><img src="images/github.png" height=32 width=32>github.com/solokeys/solo-station</a></p>
<h1 class="title">
Solo Genuine
</h1>
<h3 id="useragent" style="color:gray;"></h3>
<h3 id="success" style="color:green;"></h3>
<h3 id="success-version" style="color:green;"></h3>
<h3 id="errors" style="color:red;"></h3>
<h3 id="fingerprint" style="color:gray;"></h3>
<h3 id="debug" style="color:purple;"></h3>
<p>
Press this button to check if your Solo is genuine.
</p>
<button onclick="check()" class="button is-primary">Check key</button>
</div>
</section>
<section class="section">
<div class="container">
<h1 class="title">
Flash Signed Hacker Firmware
</h1>
<h3 id="flashprogress" style="color:gray;"></h3>
<h3 id="flashsuccess" style="color:green;"></h3>
<h3 id="flasherror" style="color:red;"></h3>
<h2 class="subtitle">
THIS IS HIGHLY EXPERIMENTAL AND WORK IN PROGRESS!<br>
DO NOT USE FOR SOLO SECURE KEYS!<br>
</h2>
<p>
This update will only work for
<div class="content">
<ul>
<li> unlocked Solo Hacker keys, or </li>
<li> Solo Hacker keys checking for firmware signed with <a href="https://genuine.solokeys.com/hex/example-signing-key.pem">this (unofficial!) verifying key</a></li>
</ul>
</div>
</p>
<button onclick="flash_firmware('hex/solo-1.0.2-12-gc81bc9f.json')" class="button is-primary">Flash firmware</button>
</div>
</section>
<section class="section">
<div class="container">
<h1 class="title">
Random Data
</h1>
<h3 id="randomdata" style="color:gray;"></h3>
<p class="subtitle">
Demo of Solo random number generator
</p>
<button onclick="generate_random()" class="button is-primary">Generate</button>
</body>
<!-- external, permissive licenses -->
<script src="js/vendor/cbor.js"></script>
<script src="js/vendor/platform.js"></script>
<script src="js/vendor/sha256.js"></script>
<script src="js/vendor/intel-hex.js"></script>
<!-- U2F support for Chrome; for Firefox need the about:config dance -->
<!--<script src="js/vendor/u2f-api.js"></script>-->
<!-- our stuff -->
<script src="js/constants.js"></script>
<script src="js/helpers.js"></script>
<script src="js/ctap1.js"></script>
<script src="js/flash_ctap1.js"></script>
<script src="js/update.js"></script>
<script src="js/genuine.js"></script>
</html>