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

Generate a more secure first-time admin password #58

Open
nbarbettini opened this issue May 8, 2018 · 1 comment
Open

Generate a more secure first-time admin password #58

nbarbettini opened this issue May 8, 2018 · 1 comment
Milestone

Comments

@nbarbettini
Copy link
Owner

Instead of hard-coding a password like NotSecure123!!, generate a random password for the admin user when seeding the database.

@jphellemons
Copy link

I have two options to fix this issue.

  1. 4 based on https://xkcd.com/221/
  2. Powershell ([char[]]([char]33..[char]95) + ([char[]]([char]97..[char]126)) + 0..9 | sort {Get-Random})[0..8] -join ''based on https://blogs.technet.microsoft.com/undocumentedfeatures/2016/09/20/powershell-random-password-generator/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants