trustcrypto / OnlyKey-App

The OnlyKey App is used for the initial setup and configuration of OnlyKey. Supported on Windows, macOS, Linux, and Chromebook (with Chrome App).
https://docs.crp.to/app.html
Other
105 stars 24 forks source link

Backup restore- existing slots not overwritten with empty slots #139

Open timetoseek opened 3 years ago

timetoseek commented 3 years ago

When restoring a backup, if the source tab is empty, then the restore does not overwrite the destination tab's existing data. Is it possible to restore ALL data, including forcing empty slots to overwrite existing data in the destination slots?

onlykey commented 3 years ago

@timetoseek Currently the restore process just restores the data from the backup. Meaning if I made a backup a month ago when I only used 5 slots, and since then I added new data, started using 10 slots, the restore won't wipe my new data I created. Thats why it works this way, if it wiped data then it would wipe your new data.

If you want just the data from the backup and nothing else you can wipe the OnlyKey then do a restore.

timetoseek commented 3 years ago

Currently the restore process just restores the data from the backup. Meaning if I made a backup a month ago when I only used 5 slots, and since then I added new data, started using 10 slots, the restore won't wipe my new data I created. Thats why it works this way, if it wiped data then it would wipe your new data.

Thank you, I do understand the reasoning.

It may be good to mention in the backup/restore documentation that a user must first wipe their device, and then restore from backup, if they wish to do a true one-to-one restore of the data.

Thank you!

timetoseek commented 3 years ago

The addition of a checkbox to "wipe all slots before restore" would certainly be beneficial. The box can be unchecked by default, but I suspect many people would want the convenience of being able to erase old data when performing a restore from backup.

Another useful, albeit marginally, enhancement would be the ability to restore only selected slots.