Skip to content

[Security] Restore extension point in MessageDigestPasswordEncoder #41703

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

Conversation

derrabus
Copy link
Member

Q A
Branch? 5.3
Bug fix? yes
New feature? no
Deprecations? no
Tickets #41696 (comment)
License MIT
Doc PR N/A

Until Symfony 5.2, it was possible to extend MessageDigestPasswordEncoder and override the way password and salt are merged. This broke with #39802. I've restored the old logic and added a test case to cover that scenario.

@derrabus derrabus requested review from chalasr and wouterj as code owners June 14, 2021 17:06
@derrabus derrabus changed the base branch from 5.4 to 5.3 June 14, 2021 17:07
@derrabus derrabus added this to the 5.3 milestone Jun 14, 2021
@derrabus derrabus force-pushed the bugfix/restore-mdpe-extension-point branch from 014eb3f to 8f7028d Compare June 14, 2021 17:20
Signed-off-by: Alexander M. Turek <me@derrabus.de>
@derrabus derrabus force-pushed the bugfix/restore-mdpe-extension-point branch from 8f7028d to 4568876 Compare June 15, 2021 17:42
@nicolas-grekas
Copy link
Member

Thank you @derrabus.

@nicolas-grekas nicolas-grekas merged commit 35bae6b into symfony:5.3 Jun 17, 2021
@derrabus derrabus deleted the bugfix/restore-mdpe-extension-point branch June 17, 2021 12:35
@fabpot fabpot mentioned this pull request Jun 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants