GitHub user inesh25 created a discussion: Superset 5.0.0 Upgrade — Invalid
Decryption Key Error After psycopg2 Fix
I recently upgraded Superset from v4.1.2 to v5.0.0 in a Kubernetes deployment.
During the upgrade:
Init pods failed due to psycopg2 not installing correctly.
Resolved this by switching to uv pip install psycopg2-binary.
Now, Superset throws an “Invalid decryption key” error — even though the
SECRET_KEY is unchanged and correctly mounted.
Is there a change in encryption/decryption logic in Superset 5.0.0?
Any known migration steps or breaking changes related to crypto keys?
We deployed superset using Helm charts and in values.yaml we include secret
key as shown below and also secret key is mentioned inside superset_config.py
configOverrides:
secret: |
SECRET_KEY = ' '
configMountPath: /app/pythonpath
Attaching few lines from init logs...can someone help me how to resolve this
error in 5.0.0 version and bring superset up and running.

GitHub link: https://github.com/apache/superset/discussions/36340
----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]