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

[8.x] Lowercase cipher name in the Encrypter supported method #38693

Merged

Conversation

Krisell
Copy link
Contributor

@Krisell Krisell commented Sep 6, 2021

Fixes #38690

This ensure that the public supported method in Encrypter.php lowercases the cipher name before testing if the cipher is supported. The internal representation changed recently to lowercase (due to an OpenSSL bug, see #38594) which affects direct outside calls to the supported method prior to this PR.

Thanks to @Sn0wCrack for pointing this out!

@Krisell Krisell changed the title Lowercase cipher name in the Encrypter supported method [8.x] Lowercase cipher name in the Encrypter supported method Sep 6, 2021
@Krisell Krisell changed the title [8.x] Lowercase cipher name in the Encrypter supported method [8.x] Lowercase cipher name in the Encrypter supported method Sep 6, 2021
@taylorotwell taylorotwell merged commit 901c93f into laravel:8.x Sep 6, 2021
victorvilella pushed a commit to cdsistemas/framework that referenced this pull request Oct 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants