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

Overwrite encrypted loopback files with random data to prevent meta information leaks #195

Open BenWestgate opened 1 month ago

BenWestgate commented 1 month ago

Is your feature request related to a problem? Please describe. For #81 it could give away which vaults have been used or not if they are not pre-filled with randomness.

Describe the solution you'd like I'd like the files written with randomness so that it's not possible to tell how much space has been used.

Similarly if the USB stick has more space than the full blockchain will use, we should write random data to the free space after IBD to obscure the amount of space used. Otherwise it may be possible to infer the USB stick contains a Bitcoin node.