Skip to content
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

Allow unencrypted wallets #462

Merged
merged 5 commits into from
Apr 20, 2022
Merged

Conversation

rithvikvibhu
Copy link
Collaborator

@rithvikvibhu rithvikvibhu commented Feb 6, 2022

Closes #438, closes #245.

When creating a new wallet, if a wallet with the same name already exists and is not encrypted (like the default primary wallet), then the flow continues and encrypts it.

Also, since the primary wallet cannot be deleted, it's handled in Settings.

Note: Untested with Ledger (watchOnly wallets), but it should work. Probably. Mostly.

i18n

2 strings added and need translations:

- obSetNameUnencryptedExistError
- removeWalletNoPrimary

image

@rithvikvibhu
Copy link
Collaborator Author

Had to change a bit of listWallets code, and I think it should still work, but can't test with Ledger wallets. Would be great if someone can confirm.

@rithvikvibhu rithvikvibhu added the needs translation PR updates locale strings and have not yet been translated label Feb 18, 2022
@rithvikvibhu rithvikvibhu linked an issue Feb 22, 2022 that may be closed by this pull request
@befranz
Copy link

befranz commented Apr 18, 2022

I tested following steps with this PR (on regtest):
✅ Create new wallet with Ledger Nano X
✅ Logout/Login this wallet

@rithvikvibhu rithvikvibhu merged commit 801dd5b into kyokan:master Apr 20, 2022
@rithvikvibhu rithvikvibhu deleted the primary-wallet branch April 20, 2022 13:34
Falci pushed a commit to Falci/bob-wallet that referenced this pull request Jun 22, 2022
While creating new wallet, encrypt unencrypted wallets (like `primary`) if they are not yet encrypted.
@rithvikvibhu rithvikvibhu removed the needs translation PR updates locale strings and have not yet been translated label Jul 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow "primary" wallet recovery Handle unencrypted wallet
2 participants