summaryrefslogtreecommitdiffstats
path: root/cmd/nymdrop-reader/memguard_verify_test.go
Commit message (Collapse)AuthorAgeFilesLines
* Guard key material in RAM with memguard, add Markdown preview for message fieldGab Virebent7 days1-0/+65
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.