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

feat: improved passphrase flow #5279

Merged
merged 2 commits into from
Mar 31, 2023

Conversation

AaronFeickert
Copy link
Collaborator

@AaronFeickert AaronFeickert commented Mar 28, 2023

Description

Improves the flow for setting or changing a passphrase.

Closes issue 5127.

Motivation and Context

When setting or changing a wallet passphrase, the console wallet provides feedback on the strength of the provided passphrase. In the case of a weak passphrase, it does not prompt the user to choose a better one.

This PR implements a better flow for this process, as shown in this flowchart.

How Has This Been Tested?

Tested manually.

What process can a PR reviewer use to test or verify this change?

Testing needs to be done manually to assert that the process represented by the linked flowchart is implemented. Manual testing should cover the entire flow for these two operations:

  • Setting the passphrase for a new wallet
  • Changing the passphrase for an existing wallet

Breaking Changes

None.

@AaronFeickert AaronFeickert marked this pull request as ready for review March 28, 2023 22:23
@ghpbot-tari-project ghpbot-tari-project added P-acks_required Process - Requires more ACKs or utACKs P-reviews_required Process - Requires a review from a lead maintainer to be merged labels Mar 28, 2023
Copy link
Collaborator

@SWvheerden SWvheerden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good.
Tested working

applications/tari_console_wallet/src/init/mod.rs Outdated Show resolved Hide resolved
@ghpbot-tari-project ghpbot-tari-project removed the P-reviews_required Process - Requires a review from a lead maintainer to be merged label Mar 29, 2023
@SWvheerden
Copy link
Collaborator

ACK

@ghpbot-tari-project ghpbot-tari-project removed the P-acks_required Process - Requires more ACKs or utACKs label Mar 29, 2023
@SWvheerden SWvheerden merged commit ac21da6 into tari-project:development Mar 31, 2023
agubarev pushed a commit to agubarev/tari that referenced this pull request Mar 31, 2023
Description
---
Improves the flow for setting or changing a passphrase.

Closes [issue 5127](tari-project#5127).

Motivation and Context
---
When setting or
[changing](tari-project#5175) a wallet
passphrase, the console wallet provides
[feedback](tari-project#5111) on the
strength of the provided passphrase. In the case of a weak passphrase,
it does not prompt the user to choose a better one.

This PR implements a better flow for this process, as shown in [this
flowchart](tari-project#5127 (comment)).

How Has This Been Tested?
---
Tested manually.

What process can a PR reviewer use to test or verify this change?
---
Testing needs to be done manually to assert that the process represented
by the linked flowchart is implemented. Manual testing should cover the
entire flow for these two operations:
- Setting the passphrase for a new wallet
- Changing the passphrase for an existing wallet

Breaking Changes
---
None.
@AaronFeickert AaronFeickert deleted the password-confirm branch March 31, 2023 15:00
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.

Wallet bad password just continues on
3 participants