Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion providers/sftp/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ PIP package Version required
``apache-airflow`` ``>=2.11.0``
``apache-airflow-providers-ssh`` ``>=6.0.0``
``apache-airflow-providers-common-compat`` ``>=1.12.0``
``paramiko`` ``>=4.0.0,<5.0.0``
``paramiko`` ``>=4.0.0``
``asyncssh`` ``>=2.12.0; python_version < "3.14"``
``asyncssh`` ``>=2.22.0; python_version >= "3.14"``
========================================== ======================================
Expand Down
2 changes: 1 addition & 1 deletion providers/sftp/docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ PIP package Version required
``apache-airflow`` ``>=2.11.0``
``apache-airflow-providers-ssh`` ``>=6.0.0``
``apache-airflow-providers-common-compat`` ``>=1.12.0``
``paramiko`` ``>=4.0.0,<5.0.0``
``paramiko`` ``>=4.0.0``
``asyncssh`` ``>=2.12.0; python_version < "3.14"``
``asyncssh`` ``>=2.22.0; python_version >= "3.14"``
========================================== ======================================
Expand Down
2 changes: 1 addition & 1 deletion providers/sftp/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ dependencies = [
"apache-airflow>=2.11.0",
"apache-airflow-providers-ssh>=6.0.0",
"apache-airflow-providers-common-compat>=1.12.0",
"paramiko>=4.0.0,<5.0.0",
"paramiko>=4.0.0",
"asyncssh>=2.12.0; python_version < '3.14'",
"asyncssh>=2.22.0; python_version >= '3.14'",
]
Expand Down
2 changes: 1 addition & 1 deletion providers/ssh/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ PIP package Version required
``apache-airflow`` ``>=2.11.0``
``apache-airflow-providers-common-compat`` ``>=1.12.0``
``asyncssh`` ``>=2.12.0``
``paramiko`` ``>=4.0.0,<5.0.0``
``paramiko`` ``>=4.0.0``
========================================== ==================

The changelog for the provider package can be found in the
Expand Down
2 changes: 1 addition & 1 deletion providers/ssh/docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ PIP package Version required
``apache-airflow`` ``>=2.11.0``
``apache-airflow-providers-common-compat`` ``>=1.12.0``
``asyncssh`` ``>=2.12.0``
``paramiko`` ``>=4.0.0,<5.0.0``
``paramiko`` ``>=4.0.0``
========================================== ==================

Downloading official packages
Expand Down
2 changes: 1 addition & 1 deletion providers/ssh/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ dependencies = [
"apache-airflow>=2.11.0",
"apache-airflow-providers-common-compat>=1.12.0",
"asyncssh>=2.12.0",
"paramiko>=4.0.0,<5.0.0",
"paramiko>=4.0.0",

]

Expand Down
5 changes: 4 additions & 1 deletion providers/ssh/src/airflow/providers/ssh/hooks/ssh.py
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,10 @@ def _pkey_from_private_key(self, private_key: str, passphrase: str | None = None
key = pkey_class.from_private_key(StringIO(private_key), password=passphrase)
# Test it actually works. If Paramiko loads an openssh generated key, sometimes it will
# happily load it as the wrong type, only to fail when actually used.
key.sign_ssh_data(b"")
if key.get_name() == "ssh-rsa":
key.sign_ssh_data(b"", algorithm="rsa-sha2-512")
else:
key.sign_ssh_data(b"")
return key
except (paramiko.ssh_exception.SSHException, ValueError):
continue
Expand Down
328 changes: 164 additions & 164 deletions uv.lock

Large diffs are not rendered by default.

Loading