-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disable back arrow at File Backup after word import #246
Comments
I think a cleaner approach is fixing the problem, not the symptom. Meaning I'd rather reset the keys array to empty when going from words to password input. |
I believe this is actually a non-issue since the array is already reset when completing the words input: https://github.com/nimiq/keyguard-next/blob/master/src/request/import/ImportWords.js#L237. Are you sure this is a working bug, @danimoh? |
xD |
Yes, but the wallet is immediately stored to the database with |
Ok, I just tried it out: Then, when finishing the second set of words, the Only the second key's info is thus returned to the AccountsManager, which then derives the accounts for it. Thus I think the only bug here is that it is possible to create a dead key in the Keyguard, for which no reference or knowledge in the AccountsManager exists. - Which requires actual reset work of the user. I'd say this is a low-priority bug. |
An option would be to remove the newly created account(s) from the indexedDb again in case the user imports different words before these words are stored (therefore not only overwriting the returned keyInfo but also the key itself). I agree with @sisou that it is probably not very high priority. |
Otherwise, it's possible to import multiple wallets by words in one import request which is probably not what we want.
The text was updated successfully, but these errors were encountered: