UnfilteredDevOps.SecureHttpClient 1.0.29

There is a newer version of this package available.
See the version list below for details.
dotnet add package UnfilteredDevOps.SecureHttpClient --version 1.0.29
                    
NuGet\Install-Package UnfilteredDevOps.SecureHttpClient -Version 1.0.29
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="UnfilteredDevOps.SecureHttpClient" Version="1.0.29" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="UnfilteredDevOps.SecureHttpClient" Version="1.0.29" />
                    
Directory.Packages.props
<PackageReference Include="UnfilteredDevOps.SecureHttpClient" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add UnfilteredDevOps.SecureHttpClient --version 1.0.29
                    
#r "nuget: UnfilteredDevOps.SecureHttpClient, 1.0.29"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package UnfilteredDevOps.SecureHttpClient@1.0.29
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=UnfilteredDevOps.SecureHttpClient&version=1.0.29
                    
Install as a Cake Addin
#tool nuget:?package=UnfilteredDevOps.SecureHttpClient&version=1.0.29
                    
Install as a Cake Tool

UnfilteredDevOps.SecureHttpClient

A secure HTTP client wrapper for .NET with built-in retry logic, timeout handling, and comprehensive logging capabilities designed for supply chain security scenarios.

Features

  • Automatic Retry: Exponential backoff for transient failures (5xx, 408)
  • Timeout Handling: Configurable request timeouts
  • Structured Logging: Built-in ILogger support
  • Custom Headers: Support for default headers
  • Resilience: Powered by Polly

Installation

dotnet add package UnfilteredDevOps.SecureHttpClient

Usage

using UnfilteredDevOps.SecureHttpClient;

var options = new HttpClientOptions
{
    BaseAddress = "https://api.example.com",
    Timeout = TimeSpan.FromSeconds(30),
    MaxRetryAttempts = 3,
    RetryDelay = TimeSpan.FromMilliseconds(500)
};

using var client = new SecureHttpClient(options);
var response = await client.GetAsync("/endpoint");

Security & Supply Chain

This package is built with supply chain security as a first-class concern:

Package Signature Verification

Every release is cryptographically signed using Cosign with GitLab OIDC tokens (keyless signing).

Verify signature:

# Download the package
dotnet nuget download UnfilteredDevOps.SecureHttpClient --version 1.0.26

curl https://www.nuget.org/api/v2/package/UnfilteredDevOps.SecureHttpClient/1.0.26 -L -o UnfilteredDevOps.SecureHttpClient.1.0.26.nupkg

# Download the signature bundle from GitLab
# Replace PROJECT_ID and JOB_ID with actual values
curl -o UnfilteredDevOps.SecureHttpClient.1.0.26.nupkg.cosign.bundle \
  https://gitlab.com/unfiltered-devops/gitlab/supply-chain/-/jobs/12810457052/file/packages/UnfilteredDevOps.SecureHttpClient.1.0.26.nupkg.cosign.bundle

# Verify with Cosign (keyless mode with GitLab OIDC)
cosign verify-blob --bundle UnfilteredDevOps.SecureHttpClient.1.0.26.nupkg.cosign.bundle \
  --certificate-identity-regexp "project_path:unfiltered-devops/gitlab/supply-chain:ref_type:branch:ref:main" \
  --certificate-oidc-issuer "https://gitlab.com" \
  UnfilteredDevOps.SecureHttpClient.1.0.26.nupkg

Expected output:

Verified OK

SLSA Provenance

Build metadata adhering to SLSA v1 framework is included in each release:

  • Source: Repository and commit SHA
  • Build: Build timestamp, runner information
  • Dependencies: Exact versions used during compilation

Access provenance: GitLab Artifacts

Software Bill of Materials (SBOM)

Complete dependency inventory in multiple formats:

  • CycloneDX JSON: Standard format for dependency tracking
  • SPDX JSON: Linux Foundation format for compliance
  • Text Report: Human-readable dependency list

Download SBOM files from GitLab Artifacts

Transparency Log

All signatures are logged to Rekor (sigstore transparency log):

rekor-cli search --artifact UnfilteredDevOps.SecureHttpClient.1.0.1.nupkg

Building & Testing

# Restore dependencies
dotnet restore

# Build
dotnet build -c Release

# Run tests
dotnet test

# Generate package
dotnet pack -c Release

Requirements

  • .NET 8.0 or later
  • Microsoft.Extensions.Logging.Abstractions 8.0+
  • Polly 8.2+

License

MIT License - See LICENSE file for details

Verify This Package

Before using this package, verify its authenticity:

  1. Check the signature using Cosign (see Security section above)
  2. Review the SBOM for unexpected dependencies
  3. Check Rekor transparency log for build metadata
  4. Verify the SLSA provenance metadata

Built with supply chain security by UnfilteredDevOps

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.137 97 1/24/2026
1.0.127 90 1/23/2026
1.0.126 93 1/23/2026
1.0.125 96 1/23/2026
1.0.124 94 1/23/2026
1.0.123 87 1/23/2026
1.0.122 91 1/23/2026
1.0.121 95 1/23/2026
1.0.120 88 1/23/2026
1.0.29 102 1/21/2026
1.0.26 98 1/21/2026
1.0.25 92 1/21/2026