88e7f8ec2e
-- * src/Signature: typo * src/gpgmejs.js: fixed wrong scope in verification * right now verify does not succeed in the DemoExtension. This is probably a problem in conversion or line ending.
44 lines
1.4 KiB
HTML
44 lines
1.4 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<link rel="stylesheet" href="ui.css"/>
|
|
<script src="libs/gpgmejs.bundle.js"></script>
|
|
<script src="maindemo.js"></script>
|
|
</head>
|
|
<body>
|
|
<div>
|
|
|
|
<div class="left">
|
|
<ul>
|
|
<li>
|
|
<span class="label">Input</span>
|
|
<textarea rows="5" cols="65" id="inputtext" wrap="hard"></textarea>
|
|
</li>
|
|
<li>
|
|
<span class="label">Fingerprint of Key to use: </span>
|
|
</li>
|
|
<input type="text" id="pubkey" value="" /> <br>
|
|
<button id="getdefaultkey">Set to default signing key</button>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="right">
|
|
<ul>
|
|
<li>
|
|
<span class="label">Result</span>
|
|
<textarea id="answer" rows="5" cols="65" wrap="hard"></textarea>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="center">
|
|
<button id="buttonencrypt">Encrypt input text</button><br>
|
|
<button id="buttondecrypt">Decrypt input text</button><br>
|
|
<button id="signtext">Sign input text</button> <br>
|
|
<button id="verifytext">Verify input text</button><br>
|
|
|
|
</div>
|
|
</body>
|
|
</html>
|