Skip to content

Feature request: re-encrypt passwords inside env.php #12

@davekleijn

Description

@davekleijn

Hi,

I have saved a lot of passwords inside the env.php file. bin/magento config:set path password --lock-env

I have a question regarding these passwords. It looks like Magento is not changing this values when rotating the encryption key. The passwords still start with 0:3. After invalidating the original encryption key I get a lot of errors because these passwords are incorrect.

I propose adding a feature to the module that automatically re-encrypts passwords stored in env.php. Or is there another way to do this? I know it is possible with magerun, but that can only be done manually.

Maybe I'm overlooking something. If that is the case please let me know.

Thank you for considering this feature request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions