Skip to main content

max / goingson

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: 07905b6739e071c712e08c1eccf649efff61ff9a
Parent: 1c1ae98
1 file changed, +13 insertions, -0 deletions
M .gitignore +13
@@ -52,3 +52,16 @@
52 52
53 53 # Generated by src-tauri/build.rs from the column descriptions
54 54 /src-tauri/frontend/tables.columns.json
55 +
56 + # Secrets and credentials. The baseline every repo under ~/Code carries, kept
57 + # identical so no repo is the one that forgot. Suffix-matched rather than
58 + # `*.env`, which would also catch committed environment files that hold no
59 + # secrets (sweep systemd/sweep.env). `.env.example` is a tracked template and
60 + # is negated back in.
61 + !.env.example
62 + *.pem
63 + *.key
64 + *.p8
65 + *.p12
66 + *.pfx
67 + credentials.json