You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A helper method def load_db_encryption_key was included in config as part of the PR where this issue was found that can be used to set up db encryption.
name of issue screenshot
[if relevant, include a screenshot]
The text was updated successfully, but these errors were encountered:
Thanks for submitting an issue to
cloud_controller_ng
. We are always trying to improve! To help us, please fill out the following template.Issue
db.rake and dbmigrator use old method of loading the db encryption key.
VCAP::CloudController::Encryptor.db_encryption_key = RakeConfig.config.get(:db_encryption_key)
Context
To ensure full db encryption key setup db key load should happen like it does in,
@config.configure_components
should be called on db connection.@Samze discovered this here, verified by @tcdowney, details in link
Steps to Reproduce
Expected result
Update db.rake and dbmigrator to use correct db encryption setup
Current result
Deprecated way of loading key is used
[include relevant logs]
Possible Fix
A helper method
def load_db_encryption_key
was included in config as part of the PR where this issue was found that can be used to set up db encryption.name of issue
screenshot[if relevant, include a screenshot]
The text was updated successfully, but these errors were encountered: