Skip to content

Conversation

@stunes-ms
Copy link
Contributor

The pub_key field in the OpenHCL telemetry is raising false-positive alerts for credential disclosure. Rename it to something that won't trigger alerts.

The pub_key field in the OpenHCL telemetry is raising false-positive
alerts for credential disclosure. Rename it to something that won't
trigger alerts.
@stunes-ms stunes-ms requested a review from a team as a code owner December 1, 2025 21:17
Copilot AI review requested due to automatic review settings December 1, 2025 21:17
@github-actions github-actions bot added the release_2505 Targets the release/2505 branch. label Dec 1, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR addresses a security scanning false-positive by renaming the pub_key telemetry field to akpub_hash in OpenHCL's TPM device implementation. The field logs a base64-encoded SHA256 hash of the Attestation Key (AK) public key for auditing purposes.

Key Changes

  • Renamed telemetry field from pub_key to akpub_hash across 5 logging locations
  • The actual data being logged (base64-encoded SHA256 hash) remains unchanged
  • Change helps avoid triggering credential disclosure alerts in security scanning tools

Copilot suggested a better name; let's use it.
Copy link
Collaborator

@mebersol mebersol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@stunes-ms stunes-ms merged commit fbba76c into microsoft:release/2505 Dec 2, 2025
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release_2505 Targets the release/2505 branch.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants