-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
91 lines (87 loc) · 4.58 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
86
87
88
89
90
91
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>SecretMessage beta - safer the plain text</title>
<script>
window.TextEncoder = window.TextDecoder = null;
</script>
<script src="https://morphar.github.io/secretmessage/js/encoding.js"></script>
<script src="https://morphar.github.io/secretmessage/js/es6-promise.auto.min.js"></script>
<link rel="stylesheet" href="https://morphar.github.io/secretmessage/css/bootstrap.min.css">
<link rel="stylesheet" href="https://morphar.github.io/secretmessage/css/main.css">
</head>
<body>
<nav class="navbar sticky-top navbar-light bg-light justify-content-center">
<a class="navbar-brand" href="/">
<img src="https://morphar.github.io/secretmessage/img/logo_small.svg" height="30" class="d-inline-block align-top" alt="">
Secret Message <sup class="text-success">beta</sup>
</a>
</nav>
<main role="main" class="container">
<p class="text-center">
<h2 class="tagline text-center">Secret Message is a safer way to share passwords and secrets with trusted receivers over insecure channels.</h2>
<h2 class="tagline text-center">It is NOT a replacement for good security practices or password managers.</h2>
</p>
<p class="text-center">
<br>
Write your secret and choose a pass phrase or password that is easy to communicate.
</p>
<form id="encryptform">
<div class="row justify-content-center">
<div class="col-lg-8">
<textarea style="width:100%;" class="form-control" rows="4" autocomplete="off" name="message" id="message" placeholder="Write your secret here"></textarea>
</div>
</div>
<p style="padding-top:10px;" class="text-center">
Be sure to communicate the pass phrase safely - preferably face to face.
<br><strong>WARNING:</strong> Having the link and the pass phrase will forever enable decryption of the secret.
</p>
<div class="row justify-content-center">
<div class="col-lg-8">
<div class="input-group">
<div class="input-group-prepend">
<span class="input-group-text">Pass phrase</span>
</div>
<input autocomplete="off" size="50" type="text" name="encryptpass" id="encryptpass" class="form-control">
</div>
</div>
</div>
<div class="row justify-content-center" style="text-align: center;">
<div class="col-auto"> </div>
</div>
<div class="row justify-content-center" style="text-align: center;">
<div class="col-lg-2">
<button type="submit" id="generatebtn" class="btn btn-success" disabled>Generate link</button>
</div>
</div>
<p style="padding-top:10px;" class="text-center">
Copy / paste the generated link or create a new e-mail with the link, using your default e-mail app.
</p>
<div class="row justify-content-center">
<div class="col-lg-8">
<div class="input-group">
<div class="input-group-prepend">
<button class="btn btn-secondary" type="button" id="copybtn" disabled>Copy</button>
<button class="btn btn-secondary" type="button" id="mailbtn" disabled>E-mail</button>
</div>
<input type="text" class="form-control" id="secretlink" autocomplete="off" name="secretlink" placeholder="Secret link" readonly>
</div>
</div>
</div>
</form>
</main>
<footer class="footer fixed-bottom bg-light">
<div class="container justify-content-center">
<ul class="text-muted">
<li><a href="https://github.com/morphar/secretmessage">GitHub</a></li>
<li><a href="https://morphar.github.io/secretmessage/faq">FAQ</a></li>
<li><a href="https://morphar.github.io/secretmessage/about">About</a></li>
</ul>
</div>
</footer>
<script type="text/javascript" src="https://morphar.github.io/secretmessage/js/security.js"></script>
<script type="text/javascript" src="https://morphar.github.io/secretmessage/js/main.js"></script>
</body>
</html>