-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
67 lines (63 loc) · 2.1 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="index.js"></script>
<script src="crypto.js"></script>
<title>e2ee.hu</title>
</head>
<body>
<table border="1">
<hr />
<input type="button" value="Create invite" id="createInvite" onclick="createInvite()" />
<input id="createInviteText" type="text" hidden />
<hr />
<input id="remoteInvite" type="text" placeholder="Invite acception code" />
<input type="button" value="Accept invite" id="acceptOffer" onclick="acceptInvite()" />
<input id="createdAnswerInvite" type="text" hidden />
<hr />
<input id="remoteAnswerInvite" type="text" placeholder="Accept answer" disabled />
<input id="acceptAnswerInvite" type="button" value="Accept answer" onclick="acceptAnswer()" />
<hr />
<textarea id="chatBox" rows="20" cols="80" readonly></textarea>
<br>
<input id="sendMessage" type="button" value="Send" onclick="send()" disabled />
<input id="message" type="text" placeholder="Message" disabled />
</table>
<hr />
<table border="1">
<tr>
<th colspan="2">connection</th>
</tr>
<tr>
<th>connectionState</th>
<td id="connectionState">unknown</td>
</tr>
<tr>
<th>iceConnectionState</th>
<td id="iceConnectionState">unknown</td>
</tr>
<tr>
<th>E2EE</th>
<td id="iceConnectionState">unknown</td>
</tr>
</table>
<table border="1">
<tr>
<th colspan="2">Shared Fingerprint</th>
</tr>
<tr>
<th>Fingerprint</th>
<td id="fingerprint">unknown</td>
</tr>
<tr>
<th>PGP Words</th>
<td id="pgpWords">unknown</td>
</tr>
</table>
<hr />
<a href="https://github.com/D3vl0per/e2ee.hu">https://github.com/D3vl0per/e2ee.hu</a>
</body>
</html>