Content-Length: 281550 | pFad | http://github.com/apache/airflow/issues/47221

8B Unable to set the private keys: load_pem_private_key() failing to deserialize private key · Issue #47221 · apache/airflow · GitHub
Skip to content

Unable to set the private keys: load_pem_private_key() failing to deserialize private key #47221

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
2 tasks done
suchiparihar opened this issue Feb 28, 2025 · 5 comments
Closed
2 tasks done
Assignees
Labels
area:providers kind:bug This is a clearly a bug pending-response provider:snowflake Issues related to Snowflake provider

Comments

@suchiparihar
Copy link

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?

  • Yes I am willing to submit a PR!

Code of Conduct

@suchiparihar suchiparihar added area:core kind:bug This is a clearly a bug needs-triage label for new issues that we didn't triage yet labels Feb 28, 2025
Copy link

boring-cyborg bot commented Feb 28, 2025

Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.

@apache apache locked and limited conversation to collaborators Feb 28, 2025
@potiuk potiuk converted this issue into a discussion Feb 28, 2025
@potiuk potiuk reopened this Feb 28, 2025
@potiuk
Copy link
Member

potiuk commented Feb 28, 2025

Interesting discussion. Likely pasting more details like stack trace - might help someone to help you.

@RNHTTR RNHTTR added area:providers provider:snowflake Issues related to Snowflake provider and removed area:core labels Mar 3, 2025
@RNHTTR
Copy link
Contributor

RNHTTR commented Mar 3, 2025

What version of the snowflake provider are you using (assuming you're using the snowflake provider)?

@RNHTTR RNHTTR added pending-response and removed needs-triage label for new issues that we didn't triage yet labels Mar 3, 2025
@rawwar rawwar self-assigned this Apr 23, 2025
@rawwar
Copy link
Contributor

rawwar commented Apr 23, 2025

@suchiparihar , This should be fixed by #49467

Also, please refer to #49575 (comment)

@rawwar
Copy link
Contributor

rawwar commented May 20, 2025

New snowflake provider version is released. please recheck this with version > 6.3.0 - https://airflow.apache.org/docs/apache-airflow-providers-snowflake/stable/changelog.html#id2

@rawwar rawwar closed this as completed May 20, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area:providers kind:bug This is a clearly a bug pending-response provider:snowflake Issues related to Snowflake provider
Projects
None yet
Development

No branches or pull requests

4 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/apache/airflow/issues/47221

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy