Skip to content

Generate secure passwords, resolves issue #26#51

Merged
kylecarbs merged 1 commit into
coder:masterfrom
MichaelDesantis:fix/issue-26
Mar 7, 2019
Merged

Generate secure passwords, resolves issue #26#51
kylecarbs merged 1 commit into
coder:masterfrom
MichaelDesantis:fix/issue-26

Conversation

@MichaelDesantis

@MichaelDesantis MichaelDesantis commented Mar 6, 2019

Copy link
Copy Markdown
Contributor

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