chore: ignore the lnbits runtime data folder
Running the test suite imports lnbits, which creates ./data/ next to the CWD and drops a real 32-byte .lnbits_auth_key into it. That is precisely the file class behind the 2026-05-14 leak, and it appears without anyone asking for it — so it gets ignored before any feature commit can sweep it up. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018jy52j9GRZ6XKa1Zt21LLj
This commit is contained in:
parent
dc29173ada
commit
889751a41f
1 changed files with 6 additions and 0 deletions
6
.gitignore
vendored
6
.gitignore
vendored
|
|
@ -8,3 +8,9 @@ node_modules/
|
||||||
.pytest_cache/
|
.pytest_cache/
|
||||||
.ruff_cache/
|
.ruff_cache/
|
||||||
.mypy_cache/
|
.mypy_cache/
|
||||||
|
|
||||||
|
# LNbits writes its runtime data folder next to the CWD on import, including
|
||||||
|
# .lnbits_auth_key — a real instance secret. Importing this package (a test
|
||||||
|
# run, a REPL) is enough to create it. Never track it.
|
||||||
|
data/
|
||||||
|
.lnbits_auth_key
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue