Skip to content

Enforce password strength check in createAdmin.ts - #908

Open
iamtanuj18 wants to merge 2 commits into
devfrom
907-createadmin-strength-check
Open

Enforce password strength check in createAdmin.ts#908
iamtanuj18 wants to merge 2 commits into
devfrom
907-createadmin-strength-check

Conversation

@iamtanuj18

Copy link
Copy Markdown

Adds a password strength check inside createAdmin.ts before hashing ORG_ADMIN_PASSWORD. If the env var doesn't meet the strength policy, the deploy halts at container startup and the sysadmin sees the error in kubectl logs.

Fixes #907

@ignatiusm

Copy link
Copy Markdown
Contributor

Just a question @iamtanuj18 - did you test this with minikube locally on your laptop (via the makefile)?

@iamtanuj18

Copy link
Copy Markdown
Author

Evidence of correct behaviour from local minikube run — weak ORG_ADMIN_PASSWORD → CrashLoopBackOff with strength policy error at createAdmin.ts:14.

image

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.

2 participants