-
Notifications
You must be signed in to change notification settings - Fork 200
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
Importing the wallet using askar in react native fails #1526
Comments
You have to explicitly migrate the structure of the wallet from Indy sdk to askar. https://aries.js.org/guides/0.4/updating/update-indy-sdk-to-askar |
@berendsliedrecht While exporting the wallet also I am using the Askar wallet only. |
Ah, my bad. I am not too familiar with the exporting mechanism but from the error I assume that one of the keys you used is incorrect. |
@berendsliedrecht Yes, the error is being shown as the key is incorrect but I am using the same backup key still it is showing the same I have created a repo for the same here. @genaris Can you also please check this. ? |
@sairanjitAW thank you very much to generate a repo to easily reproduce the issue! It seems it's a problem with Aries Askar wrapper for React Native. Store rekey is not calling the right method, so the key is in fact never changed. I opened a PR in aries-askar to fix it. For the time being you can use a patched version that I added as a PR for your repo. |
Thank You @genaris for the fix |
When using the Askar wallet in React Native import wallet fails with the following error
Observation while debugging the error was:
walletConfig
while importing wallet and oldwalletKey
asbackupkey
then importing wallet is completed successfullyI have created a repo that reproduces this error here - Askar-Walllet-React-Native
The text was updated successfully, but these errors were encountered: