Superset has issues using SECRET_KEY to decrypt encrypted data in postgres #714
Labels
kind/bug
Categorizes issue or PR as related to a bug.
priority/important-longterm
Important over the long term, but may not be staffed and/or may need multiple releases to complete.
Upon reboot the init container will crash reporting the following:
But the SECRET_KEY is specified in the superset_config.py and pulled from a secret that never changes, so I'm not sure why this happens. To fix this issue we have to clear out the data that is using this key to encrypt said data. AFAIK this is only in the public.dbs table, the field
password
andencrypted_extra
running the following fixes it:However doing this requires one to go back and update the
database
password by re-entering them again, lest they won't work.Possibly related threads:
ValueError: Invalid decryption key
on K8s apache/superset#8538The text was updated successfully, but these errors were encountered: