From 6d22814e5f135d897cb188ce4f29ce44a4890e91 Mon Sep 17 00:00:00 2001 From: Linus Rath <139418639+rathlinus@users.noreply.github.com> Date: Sat, 31 Oct 2026 23:57:08 +0100 Subject: [PATCH] fix: move settings and plugin credentials that no longer decrypt aside instead of refusing every save #1066 The earlier fix answered 503 to every read and write of a settings file or plugin vault that doesn't decrypt, so a rotated SESSION_SECRET left the user with no way out: even disconnecting a plugin failed. Now such a document reads as nothing stored, and the next write first moves it aside, then saves as usual. The bytes are kept unchanged, so the data can be restored with the old secret: - local mode renames the file to `.unreadable-