Skip to main content

max / audiofiles

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: 6bda3218ab76fca09529eba1d9b48233682affaa
Parent: 29a5078
1 file changed, +13 insertions, -0 deletions
M .gitignore +13
@@ -46,3 +46,16 @@
46 46
47 47 # Python bytecode from scripts/
48 48 __pycache__/
49 +
50 + # Secrets and credentials. The baseline every repo under ~/Code carries, kept
51 + # identical so no repo is the one that forgot. Suffix-matched rather than
52 + # `*.env`, which would also catch committed environment files that hold no
53 + # secrets (sweep systemd/sweep.env). `.env.example` is a tracked template and
54 + # is negated back in.
55 + !.env.example
56 + *.pem
57 + *.key
58 + *.p8
59 + *.p12
60 + *.pfx
61 + credentials.json