Skip to main content

max / synckit

Carry the shared secrets baseline in .gitignore Only MNW ignored *.pem/*.key/*.p8/*.p12/*.pfx, and spaghetti, buckets_of_money and most libraries had no .env rule at all, so the guardrail depended on which repo a secret happened to land in. Suffix matching rather than *.env keeps committed environment files that hold no secrets visible, and .env.example is negated back in.
Author: Max Johnson <me@maxj.phd> · 2026-08-08 23:47 UTC
Signed with PGP, not checked
Commit: 33815fedf7b6ea7beae560a95a5cfc63d114bc65
Parent: 3de2ab7
1 file changed, +15 insertions, -0 deletions
M .gitignore +15
@@ -5,3 +5,18 @@
5 5 # cargo-mutants run artifacts
6 6 mutants.out/
7 7 mutants.out.old/
8 +
9 + # Secrets and credentials. The baseline every repo under ~/Code carries, kept
10 + # identical so no repo is the one that forgot. Suffix-matched rather than
11 + # `*.env`, which would also catch committed environment files that hold no
12 + # secrets (sweep systemd/sweep.env). `.env.example` is a tracked template and
13 + # is negated back in.
14 + .env
15 + .env.*
16 + !.env.example
17 + *.pem
18 + *.key
19 + *.p8
20 + *.p12
21 + *.pfx
22 + credentials.json