diff options
| author | Eric <tilcboy44@gmail.com> | 2026-07-30 07:34:47 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-07-30 10:34:47 -0300 |
| commit | 68b11f46fc4d3035292b41ef1dee9ae957e0a0ef (patch) | |
| tree | 6b024d24a362d28081cd01be92811d4f91d4bc1f /src/net.cpp | |
| parent | a3f9d87ef3c610f4158b64e44ac6b074d386b06a (diff) | |
gitignore: cover the key files the node actually writes (#43)
.gitignore ignores *.dat and wallet.dat, but the node also writes three files
in its data directory that are not .dat and are just as sensitive:
btf_enc.key this node's .btf service key -- its network identity
nostr.key the Nostr key its descriptors are signed with
walletrpc.token bearer token authorising spends over the wallet API
A node run with its data directory inside a working tree -- which is the
obvious thing to do while developing -- leaves all three untracked but
committable, and `git add -A` takes them. Losing btf_enc.key means losing your
address; publishing walletrpc.token hands over the wallet to anyone who can
reach the port.
Also ignore key backup archives and stray .patch/.rej/.orig files.
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Diffstat (limited to 'src/net.cpp')
0 files changed, 0 insertions, 0 deletions