Verified Commit cf1a8087 authored by Aral Balkan's avatar Aral Balkan
Browse files

Update view

parent d4aeeb6b
......@@ -34,7 +34,7 @@
<input type='text' id='publicEncryptionKey'>
<label for='privateEncryptionKey'>Private encryption key:</label>
<textarea id='privateEncryptionKey'></textarea>
<input type='text' id='privateEncryptionKey'>
</form>
<script>
......@@ -70,7 +70,7 @@
const publicSigningKeyTextField = document.getElementById('publicSigningKey')
const privateSigningKeyTextArea = document.getElementById('privateSigningKey')
const publicEncryptionKeyTextField = document.getElementById('publicEncryptionKey')
const privateEncryptionKeyTextArea = document.getElementById('privateEncryptionKey')
const privateEncryptionKeyTextField = document.getElementById('privateEncryptionKey')
session25519(domain, password, (error, keys) => {
if (error) { alert(error); return }
......@@ -78,7 +78,7 @@
publicSigningKeyTextField.value = to_hex(keys.publicSignKey)
privateSigningKeyTextArea.value = to_hex(keys.secretSignKey)
publicEncryptionKeyTextField.value = to_hex(keys.publicKey)
privateEncryptionKeyTextArea.value = to_hex(keys.secretKey)
privateEncryptionKeyTextField.value = to_hex(keys.secretKey)
})
event.preventDefault()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment