Initial commit

This commit is contained in:
2019-10-04 05:52:54 +02:00
commit 9a70f88a3e
4 changed files with 285 additions and 0 deletions

72
index.html Normal file
View File

@@ -0,0 +1,72 @@
<html>
<head>
<script language="javascript" src="./jquery-3.4.1.min.js"></script>
<script language="javascript" src="./sha256.js"></script>
<script language="javascript" src="./ewpass.js"></script>
</head>
<body onload="ewpass.setup();">
<center>
<table border="0" cellspacing="10">
<tr>
<th>Master password: </th>
<td>
<table border="0" cellspacing="5">
<tr>
<td colspan="3">
<input type="password" id="seed" size="46" autocomplete="off" /> <input type="button" id="clearseed" value="Clear" onclick="ewpass.resetSeed();" />
</td>
</tr>
<tr>
<td>Checksum: </td>
<td><span id="chkok"></span> <span id="checksum"></span></td>
<td><input type="button" id="chkset" value="Set" onclick="ewpass.storeSeedChecksum();" /></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<th>Domain: </th>
<td><input id="domain" list="domainlist" autocomplete="off" onchange="ewpass.checkDomainInputMatchesToOption();" /><datalist id="domainlist"></datalist></td>
</tr>
<tr>
<th>Options: </th>
<td>
<table border="0" cellspacing="2">
<tr>
<td>Length: </td>
<td><input id="length" value="12" size="2" autocomplete="off" /></td>
</tr>
<tr>
<td>Iteration: </td>
<td><input id="iteration" value="1" size="2" autocomplete="off" /> <input type="button" id="nextiter" value="Next" onclick="ewpass.nextIteration();" /></td>
</tr>
<tr>
<td colspan="2">
<label><input type="checkbox" id="extended" checked="checked" /> Use special characters</label>
</td>
</tr>
<tr>
<td colspan="2">
<input type="button" id="storedomain" value="Store" onclick="ewpass.storeSettingsForDomain();" />
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td colspan="2">
<center>
<input type="button" id="docopy" value="Copy password" onclick="ewpass.deriveAndCopyToClipboard();" />
</center>
</td>
</tr>
</table>
</center>
</body>
</html>