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

Validate MAC per key #51063

Merged
merged 2 commits into from
Apr 15, 2024
Merged

Conversation

timacdonald
Copy link
Member

No description provided.

@timacdonald timacdonald changed the title Validate mac per key Validate MAC per key Apr 15, 2024
Copy link

Thanks for submitting a PR!

Note that draft PR's are not reviewed. If you would like a review, please mark your pull request as ready for review in the GitHub user interface.

Pull requests that are abandoned in draft may be closed due to inactivity.

Comment on lines +284 to +285
return $this->validMacForKey($payload, $this->key);
}
Copy link
Member Author

Choose a reason for hiding this comment

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

Only validating against the primary key now ($this->key).

This method is no longer called by our own Encrypter class.

@taylorotwell taylorotwell marked this pull request as ready for review April 15, 2024 15:21
@taylorotwell taylorotwell merged commit 8f42dc0 into laravel:11.x Apr 15, 2024
28 checks passed
@timacdonald timacdonald deleted the validate-mac-per-key branch April 15, 2024 23:29
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

3 participants