Skip to content

Commit

Permalink
Added additionally-supported HostKeyAlgorithms for SFTP backend. Reso…
Browse files Browse the repository at this point in the history
…lves #198. (#199)
  • Loading branch information
funkyshu authored Sep 10, 2024
1 parent 27839d3 commit 8b7451b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]

## [6.17.0] - 2024-09-10
### Added
- Added additionally-supported HostKeyAlgorithms for SFTP backend. Resolves #198.

## [6.16.0] - 2024-08-24
### Security
- Fixes #196 - Update to latest go and dependencies
Expand Down
9 changes: 7 additions & 2 deletions backend/sftp/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ type Options struct {

var defaultSSHConfig = &ssh.ClientConfig{
HostKeyAlgorithms: []string{
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"ssh-ed25519",
"ecdsa-sha2-nistp256",
"ecdsa-sha2-nistp384",
Expand Down Expand Up @@ -66,8 +73,6 @@ var defaultSSHConfig = &ssh.ClientConfig{
"aes256-ctr",
"aes192-ctr",
"aes128-ctr",
"aes256-cbc",
"aes192-cbc",
"aes128-cbc",
"3des-cbc",
},
Expand Down

0 comments on commit 8b7451b

Please sign in to comment.