kmaddi-quotient opened a new issue #22337:
URL: https://github.com/apache/airflow/issues/22337


   ### Apache Airflow version
   
   2.2.4 (latest released)
   
   ### What happened
   
   I used to have fernet_key empty in 1.10.10. In the process of updating to 
2.2.4 , i generated a fernet key using the given procedure in python and 
updated the same in aiflow.cfg. After creating a user and clicking on 
connections it gives me the following error.
   `File 
"/home/airflow_user/.local/lib/python3.7/site-packages/cryptography/hazmat/backends/openssl/__init__.py",
 line 7, in <module>
       from cryptography.hazmat.backends.openssl.backend import backend
     File 
"/home/airflow_user/.local/lib/python3.7/site-packages/cryptography/hazmat/backends/openssl/backend.py",
 line 62, in <module>
       from cryptography.hazmat.backends.openssl.rsa import (
     File 
"/home/airflow_user/.local/lib/python3.7/site-packages/cryptography/hazmat/backends/openssl/rsa.py",
 line 422, in <module>
       class _RSAPublicKey(object):
     File 
"/home/airflow_user/.local/lib/python3.7/site-packages/cryptography/utils.py", 
line 45, in register_decorator
       def register_interface(iface):
     File 
"/home/airflow_user/.local/lib/python3.7/site-packages/cryptography/utils.py", 
line 85, in verify_interface
   cryptography.utils.InterfaceNotImplemented: <class 
'cryptography.hazmat.backends.openssl.rsa._RSAPublicKey'> is missing a 
'recover_data_from_signature' method`
   
   ### What you think should happen instead
   
   _No response_
   
   ### How to reproduce
   
   _No response_
   
   ### Operating System
   
   linux
   
   ### Versions of Apache Airflow Providers
   
   apache-airflow-providers-apache-livy==2.2.0
   apache-airflow-providers-ftp==2.0.1
   apache-airflow-providers-http==2.0.3
   apache-airflow-providers-imap==2.2.0
   apache-airflow-providers-sqlite==2.1.0
   apache-airflow-providers-ssh==2.4.1
   
   ### Deployment
   
   Other
   
   ### Deployment details
   
   _No response_
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to