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">
|
2020-06-28 16:15:58 -06:00
|
|
|
<link rel="shortcut icon" href="/favicon.png">
|
2020-06-25 10:01:06 -06:00
|
|
|
<title>Encrypt - Keyoxide</title>
|
2020-06-26 08:59:13 -06:00
|
|
|
<link rel="stylesheet" href="/assets/styles.css">
|
2020-06-25 10:01:06 -06:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<header>
|
|
|
|
<div class="container">
|
|
|
|
<a href="/">Keyoxide</a>
|
2020-06-25 12:32:53 -06:00
|
|
|
<div class="spacer"></div>
|
2020-06-26 02:51:01 -06:00
|
|
|
<nav>
|
|
|
|
<a href="/verify">verify</a>
|
|
|
|
<a href="/encrypt">encrypt</a>
|
2020-06-26 07:08:22 -06:00
|
|
|
<a href="/proofs">proofs</a>
|
2020-06-26 02:51:01 -06:00
|
|
|
</nav>
|
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">
|
2020-07-01 16:54:40 -06:00
|
|
|
<h3>Recipient</h3>
|
|
|
|
<label for="mode">Mode: </label>
|
|
|
|
<select class="mode" name="mode" id="mode">
|
|
|
|
<option value="auto" %MODE_AUTO%>Autodetect</option>
|
|
|
|
<option value="wkd" %MODE_WKD%>Web Key Directory</option>
|
|
|
|
<option value="hkp" %MODE_HKP%>Keyservers</option>
|
|
|
|
<option value="plaintext" %MODE_PT%>Plaintext</option>
|
|
|
|
</select>
|
|
|
|
<div class="modes modes--auto modes--hkp" style="display: none">
|
|
|
|
<input type="text" name="wkd" id="wkd" placeholder="Email / key id / fingerprint" value="%WKDUID%">
|
|
|
|
</div>
|
|
|
|
<div class="modes modes--auto modes--hkp" style="display: none">
|
|
|
|
<input type="text" name="wkd" id="wkd" placeholder="Email / key id / fingerprint" value="%WKDUID%">
|
|
|
|
</div>
|
2020-06-25 10:01:06 -06:00
|
|
|
<h3>Message</h3>
|
|
|
|
<textarea name="message" id="message"></textarea>
|
2020-07-01 16:54:40 -06:00
|
|
|
<!-- <h3>Public Key (1: plaintext)</h3>
|
2020-06-25 10:01:06 -06:00
|
|
|
<textarea name="publicKey" id="publicKey"></textarea>
|
|
|
|
<h3>Public Key (2: web key directory)</h3>
|
2020-06-28 15:27:37 -06:00
|
|
|
<input type="text" name="wkd" id="wkd" placeholder="name@domain.com" value="%WKD_UID%">
|
2020-06-25 10:01:06 -06:00
|
|
|
<h3>Public Key (3: HKP server)</h3>
|
|
|
|
<input type="text" name="hkp_server" id="hkp_server" placeholder="https://keys.openpgp.org/">
|
2020-07-01 16:54:40 -06:00
|
|
|
<input type="text" name="hkp_input" id="hkp_input" placeholder="Email / key id / fingerprint" value="%HKP_UID%"> -->
|
|
|
|
<!-- <h3>Result</h3>
|
|
|
|
<textarea name="messageEncrypted" id="messageEncrypted" readonly></textarea> -->
|
2020-06-25 10:01:06 -06:00
|
|
|
<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>
|
2020-06-28 03:04:52 -06:00
|
|
|
Sitemap:
|
|
|
|
<a href="/">index</a> -
|
|
|
|
<a href="/encrypt">encrypt</a> -
|
|
|
|
<a href="/verify">verify</a> -
|
|
|
|
<a href="/proofs">proofs</a> -
|
2020-06-29 00:59:37 -06:00
|
|
|
<a href="/guides">guides</a> -
|
2020-06-28 03:04:52 -06:00
|
|
|
<a href="/faq">faq</a>
|
2020-06-25 10:01:06 -06:00
|
|
|
</p>
|
|
|
|
</footer>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</body>
|
2020-06-26 08:59:13 -06:00
|
|
|
<script src="/assets/openpgp.min.js"></script>
|
|
|
|
<script type="text/javascript" src="/assets/scripts.js" charset="utf-8"></script>
|
2020-06-25 10:01:06 -06:00
|
|
|
</html>
|