keyoxide-web/encrypt.html

61 lines
2.8 KiB
HTML
Raw Normal View History

2020-06-25 10:01:06 -06:00
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Encrypt - Keyoxide</title>
<script async defer data-domain="keyoxide.org" src="https://plausible.io/js/plausible.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/normalize.css@8.0.1/normalize.css">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<header>
<div class="container">
<a href="/">Keyoxide</a>
2020-06-25 12:32:53 -06:00
<div class="spacer"></div>
<a href="/verify">verify</a>
<a href="/encrypt">encrypt</a>
2020-06-25 10:01:06 -06:00
</div>
</header>
<div class="container">
<h1>Encrypt</h1>
<div class="content">
<form id="form-encrypt" method="post">
<h3>Message</h3>
<textarea name="message" id="message"></textarea>
<h3>Public Key (1: plaintext)</h3>
<textarea name="publicKey" id="publicKey"></textarea>
<h3>Public Key (2: web key directory)</h3>
<input type="text" name="wkd" id="wkd" placeholder="name@domain.com">
<h3>Public Key (3: HKP server)</h3>
<input type="text" name="hkp_server" id="hkp_server" placeholder="https://keys.openpgp.org/">
<input type="text" name="hkp_input" id="hkp_input" placeholder="Email address / key id / fingerprint">
<h3>Result</h3>
<textarea name="messageEncrypted" id="messageEncrypted" readonly></textarea>
<p id="result"></p>
2020-06-25 12:28:32 -06:00
<input type="submit" class="bigBtn" name="submit" value="ENCRYPT MESSAGE">
2020-06-25 10:01:06 -06:00
</form>
</div>
<footer>
<p>
<a href="/">Keyoxide</a> makes basic cryptography operations accessible to regular humans.
<br>
Made by <a href="https://yarmo.eu">Yarmo Mackenbach</a>.
<br>
Code hosted on <a href="https://codeberg.org/yarmo/keyoxide">Codeberg</a> (<a href="https://drone.private.foss.best/yarmo/keyoxide/">drone CI/CD</a>).
<br>
Uses <a href="https://github.com/openpgpjs/openpgpjs">openpgp.js</a> (version <a href="https://github.com/openpgpjs/openpgpjs/releases/tag/v4.10.4">4.10.4</a>).
<br>
Privacy-friendly public usage stats by <a href="https://plausible.io/keyoxide.org">Plausible.io</a>.
</p>
</footer>
</div>
</body>
<script src="openpgp.min.js"></script>
<script type="text/javascript" src="scripts.js" charset="utf-8"></script>
</html>