Skip to main content

max / alloy

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: 65e133718ac5b57f62d9329e5277eb6c79a0e0e9
Parent: d3e57e4
1 file changed, +13 insertions, -0 deletions
M .gitignore +13
@@ -38,3 +38,16 @@
38 38
39 39 # Inspiration scrape — third-party images, not ours to redistribute
40 40 docs/inspo/
41 +
42 + # Secrets and credentials. The baseline every repo under ~/Code carries, kept
43 + # identical so no repo is the one that forgot. Suffix-matched rather than
44 + # `*.env`, which would also catch committed environment files that hold no
45 + # secrets (sweep systemd/sweep.env). `.env.example` is a tracked template and
46 + # is negated back in.
47 + !.env.example
48 + *.pem
49 + *.key
50 + *.p8
51 + *.p12
52 + *.pfx
53 + credentials.json