fix(chatgpt): use private JSON credential storage without Keychain

This commit is contained in:
amosblomqvist
2026-10-24 18:41:03 +03:00
parent 50a2db775d
commit 24d1dda07d
7 changed files with 215 additions and 64 deletions
+1 -1
View File
@@ -166,7 +166,7 @@ test("case-insensitive Authorization overrides including null are refused before
assert.equal(requests.length, before);
});
test("full secure-storage invalidation aborts foreground and background controllers and clears capabilities", () => {
test("full credential-storage invalidation aborts foreground and background controllers and clears capabilities", () => {
const foreground = chatGPTAbortController(false), background = chatGPTAbortController(true);
ipc({ channel: "lh:chatgpt", kind: "state", stamp: { epoch: 2, authorityRevision: 2, revision: 3 }, status: { ...status, available: false }, invalidate: "all" });
assert(foreground.controller.signal.aborted); assert(background.controller.signal.aborted); assert.equal(chatGPTModels().length, 0);