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

3.3/develop #492

Merged
merged 2 commits into from
May 13, 2014
Merged

3.3/develop #492

merged 2 commits into from
May 13, 2014

Conversation

sarciszewski
Copy link
Contributor

Now on the correct branch!

When cryptographic hashes are compared with the === operator, they are susceptible to remote timing attacks. This patch affects the cookie-based session driver as well as Security::check($token); you may wish to also patch other hash comparison functions.

slow_equals() taken from https://defuse.ca/php-pbkdf2.htm

shadowhand pushed a commit that referenced this pull request May 13, 2014
Add Security::slow_equals and make use of it in Cookie::get and Security::check
@shadowhand shadowhand merged commit 66b409a into kohana:3.3/develop May 13, 2014
@shadowhand
Copy link
Contributor

Thanks again!

@sarciszewski sarciszewski deleted the 3.3/develop branch May 13, 2014 04:05
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.

None yet

2 participants