Closed ghost closed 1 year ago
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.
@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