Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added additionally-supported HostKeyAlgorithms for SFTP backend. Res… #199

Merged
merged 1 commit into from
Sep 10, 2024
Merged
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
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",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These aren't currently allowable (and may never have been).

"aes128-cbc",
"3des-cbc",
},
Expand Down
Loading