Skip to content

Suppress CredScan finding for testcert.key.pem test certificate - #2074

Merged
Badrish Chandramouli (badrishc) merged 1 commit into
mainfrom
badrishc/credscan-suppress-testcert-key-pem
Aug 18, 2026
Merged

Suppress CredScan finding for testcert.key.pem test certificate#2074
Badrish Chandramouli (badrishc) merged 1 commit into
mainfrom
badrishc/credscan-suppress-testcert-key-pem

Conversation

@badrishc

Copy link
Copy Markdown
Collaborator

The PEM certificate support added in #1937 introduced test/testcerts/testcert.key.pem, a PEM-encoded private key for the self-signed certificate used by TLS unit tests. CredScan flags its private key, breaking the compliance build. Add it to the CredScan exclusion list alongside the other test certificate/key files.

The PEM certificate support added in #1937 introduced test/testcerts/testcert.key.pem, a PEM-encoded private key for the self-signed certificate used by TLS unit tests. CredScan flags its private key, breaking the compliance build. Add it to the CredScan exclusion list alongside the other test certificate/key files.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: ebda3282-4ac2-49f9-820a-d658443b15ae
Copilot AI balanced review requested due to automatic review settings August 18, 2026 20:25

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds the PEM test private key to CredScan suppressions so compliance builds accept the TLS test fixture.

Changes:

  • Excludes testcert.key.pem with a test-only justification.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@badrishc
Badrish Chandramouli (badrishc) merged commit eb956b5 into main Aug 18, 2026
167 of 168 checks passed
@badrishc
Badrish Chandramouli (badrishc) deleted the badrishc/credscan-suppress-testcert-key-pem branch August 18, 2026 20:49
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