Skip to content

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

Merged
AaronAtDuo merged 2 commits into
masterfrom
ca-bundle-version
Jul 23, 2026
Merged

Add CA bundle version and CA pinning status to User-Agent string#57
AaronAtDuo merged 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
@AaronAtDuo
AaronAtDuo merged commit fc0ab8d into master Jul 23, 2026
5 checks passed
@AaronAtDuo
AaronAtDuo deleted the ca-bundle-version branch July 23, 2026 20:10
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.

3 participants