-
-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve local password collection (#257)
- Resolves an issue where by if we accept a local password over 32 bytes we'll crash at key generation time. Instead, we now warn if the password is over 32 chars and prompt the user to try again. On the third attempt we throw a provider error. - To go along with the above, we now will warn the user if confirmation of a local password does not match the original entered local password vs immediately throwing, instead the user has 3 attempts to correctly confirm.
- Loading branch information
Showing
1 changed file
with
32 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters