Closed BenWestgate closed 1 month ago
Lets make a file called "remind-lock-screen" that checks if the user has a screen lock passphrase set and notifies them every 3 +/- minutes if not, else clears its notifications and exits. This is for chainstate-preload.
Press the lock screen keys to lock your computer if you need to walk away from it.
This also defines the scope of bails-wallet for seed recovery, it should build the descriptor and stop there. (This means in L2, we can also let it display a QR of that descriptor.) That way Bails can offer some entertainment during long steps like descriptor importing, as well as me not need to worry about teaching bails-wallet how to detect and import descriptors.
We can't kill notifications anymore. But we do try to set the screen lock password during each boot. If this needs to be reopened we will replace it with a dialog since notifications create spam that reduces privacy on the lock screen.
This step can be either really fast or slow depending on the blockchain progress and how busy the node is.
I should say more obviously, this will be slow, lock your screen if you have to step away from the computer. BEFORE showing the dialog for tails-screen-locker. Otherwise it just sits there and the notification with explanation expires.