-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
restore wallet functionality does not support older 16 word wallets #1193
Comments
Added tests
Added tests linting
Added tests linting
Refactored loading wordlist from pak
Refactored loading wordlist from pak
Refactored loading wordlist from pak linting and cleanup
Refactored loading wordlist from pak linting and cleanup Added note for mobile to not check for legacy wallet keys
Refactored loading wordlist from pak linting and cleanup Added note for mobile to not check for legacy wallet keys
Refactored loading wordlist from pak linting and cleanup Added note for mobile to not check for legacy wallet keys Corrected wordlist size comparison
wip -- Addressing comments
wip -- Addressing comments
wip -- Addressing comments Addressing additional comments
wip -- Addressing comments Addressing additional comments Adding handling to onRecoverWallet with niceware failure
wip -- Addressing comments Addressing additional comments Adding handling to onRecoverWallet with niceware failure cleanup
wip -- Addressing comments Addressing additional comments Adding handling to onRecoverWallet with niceware failure cleanup linting
wip -- Addressing comments Addressing additional comments Adding handling to onRecoverWallet with niceware failure cleanup linting Corrected actual result value getting used
wip -- Addressing comments Addressing additional comments Adding handling to onRecoverWallet with niceware failure cleanup linting Corrected actual result value getting used Updated tests
wip -- Addressing comments Addressing additional comments Adding handling to onRecoverWallet with niceware failure cleanup linting Corrected actual result value getting used Updated tests Removed commented lines
wip -- Addressing comments Addressing additional comments Adding handling to onRecoverWallet with niceware failure cleanup linting Corrected actual result value getting used Updated tests Removed commented lines
Verification Passed on
One observation, error doesn't go away when user tries to re-enter the recover code. Verification passed on
Verified passed with
|
Is this option removed from Brave 1.0.0 ? It seems that only 24 words recovery phrase is acceptable. |
@shayanb I was just able to import a 16 word Rewards wallet file as well as copy/paste the recovery words without issue using 1.0.0. Are you trying to do this on brave://rewards or brave://wallet? Are you seeing an error message?
|
Thanks @LaurenWags . I was using the restore wallet |
@shayanb thanks for the confirmation. brave://wallet is for the crypto wallet, which is separate and not related to Brave Rewards at all. As for your wallet being empty when restoring, it's possible that it had grants which have since expired. We have not had grants in awhile I believe and we stopped doing 16 word wallets in favor of the 24 word wallets even longer ago, so this is my suspicion. Is this a wallet from a long time ago? |
Yes, probably early on when BAT was implemented in Brave. Anyhow thanks for the help. It's all good now :) |
Description
Brave Payments on browser-laptop allows for wallets to be recovered with either the old 16 words or the newer 24 words. Brave Rewards only allows for the newer 24. Since the switch to 24 was done without user interaction/knowledge, it's possible some users do not know and only have the 16 words in their backup file. Once they move to brave-core, if they try to recover their wallet using these words it will not work for them.
Steps to Reproduce
Actual result:
Wallet recovery with 16 words fails
Expected result:
Wallet would be recovered with 16 words. However, as it is in browser-laptop, after recovering the wallet with 16 words, when user goes to backup wallet, the 24 words should be displayed. This does create a disconnect for the user as their backup phrase is now different than what they entered, however we probably do want to promote the newer 24 words.
Reproduces how often:
easily
Brave version (chrome://version info)
all Brave Rewards enabled versions
Reproducible on current release:
no
Website problems only:
Additional Information
brave/browser-laptop#14856 (comment)
brave/browser-laptop#13313 (comment)
brave-intl/bat-client#48
The text was updated successfully, but these errors were encountered: