Unable to set the private keys: load_pem_private_key() failing to deserialize private key #47221
Closed
2 tasks done
Labels
area:providers
kind:bug
This is a clearly a bug
pending-response
provider:snowflake
Issues related to Snowflake provider
Apache Airflow version
2.10.5
If "Other Airflow 2 version" selected, which one?
2.10.4
What happened?
Facing an error while setting private key inside the airflow connection. In Airflow 2.10.4 + Python 3.12, Snowflake's load_pem_private_key() does not accept traditional RSA PEM keys directly anymore due to recent updates in cryptography and OpenSSL libraries. Getting an error "Unable to deserialize the key"
What you think should happen instead?
No response
How to reproduce
Create a connection in airflow UI and try to paste private key in PEM format and check. It is failing with "Unable to deserialize the key" error
Operating System
MacOS
Versions of Apache Airflow Providers
cryptography= 40.0.0
apache-airflow-providers-cncf-kubernetes=8.4.1
apache-airflow-providers-amazon=8.28.0
apache-airflow-providers-microsoft-azure=10.4.0
Deployment
Official Apache Airflow Helm Chart
Deployment details
No response
Anything else?
No response
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: