summaryrefslogtreecommitdiffstats
path: root/static/markdown.js
Commit message (Collapse)AuthorAgeFilesLines
* Guard key material in RAM with memguard, add Markdown preview for message fieldGab Virebent6 days1-0/+149
Reader now keeps the private key bytes and the per-submission ECDH/HKDF secrets in memguard.LockedBuffer (mlock + guaranteed wipe) instead of a manual zero loop. Added a regression test for the decrypt path. Message field gets a self-hosted Markdown toggle preview (no external library): headers, bold/italic, inline code, code blocks, blockquotes, lists, links. Output is HTML-escaped and link schemes are whitelisted before rendering. Submitted content is still the raw Markdown source, unchanged on the wire.