Skip to content

Commit 8b7451b

Browse files
authored
Added additionally-supported HostKeyAlgorithms for SFTP backend. Resolves #198. (#199)
1 parent 27839d3 commit 8b7451b

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66
## [Unreleased]
77

8+
## [6.17.0] - 2024-09-10
9+
### Added
10+
- Added additionally-supported HostKeyAlgorithms for SFTP backend. Resolves #198.
11+
812
## [6.16.0] - 2024-08-24
913
### Security
1014
- Fixes #196 - Update to latest go and dependencies

backend/sftp/options.go

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,13 @@ type Options struct {
3636

3737
var defaultSSHConfig = &ssh.ClientConfig{
3838
HostKeyAlgorithms: []string{
39+
40+
41+
42+
43+
44+
45+
3946
"ssh-ed25519",
4047
"ecdsa-sha2-nistp256",
4148
"ecdsa-sha2-nistp384",
@@ -66,8 +73,6 @@ var defaultSSHConfig = &ssh.ClientConfig{
6673
"aes256-ctr",
6774
"aes192-ctr",
6875
"aes128-ctr",
69-
"aes256-cbc",
70-
"aes192-cbc",
7176
"aes128-cbc",
7277
"3des-cbc",
7378
},

0 commit comments

Comments
 (0)