Browser-based graphical shell and control plane for a Linux server you own — real terminal, file manager, live metrics and BYOK AI in one mobile-first workspace. Next.js 16 · React 19 · node-pty · Tailwind v4 · shadcn/ui. Public alpha, self-hosted.
TypeScript browser-shellcontrol-planefile-managerhomelabmobile-firstnextjsptyreactself-hostedserver-managementshadcn-uisysadmintailwindcssterminaltypescriptvpsweb-desktopweb-terminal
test: validate the bundle fixture before checking tag rejection
Rahman69d388c5a1bc
diff --git a/lib/infra/portable/data.test.ts b/lib/infra/portable/data.test.tsindex 4f00e475..cf62cb61 100644--- a/lib/infra/portable/data.test.ts+++ b/lib/infra/portable/data.test.ts@@ -47,9 +47,10 @@ it('resets external authorization instead of copying session identifiers',async(});it('rejects truncated GCM authentication tags before importing any credentials',async()=>{const codec=await import('./codec.js');- const envelope=await codec.seal(structuredClone(sample),PASS);- expect(Buffer.from(envelope.cipher.tag,'base64')).toHaveLength(16);- envelope.cipher.tag=Buffer.from(envelope.cipher.tag,'base64').subarray(0,12).toString('base64');+ const envelope=await codec.seal(codec.validate(structuredClone(sample)),PASS);+ const cipher=envelope.cipher as {tag:string};+ expect(Buffer.from(cipher.tag,'base64')).toHaveLength(16);+ cipher.tag=Buffer.from(cipher.tag,'base64').subarray(0,12).toString('base64');await expect(codec.open(envelope,PASS)).rejects.toThrow('invalid_envelope');await expect(fs.stat(process.env.OS_INFRA_STORE!)).rejects.toMatchObject({code:'ENOENT'});});