Skip to content

Commit 01419d5

Browse files
committed
downgrade to paramiko 3.5.1
paramiko 4.x no longer supports DSA keys, and can cause MyCLI to exit with a cryptic error if the user has a DSA key present: module 'paramiko' has no attribute 'DSSKey' See paramiko/paramiko#2537
1 parent d94ca37 commit 01419d5

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

changelog.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
TBD
2+
==============
3+
4+
Bug Fixes
5+
--------
6+
* Downgrade to Paramiko 3.5.1 to avoid crashing on DSA keys.
7+
8+
19
1.44.2 (2026/01/13)
210
==============
311

pyproject.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,10 @@ build-backend = "setuptools.build_meta"
3131

3232

3333
[project.optional-dependencies]
34-
ssh = ["paramiko", "sshtunnel"]
34+
ssh = [
35+
"paramiko~=3.5.1",
36+
"sshtunnel",
37+
]
3538
llm = [
3639
"llm>=0.19.0",
3740
"setuptools", # Required by llm commands to install models
@@ -50,7 +53,7 @@ dev = [
5053
"pytest-cov>=4.1.0",
5154
"tox>=4.8.0",
5255
"pdbpp>=0.10.3",
53-
"paramiko",
56+
"paramiko~=3.5.1",
5457
"sshtunnel",
5558
"llm>=0.19.0",
5659
"setuptools", # Required by llm commands to install models

0 commit comments

Comments
 (0)