security: encrypt NaCl keypair at rest with AES-GCM and harden PoW captcha signature with HMAC-SHA256

This commit is contained in:
2026-02-08 14:15:23 +01:00
parent ce2b8657bb
commit 2f02df4910
6 changed files with 151 additions and 45 deletions

View File

@@ -635,11 +635,7 @@ class PageListing extends HTMLElement {
formatDescription(text) {
if (!text) return ''
return text
.replace(/&/g, '&')
.replace(/</g, '&lt;')
.replace(/>/g, '&gt;')
.replace(/\n/g, '<br>')
return escapeHTML(text).replace(/\n/g, '<br>')
}
}