diff --git a/skills/project-ops/SKILL.md b/skills/project-ops/SKILL.md index fef84e3..447fef1 100644 --- a/skills/project-ops/SKILL.md +++ b/skills/project-ops/SKILL.md @@ -18,8 +18,8 @@ Keys are stored in the machine's secrets file. Read them at runtime, never print - **Outline** key: `OL_API_KEY` in `~/.config/environment.d/10-secrets.conf` ```bash -VIKUNJA_TOKEN=$(grep -oE 'VIKUNJA_TOKEN=[A-Za-z0-9]+' ~/.config/environment.d/10-secrets.conf | cut -d= -f2) -OL_API_KEY=$(grep -oE 'OL_API_KEY=[A-Za-z0-9]+' ~/.config/environment.d/10-secrets.conf | cut -d= -f2) +VIKUNJA_TOKEN=$(grep "^VIKUNJA_TOKEN=" ~/.config/environment.d/10-secrets.conf | head -1 | cut -d= -f2- | tr -d '"' | tr -d ' ') +OL_API_KEY=$(grep "^OL_API_KEY=" ~/.config/environment.d/10-secrets.conf | head -1 | cut -d= -f2- | tr -d '"' | tr -d ' ') ``` If token 401s: re-source or confirm the machine's secrets were pulled (`git -C ~/.agents pull`).