aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/tp.rs
Commit message (Collapse)AuthorAgeFilesLines
* Limit stdin read in tp, bound protocol drain, document Arc leakmurilo ijanc2026-03-251-7/+20
| | | | | | | | - tp: limit stdin to 64 KiB + 1 byte to reject oversized pastes early without unbounded memory allocation - daemon: bound the oversized-line drain to MAX_LINE_SIZE so a client without newlines cannot block beyond the read timeout - tpd: document intentional Arc::into_raw leak in signal handler
* Add pledge(2) and unveil(2) sandboxing for tp and tpdmurilo ijanc2026-03-251-0/+7
| | | | | | | tpd: unveil data dir (rwc), resolv.conf (r) when DNS needed, then pledge stdio rpath wpath cpath fattr inet unix dns. tp: unveil socket path (rw), then pledge stdio unix rpath.
* Initial commit: tesseras-paste decentralized pastebinmurilo ijanc2026-03-251-0/+206
DHT-backed encrypted pastebin with two binaries (tp/tpd), XChaCha20-Poly1305 encryption, content-addressed storage, and Unix socket + HTTP interfaces.