-
Notifications
You must be signed in to change notification settings - Fork 988
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
Can recover account with seedphrase created with keycard #9062
Comments
@guylouis the expected result of this behavior based on relatively old requirements. Would there might be another expected result? |
@Serhy
and in this case
If yes, that's an issue since there should never be two multiaccounts with the same seed |
@guylouis the question here is that case:
On our test cases (written by Nastya) - it is not possible, error is I want to find out what is expected result in this case and in case if we plan to restore account from seed phrase in MetaMask for example. |
It's not the case when 2 identical account are created.
|
I'd like to ask someone from @status-im/go to check if |
tested with today's nightly StatusIm-191016-025900-8e9010-nightly-universal.apk
Then: I get two multiaccounts on the phone with different
Whereas the intended behaviour is that
@gravityblast see the discussion above, can the issue be in go ? |
I'm trying with yesterday's and today's nightly but even when I select keycard it asks for a password and the keycard is never used. |
no it doesn't |
@churik are you only trying to recover a normal mnemonic phrase in a different device? |
@dmitryn So I guess maybe we are deriving something else from within status? |
@gravityblast
I don't know for sure. My only source of truth was testcase, created on 01/2019, where is clearly stated that should be error at attempt to recover keycard account with password. |
Full reproduction of the issue. I have to use a different mnemonic than the one above because it's not possible to recover a seed on a keycard now (issue #9231 ) FIRST STEP: SET UP A KEYCARD MULTIACCOUNT
SECOND STEP: SET UP A NON-KEYCARD MULTIACCOUNT WITH SAME SEED ON THE SAME PHONE
CONCLUSION: same seed but everything is different: chat key, wallet address and three names |
@guylouis I think we display the wrong public key. |
@churik I used the build you say but trying importing a mnemonic to a keycard instead of setting up a new account from scratch and it wasn't working |
@gravityblast yes this is #9231 with regards to the public key issue, who can check where is the bug, is it @dmitryn ? Can you share here elements that leads to think issue is on react and not go ? Thanks |
@guylouis first of all there's something wrong with the mnemonic. if you try to import it in any other wallet like mycrypto, you will see it's invalid. |
just to clarify, issues title states:
As far as I understand, there is no problem in ability to recover keycard's account as a regular account on device. Almost likely we want that account/phrase to be compatible with any other wallet/storage, so that shouldn't be a problem at all. But we still have two problems with keycard's mnemonic:
So I would just close this issue as it is a bit misleading already and create a new one for 1. if it doesn't exist already. |
@rachelhamlin @guylouis wdyt ? |
There were several problems yes ! #9231 should solve the issue of creating a keycard account based on a seed entered by the user. This was a typo issue in the code that you fixed. It seems there are device specific issues that prevent losing it now. #8750 tackles the issue of preventing to have "two accounts with the same root key on a single device, one stored on keycard and another on device", because from a security perspective it makes no sense, and gives a false sense of security to the keycard account, since the same private key are actually on the phone in the other account. I added some comments in #8750 on the roadmap to make transitioning from on keycard account (KCA) to on-device account (ODA) KCA->ODA, ODA->KCA, KCA-> KCA, ODA->ODA. As for the original problem from this issue, it now has several subparts caused by the same root cause or not. I'll close this one and open a new one (#9393) that shows the symptoms
|
closing this one, since tackled in the three issues listed above |
Type: Bug
Account created with keycard can be recovered in Status as normal account.
Summary: Account created with keycard can be recovered in Status as normal account.
Expected behavior
Image for expected case!
Actual behavior
Account recovered as normal account
Reproduction
Precondition
Seedphrase of an account created with keycard exists (e.g.
pepper save spread chaos unable narrow couple little clog monkey voice weapon)
Reproduction:
Additional Information
develop (2019092702)
The text was updated successfully, but these errors were encountered: