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

Require PHP 5.3.7 in composer.json #51

Closed
wants to merge 1 commit into from
Closed

Require PHP 5.3.7 in composer.json #51

wants to merge 1 commit into from

Conversation

hkdobrev
Copy link

PHP 5.3.0 adds the bcrypt algorithm baked in. So this is a requirement.
However in PHP 5.3.7 a security issue was fixed and the algorithm updated. So
using anything below 5.3.7 is not an option for such a library aiming at
security.

PHP 5.3.0 adds the bcrypt algorithm baked in. So this is a requirement.
However in PHP 5.3.7 a security issue was fixed and the algorithm updated.
So using anything below `5.3.7` is not an option for such a library aiming at security.
@bpearson
Copy link

I disagree with this. If you are running a RHEL based distribution then they have back port most security issues to earlier versions (including the bcrypt one). For example, I am running 5.3.3 on Scientific Linux and the version_test.php script passes.

@hkdobrev
Copy link
Author

First I'm sorry I've created yet another PR for this issue. Related to #10 #24 #35 #43.

@bpearson I'll add my thoughts to #10.

@bpearson
Copy link

Yeah good point with the branching, personally I hate it but in some cases its necessary.

@ircmaxell
Copy link
Owner

Really, this is a Wont-Fix, because there's no good way to fix it. Unfortunately, Composer won't let me run a test to determine compatibility, so I'm left with trusting users. I can either require that they don't use composer or that they understand what they are doing...

Not to mention that a check like this can also fail, for example if they deploy (compile) from a > 5.3.7 host and deploy on a lesser one.

So really, it comes down to developers need to take responsibility for their platforms...

@ircmaxell ircmaxell closed this Feb 22, 2014
@hkdobrev hkdobrev deleted the require-php-537 branch May 25, 2014 21:22
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.

3 participants