fix(cli): session config.json written 0600, not 0644 (1.35.1)
Some checks failed
CI / Lint (push) Has been cancelled
CI / Typecheck (push) Has been cancelled
CI / Broker tests (Postgres) (push) Has been cancelled
CI / Docker build (linux/amd64) (push) Has been cancelled

The per-session config written to the launch tmpdir embeds the mesh
keypair (secret key) but was created without a mode → 0644
(world/group-readable), which `claudemesh status` flags as
"perms 0644 — expected 0600". The enclosing mkdtemp dir is 0700, but
lock the file down too so the secret is never world-readable. File is
freshly created in a new tmpdir, so the mode applies on create.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Alejandro Gutiérrez
2026-06-02 18:30:47 +01:00
parent 2b88784005
commit 71401b1d50
2 changed files with 8 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "claudemesh-cli",
"version": "1.35.0",
"version": "1.35.1",
"description": "Peer mesh for Claude Code sessions — CLI + MCP server.",
"keywords": [
"claude-code",