BenWestgate / Bails

Bails is a Bitcoin solution protecting against surveillance, censorship, and confiscation. It installs Bitcoin Core to Tails encrypted Persistent Storage, creates and recovers Bitcoin Core wallets from Codex32 (BIP93) seed backups, and creates backup Bails USB sticks and shareable blank Bails USB sticks. Learn more in README.md.
MIT License
46 stars 9 forks source link

Remove all sensitive info from debug.log so we can Persist it #178

Open BenWestgate opened 5 months ago

BenWestgate commented 5 months ago

Describe the bug Even though it's in tmpfs, it still stores data about which wallets have been loaded potentially breaking #81.

This will make #58 easier to and clean up wrapped.

We need to remove all wallet logging, and all hardware logging. And if possible the cache used as it reveals the memory of the last system run on.

BenWestgate commented 5 months ago

@epiccurious: Do you know which debug info needs to be suppressed?

github-actions[bot] commented 3 months ago

Stale issue message

github-actions[bot] commented 1 month ago

Stale issue message

BenWestgate commented 1 month ago

We still have no idea what flags to disable from debug to make it private enough to persist which will offer some performance and UX improvements.

I'm also curious if it's possible to obfuscate the last time the Persistent Storage was unlocked. This could be helpful for deniability. The tip of the block chain doesn't necessarily give it away as you don't need to sync the node to 100% except to confirm you've received funds and send new utxos, or have accurate fee estimates. This may require a MR to Tails if the ext4 file system timestamps the last time it was mounted.