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

Password hashing - multiple encoders support #10080

Merged
merged 4 commits into from
Jan 10, 2019

Conversation

pamil
Copy link
Contributor

@pamil pamil commented Jan 9, 2019

Q A
Branch? 1.4
Bug fix? yes
New feature? yes
BC breaks? no
Deprecations? no
Related tickets #9560, #10008
License MIT

It reverses the BC break made in #10008 which forced end-users to change their security settings. This PR makes it opt-in for old installations and is enabled by default for new ones.

@pamil pamil requested a review from a team as a code owner January 9, 2019 17:24
@pamil pamil added Potential Bug Potential bugs or bugfixes, that needs to be reproduced. Feature New feature proposals. labels Jan 9, 2019
@pamil pamil changed the title Password hashing - multiple encoders & seamless encoders changes [WIP] Password hashing - multiple encoders & seamless encoders changes Jan 9, 2019
@pamil pamil changed the title [WIP] Password hashing - multiple encoders & seamless encoders changes Password hashing - multiple encoders support Jan 10, 2019
@pamil pamil mentioned this pull request Jan 10, 2019
4 tasks
@pamil pamil merged commit 2e28729 into Sylius:master Jan 10, 2019
@pamil pamil deleted the 1.4-password-hashing branch January 10, 2019 13:19
pamil added a commit that referenced this pull request Jan 11, 2019
This PR was merged into the 1.4-dev branch.

Discussion
----------

| Q               | A
| --------------- | -----
| Branch?         | 1.4
| Bug fix?        | no
| New feature?    | yes
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | closes #9560, related to #10080
| License         | MIT

TODO:
 - [x] Functional test at the application level which updates the encoder and password of logged in user

<!--
 - Bug fixes must be submitted against the 1.2 or 1.3 branch (the lowest possible)
 - Features and deprecations must be submitted against the master branch
 - Make sure that the correct base branch is set
-->


Commits
-------

d05d8aa Specify an listener to update the encoded password on login
e58b202 Register the listener updating users' encoder
b79be03 Add encoder name to serialised user data
93d7aed Add functional test for update password encoder listener
722ba00 Set "argon2i" as the default encoder
f2e6896 Setup seamless change to argon2i
d02581b Make test compatibile with Symfony 3.4
62eb4ab Mock what you own in encoder listener spec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature proposals. Potential Bug Potential bugs or bugfixes, that needs to be reproduced.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants