mogilvie / EncryptBundle

Encryption bundle
82 stars 27 forks source link

Error for encrypt_key #28

Closed Lefhar closed 1 year ago

Lefhar commented 1 year ago

Hello I use symfony 5.4 so I had to install version 2 of the bundle I have a problem I created like asking for the parameter.yaml file or in yml it changes nothing in config/packages it does not find the key it is however present in my .env file

Thank you for help

The bundle specshaper\encrypt-bundle requires a parameter.yml value for "encrypt_key"
Use cli command "php bin/console encrypt:genkey" to create a key.
Lefhar commented 1 year ago

create file in config/packages/ encryption.yaml with
parameters: encrypt_key: 'Key generate'