diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 19747b41..f9197234 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -7,9 +7,6 @@ updates: # Check the nuget registry for updates every week: schedule: interval: "daily" - ignore: - - dependency-name: "AWSSDK.S3" - versions: [">= 3.7.411.7"] # Enable version updates for nuget (Fronter.NET.Tests) - package-ecosystem: "nuget" diff --git a/Fronter.NET/Fronter.csproj b/Fronter.NET/Fronter.csproj index 78f24070..9541f27f 100644 --- a/Fronter.NET/Fronter.csproj +++ b/Fronter.NET/Fronter.csproj @@ -61,14 +61,14 @@ - + - - + + - + all runtime; build; native; contentfiles; analyzers; buildtransitive @@ -80,11 +80,11 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + diff --git a/Fronter.NET/Services/ConverterLauncher.cs b/Fronter.NET/Services/ConverterLauncher.cs index 8c732d27..2a0f59ee 100644 --- a/Fronter.NET/Services/ConverterLauncher.cs +++ b/Fronter.NET/Services/ConverterLauncher.cs @@ -1,4 +1,5 @@ -using Amazon.S3; +using Amazon.Runtime; +using Amazon.S3; using Amazon.S3.Transfer; using Avalonia; using Avalonia.Controls.ApplicationLifetimes; @@ -276,6 +277,9 @@ private static async Task UploadSaveArchiveToBackblaze(string archivePath, Sentr var s3Config = new AmazonS3Config { ServiceURL = "https://s3.eu-central-003.backblazeb2.com", + // Backblaze B2's S3-compatible API doesn't support the checksum headers that the SDK sends by default. + RequestChecksumCalculation = RequestChecksumCalculation.WHEN_REQUIRED, + ResponseChecksumValidation = ResponseChecksumValidation.WHEN_REQUIRED, }; var s3Client = new AmazonS3Client(keyId, applicationKey, s3Config);