add key pairs for encryption, as well as better styling for posts page
This commit is contained in:
+2
-1
@@ -4,8 +4,9 @@
|
||||
<link rel="stylesheet" href="/css/logon.css">
|
||||
<script type="text/javascript">
|
||||
function register() {
|
||||
const user = document.getElementById("user").value
|
||||
const pw = document.getElementById("pass").value
|
||||
localStorage.setItem("decryption_key",pw)
|
||||
//yes I know this is not secure, but at this point I think it'd be better to trust the client for end-to-end encryption
|
||||
}
|
||||
</script>
|
||||
<script src="/js/addnavbar.js" charset="utf-8"></script>
|
||||
|
||||
Reference in New Issue
Block a user