From 050a587a8e0d1890229db95b5d84d5713e35e635 Mon Sep 17 00:00:00 2001 From: Anthony Ross Date: Mon, 22 Jan 2024 10:28:12 -0600 Subject: [PATCH] Add support for hmac-sha1 and hmac-sha1-96 (#151) * Add support for hmac-sha1 and hmac-sha1-96 * Updated changelog --- CHANGELOG.md | 4 ++++ backend/sftp/options.go | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 612164ed..b9cb6a08 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +## [6.11.0] - 2024-01-22 +### Added +- Added support for hmac-sha1 and hmac-sha1-96 and removed hmac-ripemd160 + ## [6.10.0] - 2023-12-28 ### Fixed - fixed #145 - Remove use of local temp file when reading/seeking from s3 files. This should improve performance by allowing streaming reads from s3 files. diff --git a/backend/sftp/options.go b/backend/sftp/options.go index 2a9ea27e..ba674234 100644 --- a/backend/sftp/options.go +++ b/backend/sftp/options.go @@ -75,7 +75,8 @@ var defaultSSHConfig = &ssh.ClientConfig{ "hmac-sha2-512-etm@openssh.com", "hmac-sha2-256", "hmac-sha2-512", - "hmac-ripemd160", + "hmac-sha1", + "hmac-sha1-96", }, }, }