Closed algernon closed 2 years ago
Will this hide the actual backup files, too?
Will this hide the actual backup files, too?
It removes the backup file list from the dialog only. If someone locates them, and tries to import them, that's not covered by this PR. That just counts as trying to import random JSON, and Chrysalis will throw an error on the dev console, but otherwise "silently" fail to import it.
We can - and will - add some form of verification before we import random stuff, but that's gonna take more effort. Locating the backup files isn't trivial, in my opinion, so for now, not showing the list should be enough. At least that gets the most obvious problem out of the way.
Build artifacts for this pull request are available!
The build artifacts are provided as-is, for testing and reviewing purposes. They contain code that has not been reviewed or audited by Chrysalis' developers. They are not endorsed by Keyboardio, they are not signed. Install and use them only if you know what you are doing.
Due to an earlier change, importing from backups made during flash are not importable via the "Backup & Restore" mechanism. Since the import was half-broken in this case anyway, lets disable this feature for now, until we develop a proper fix.
Addresses #1201 - but doesn't fix it.