Problem/Motivation
https://symfony.com/doc/current/configuration/secrets.html#rotating-secrets
Key rotation can be considered and "advanced technical feature" so only supporting that as a Drush command could be fine. :tm:
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork 3562833-3563227
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
mxr576For this we have to be able store and identify multiple public/private key pairs and we have to introduce the notion of "active key".
The active key pair id could be stored in configuration.
Comment #3
mxr576The system also needs to know which encryption key (key pair) was used to create an encrypted key value. This information could be stored by the easy encrypted key provider.
Comment #5
mxr576Comment #6
mxr576Comment #7
mxr576Comment #8
mxr576Key rotation is possible via Drush since https://git.drupalcode.org/project/easy_encryption/-/commit/893b9900889d...
Comment #10
mxr576