Skip to content

Generate secure passwords, resolves issue #26 #51

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

Merged
merged 1 commit into from
Mar 7, 2019

Conversation

MichaelDesantis
Copy link
Contributor

@MichaelDesantis MichaelDesantis commented Mar 6, 2019

Issue:
#26

Changes:
Swap out the password generator for a native NodeJS CSPRNG method
https://nodejs.org/dist/latest-v10.x/docs/api/crypto.html#crypto_crypto_randombytes_size_callback

Test Environment:
OS: Mac OS High Sierra (10.13.6)
Browser: Google Chrome 72.0.3626.109 (Official Build) (64-bit)
(Result: Pass! Compile was successful and everything functions as expected)

Caveats:
None that I can think of. Although this did lead me to discover another issue. The input component has no error states for an incorrect password. (I'll open a new issue for this and style it to match what we currently have on our hosted services)
UPDATE: other issue is now here #55

@MichaelDesantis MichaelDesantis changed the title Generate secure passwords, resolves issue 26 Generate secure passwords, resolves issue #26 Mar 6, 2019
@kylecarbs kylecarbs merged commit e20b79b into coder:master Mar 7, 2019
@MichaelDesantis MichaelDesantis deleted the fix/issue-26 branch March 11, 2019 15:31
code-asher pushed a commit that referenced this pull request Jun 19, 2019
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.

3 participants