Skip to content

Add CA bundle version and CA pinning status to User-Agent string#57

Open
cisco-annikiti wants to merge 2 commits into
masterfrom
ca-bundle-version
Open

Add CA bundle version and CA pinning status to User-Agent string#57
cisco-annikiti wants to merge 2 commits into
masterfrom
ca-bundle-version

Conversation

@cisco-annikiti

Copy link
Copy Markdown
Contributor

Description

Append ca_bundle/1.0 and (ca_pinning=enabled|disabled) to the User-Agent header string, reflecting the CA bundle version and runtime pinning state

Motivation and Context

Part of the CA Pinning Standardization initiative. Server-side visibility into which CA bundle version clients are using and whether pinning is active helps assess impact scope during certificate-related incidents

How Has This Been Tested?

Added 2 unit tests:

  • Verifies User-Agent includes ca_bundle/1.0 and (ca_pinning=enabled) when pinning is on (default)
  • Verifies User-Agent includes ca_bundle/1.0 and (ca_pinning=disabled) when pinning is off

Types of Changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

@cisco-annikiti
cisco-annikiti marked this pull request as ready for review July 16, 2026 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant