sops-mesh
Installation
SKILL.md
sops-mesh
One CLI, scripts/sopsmesh.py, runs the same on macOS, Linux and Windows (Python 3.8+, standard library
only). Invoke it as python3 <skill>/scripts/sopsmesh.py <command> (Windows: py <skill>\scripts\sopsmesh.py).
Below, sopsmesh means that invocation.
The model (explain this to the user before setup)
- One private key per machine, never copied, never synced, never printed. It lives in the best store that machine has. Secrets are shared by encrypting them to every machine's PUBLIC key.
- Only public keys and encrypted files travel (Syncthing or git). If the user asks to sync private
keys, push back: that puts a copy on every disk, in Syncthing's
.stversionsand conflict files, and is impossible for Secure Enclave keys. - A machine gets access only after a human approves its key on the admin machine. Approvals live outside the shared folder, so a peer that can write to the folder can't grant itself access.
- Agents get secrets through
sopsmesh run -- <cmd>: values go into one child process's environment; the child never seesSOPS_AGE_*, the key file or the key command.