BenWestgate / Bails

Bails is a Bitcoin solution protecting against surveillance, censorship, and confiscation. It installs Bitcoin Core on the encrypted Persistent Storage of Tails, 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
38 stars 7 forks source link

Add exponential backoff to retry interval if no passphrase entered. #142

Closed BenWestgate closed 1 month ago

BenWestgate commented 1 month ago

Unfortunately there is a maximum timeout for gnome3-pinentry and the lockscreen will still be spammed.

So the interval before prompting for the passphrase again will have to increase.

This allows a cheat for the user to just not enter a passphrase, eventually giving them a longer wait than entering the correct one. Honor system seems fine here.

They both grow at the same rate, so entering the passphrase is strictly 15x less prompts since it starts at 30 seconds rather than 2.