Repository navigation
Commit ff097c1
committed
feat: add support for Ed25519 key authentication in SSHClient.
Adds the ability to authenticate via Ed25519 private key (pkey_path) in SSHClient.
The implementation enforces mutual exclusivity between password and key-based
authentication (raises ValueError if both are provided). Only Ed25519 keys are
supported; invalid key files raise a descriptive ValueError.
BREAKING CHANGE: the SSHClient constructor signature has changed — the `pkey_path`
parameter was added, and the order of arguments is slightly adjusted.1 parent 93594f6 commit ff097c1
1 file changed
Lines changed: 17 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
121 | 120 | | |
| 121 | + | |
| 122 | + | |
122 | 123 | | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
123 | 128 | | |
124 | 129 | | |
125 | 130 | | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
126 | 139 | | |
127 | 140 | | |
128 | 141 | | |
129 | | - | |
| 142 | + | |
130 | 143 | | |
131 | 144 | | |
132 | 145 | | |
| |||
228 | 241 | | |
229 | 242 | | |
230 | 243 | | |
231 | | - | |
232 | 244 | | |
| 245 | + | |
233 | 246 | | |
234 | 247 | | |
235 | 248 | | |
| |||
0 commit comments