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

EncryptCookies fails because missing method getKey() #1

Open
smknstd opened this issue Sep 10, 2021 · 1 comment
Open

EncryptCookies fails because missing method getKey() #1

smknstd opened this issue Sep 10, 2021 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@smknstd
Copy link
Owner

smknstd commented Sep 10, 2021

https://github.com/laravel/framework/blob/8.x/src/Illuminate/Cookie/Middleware/EncryptCookies.php#L86

https://github.com/laravel/framework/blob/8.x/src/Illuminate/Contracts/Encryption/Encrypter.php

After this security fix last year, as mentionned here laravel/framework@5786aa4#commitcomment-46401370, encrypter contract doesn't have a getKey() method. And so doesn't kms encrypter. At the moment the cookie feature is broken ...

@smknstd smknstd added the bug Something isn't working label Sep 10, 2021
@smknstd smknstd self-assigned this Sep 10, 2021
@smknstd
Copy link
Owner Author

smknstd commented Oct 17, 2021

laravel/framework#38772

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant