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

Improve local password collection #257

Merged
merged 1 commit into from
Sep 6, 2021

Conversation

starbelly
Copy link
Member

Closes #256 and #190

  • 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.

 - 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.
@starbelly starbelly force-pushed the warn-if-passwd-over-32-chars branch from 290d3cb to 7a413a9 Compare September 5, 2021 19:22
@starbelly starbelly requested a review from tsloughter September 5, 2021 19:23
@starbelly
Copy link
Member Author

I will open up a PR to forward port this to master after this is merged.

@starbelly starbelly merged commit 11a784a into erlef:v6.11 Sep 6, 2021
@starbelly starbelly deleted the warn-if-passwd-over-32-chars branch December 24, 2021 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants