-
Notifications
You must be signed in to change notification settings - Fork 217
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
Wallet "passphrase" info gets lost after updating cardano-wallet #1701
Comments
1704: assign default encryption scheme for passphrase with none. r=KtorZ a=KtorZ # Issue Number <!-- Put here a reference to the issue this PR relates to and which requirements it tackles --> #1701 # Overview <!-- Detail in a few bullet points the work accomplished in this PR --> - a4dd767 📍 **assign default encryption scheme for passphrase with none.** # Comments <!-- Additional comments or screenshots to attach if any --> cc @nikolaglumac <!-- Don't forget to: ✓ Self-review your changes to make sure nothing unexpected slipped through ✓ Assign yourself to the PR ✓ Assign one or several reviewer(s) ✓ Once created, link this PR to its corresponding ticket ✓ Assign the PR to a corresponding milestone ✓ Acknowledge any changes required to the Wiki --> Co-authored-by: KtorZ <[email protected]>
1704: assign default encryption scheme for passphrase with none. r=KtorZ a=KtorZ # Issue Number <!-- Put here a reference to the issue this PR relates to and which requirements it tackles --> #1701 # Overview <!-- Detail in a few bullet points the work accomplished in this PR --> - a4dd767 📍 **assign default encryption scheme for passphrase with none.** # Comments <!-- Additional comments or screenshots to attach if any --> cc @nikolaglumac <!-- Don't forget to: ✓ Self-review your changes to make sure nothing unexpected slipped through ✓ Assign yourself to the PR ✓ Assign one or several reviewer(s) ✓ Once created, link this PR to its corresponding ticket ✓ Assign the PR to a corresponding milestone ✓ Acknowledge any changes required to the Wiki --> Co-authored-by: KtorZ <[email protected]>
If I'm not mistaken this is the manifestation of the issue -> #1552 (Migration issue on Jormungandr (v2020-03-16 => v2020-04-01 | 07)). Daedalus ITN version: 2.3.1-ITN1 actually uses cardano-wallet v2020-03-16. |
I see that there is a problem when doing migration v2020-03-16 -> current master (2020.6.2 (git revision: b3cfd5f)):
And trying to list wallet give 500:
|
1717: Replace 'Maybe Bool' with a dedicated sum-type. r=KtorZ a=KtorZ # Issue Number <!-- Put here a reference to the issue this PR relates to and which requirements it tackles --> #1701 # Overview <!-- Detail in a few bullet points the work accomplished in this PR --> - 9aaf4ad 📍 **log when no migration is needed** - 7c3d459 📍 **replace 'Maybe Bool' with a dedicated sum-type for more clarity** # Comments <!-- Additional comments or screenshots to attach if any --> Caught me one time already... Won't caught anyone else. <!-- Don't forget to: ✓ Self-review your changes to make sure nothing unexpected slipped through ✓ Assign yourself to the PR ✓ Assign one or several reviewer(s) ✓ Once created, link this PR to its corresponding ticket ✓ Assign the PR to a corresponding milestone ✓ Acknowledge any changes required to the Wiki --> Co-authored-by: KtorZ <[email protected]>
fixed with #1717. |
Looks like the issue is back. I restored two wallets into Daedalus and the last one had this error. wallet table does not contain required field 'passphrase_scheme'. Adding this field with a default value of "EncryptWithPBKDF2". Is there something that can be done to fix this? |
@nathannoble that message in itself isn't an issue. It's part of the normal migration process actually; the server will announce what migrations are being done upon start. When you say, "the last one had this error.", could you give slightly more details? |
@KtorZ It is all good. IOHK support helped me get over it. Apparently I had to delete the State directory. Something I had done before in older version of Daedalus. I understand these issues are growing pains. So if this happens to anyone else. 1. Delete the State Directory then re import your wallets. |
Context
We are currently working on a next Daedalus ITN release (2.4.0-ITN1) which uses cardano-wallet
031835950a38384b289f3adc43c671a00ef9000b
revision.We've found an issue that is currently blocking us from proceeding with our release.
Given that you had a wallet created in the current production Daedalus ITN version (2.3.1-ITN1) which uses cardano-wallet
8316bffdd05596e8830da9129f3a3907c6fba684
revision and then you update Daedalus to this next release, the wallet's passphrase info is lost - which makes Daedalus think this wallet has no password set.There is no option to have a passwordless wallet in any of the Daedalus ITN builds
Steps to Reproduce
Postman GET wallets response
☝️ as can be seen from this screenshot, the 1st wallet has no "passphrase" attribute, while the 2nd one (created after the update) has.
Expected behavior
Wallet passphrase info should be preserved after the update.
Actual behavior
Wallet passphrase info is lost after the update.
Resolution
QA
The text was updated successfully, but these errors were encountered: