Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[PasswordHasher] accept hashing passwords with nul bytes or longer than 72 bytes when using bcrypt#40920

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
chalasr merged 1 commit intosymfony:5.xfromnicolas-grekas:hash-bcrypt
Apr 29, 2021

Conversation

@nicolas-grekas
Copy link
Member

@nicolas-grekasnicolas-grekas commentedApr 23, 2021
edited
Loading

QA
Branch?5.x
Bug fix?yes
New feature?no
Deprecations?no
Tickets-
LicenseMIT
Doc PR-

This limitation of bcrypt creates a risk for migrations. But we can remove it, so here we are.

@nicolas-grekasnicolas-grekas added this to the5.3 milestoneApr 23, 2021
@nicolas-grekasnicolas-grekas changed the title[PasswordHasher] accept hashing password with nul bytes or longer than 72 bytes when using bcrypt[PasswordHasher] accept hashing passwords with nul bytes or longer than 72 bytes when using bcryptApr 23, 2021
@nicolas-grekasnicolas-grekasforce-pushed thehash-bcrypt branch 3 times, most recently fromf927b8e to2acae1dCompareApril 23, 2021 08:54
chalasr
chalasr previously approved these changesApr 23, 2021
@chalasrchalasr dismissed theirstale reviewApril 23, 2021 09:04

too fast, some tests are broken :)

Copy link
Member

@chalasrchalasr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Some tests are broken

@nicolas-grekas
Copy link
MemberAuthor

Green!

Status: needs review

chalasr added a commit that referenced this pull requestApr 29, 2021
…s-grekas)This PR was merged into the 4.4 branch.Discussion----------[Security] [Security/Core] fix checking for bcrypt| Q             | A| ------------- | ---| Branch?       | 4.4| Bug fix?      | yes| New feature?  | no| Deprecations? | no| Tickets       | -| License       | MIT| Doc PR        | -Spotted while working on#40920Because of the logic in the constructor, if bcrypt is used, it's not cast to string.Commits-------f01ea99 [Security/Core] fix checking for bcrypt
@chalasr
Copy link
Member

Thank you@nicolas-grekas.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@chalasrchalasrchalasr approved these changes

+1 more reviewer

@rosierrosierrosier requested changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

5.3

Development

Successfully merging this pull request may close these issues.

4 participants

@nicolas-grekas@chalasr@rosier@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp