Skip to content

[Mono.Android] Suppress DSA client-certificate compatibility alert - #12528

Merged
jonathanpeppers merged 2 commits into
mainfrom
jonathanpeppers-except-dsa-compatibility
Aug 26, 2026
Merged

jonathanpeppers merged 2 commits into
mainfrom
jonathanpeppers-except-dsa-compatibility

Conversation

@jonathanpeppers

@jonathanpeppers jonathanpeppers commented Aug 26, 2026 •

Copy link
Copy Markdown
Member

Summary

Adds CodeQL [SM03800] only to the DSA client-certificate fallback in AndroidMessageHandler.GetKeyEntry(). DSA remains for customer-provided certificate compatibility after RSA and ECDSA are preferred. It is not used for Microsoft-controlled signing, issuance, key generation, or password storage; removing it would break compatibility. No behavior changes.

Validation

  • One scoped SM03800 marker
  • Comment-only executable diff
  • git diff --check

No behavioral tests were needed for this comment-only suppression.

Retain the DSA client-certificate fallback while narrowly suppressing the SM03800 finding at the intentional use site.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI lite review requested due to automatic review settings August 26, 2026 19:10
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

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

This PR adds a narrowly scoped CodeQL suppression for rule SM03800 (Unapproved usage of DSA) in AndroidMessageHandler.GetKeyEntry() to preserve compatibility with application/customer-provided client certificates that use DSA keys, without changing runtime behavior.

Changes:

  • Adds a compatibility rationale comment immediately above the DSA private-key fallback.
  • Adds an inline // CodeQL [SM03800] suppression marker on the DSA fallback branch.

@jonathanpeppers
jonathanpeppers merged commit e2070fc into main Aug 26, 2026
16 of 44 checks passed
@jonathanpeppers
jonathanpeppers deleted the jonathanpeppers-except-dsa-compatibility branch August 26, 2026 20:38
simonrozsival pushed a commit that referenced this pull request Aug 27, 2026
…12528)

## Summary

Adds `CodeQL [SM03800]` only to the DSA client-certificate fallback in `AndroidMessageHandler.GetKeyEntry()`. DSA remains for customer-provided certificate compatibility after RSA and ECDSA are preferred. It is not used for Microsoft-controlled signing, issuance, key generation, or password storage; removing it would break compatibility. No behavior changes.

## Validation

- One scoped `SM03800` marker
- Comment-only executable diff
- `git diff --check`

No behavioral tests were needed for this comment-only suppression.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 26, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants