-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
[Security] remove plaintext
password hasher usage
#20986
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
base: 7.3
Are you sure you want to change the base?
Conversation
memory_cost="10" | ||
/> | ||
</config> | ||
<when env="test"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not super confident on these xml/php config changes - please review.
memory_cost="10" | ||
/> | ||
</config> | ||
<when env="test"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be <srv:when>
as this code snippet defines the SecurityBundle XML namespace as the default namespace and uses the srv
alias for the XML namespace of the DI component
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm, actually, this XML code snippet is already a mess, as it mixes cases, sometimes using a security
alias (not registered on the top-level element) for nodes of the SecurityBundle config
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What should we do here? Can this snippet be fixed easily? Otherwise, we could just remove it. Symfony plans to remove XML config support "soon", so this is not important. Thanks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd vote to remove
I think we shouldn't promote using the plaintext hasher at all.
Context:
test
environment recipes#1024