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

AES-128-CBC and AES-256-CBC with the correct key lengths #164

Closed
idan003 opened this issue Aug 8, 2018 · 5 comments
Closed

AES-128-CBC and AES-256-CBC with the correct key lengths #164

idan003 opened this issue Aug 8, 2018 · 5 comments

Comments

@idan003
Copy link

idan003 commented Aug 8, 2018

Hi, i have issue with larvel log, i install everything and put everything in the config app file.
but when i try to go website.com/logs he tell me that:
The only supported ciphers are AES-128-CBC and AES-256-CBC with the correct key lengths.

im use Lumen (5.6.4) (Laravel Components 5.6.*)

tnx

@elminson
Copy link
Contributor

elminson commented Aug 8, 2018

Please follow this
php artisan key:generate
php artisan config:cache
laravel/framework#9080

@elminson
Copy link
Contributor

@idan003 any update with this?

@rap2hpoutre
Copy link
Owner

@idan003 Since it's a problem with lumen, the solution given by @elminson could not work, (still the analysis is good, thank you so much @elminson: you are right, it's about app key) so maybe you could have a look at https://stackoverflow.com/questions/30344141/lumen-micro-framework-php-artisan-keygenerate.

@elminson
Copy link
Contributor

elminson commented Sep 5, 2018

Yes @rap2hpoutre, Lumen doesn't have the command, so needs to add an app key to .env,
to generate one you can use one of these:

date | md5
date | md5sum
openssl rand -base64 24
php -r "echo password_hash(uniqid(), PASSWORD_BCRYPT).\"\n\";"

You can close this issue :)

@rap2hpoutre
Copy link
Owner

@idan003 I close this issue. Let me now if there is anything else!

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

No branches or pull requests

3 participants