From b1d40a1107e680d4c4366a3388d90462328f45c8 Mon Sep 17 00:00:00 2001 From: bluebluesoda <300733005+bluebluesoda@users.noreply.github.com> Date: Sat, 5 Sep 2026 08:27:23 +0000 Subject: [PATCH] chore(notes): halve sticky-notes plaintext cap to 256 KiB Co-authored-by: CommandCodeBot --- src/internal/cfg/cfg.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/internal/cfg/cfg.go b/src/internal/cfg/cfg.go index 2978c7b..ea16371 100644 --- a/src/internal/cfg/cfg.go +++ b/src/internal/cfg/cfg.go @@ -86,7 +86,7 @@ const ( // the client before encryption. MaxNotesBlobBytes caps the stored // (base64) encrypted envelope on the server, leaving room for the GCM tag, // salt and IV plus base64 expansion. - MaxNotesPlaintextBytes = 512 * 1024 + MaxNotesPlaintextBytes = 256 * 1024 MaxNotesBlobBytes = 700 * 1024 // Bandwidth throttle: when a user exceeds their monthly quota, both