Skip to content

fix(mstsgu): accept advertised extended auth - #1841

Merged
Marc-André Moreau (mamoreau-devolutions) merged 1 commit into
masterfrom
copilot/gateway-extended-auth-negotiation
Aug 30, 2026
Merged

fix(mstsgu): accept advertised extended auth#1841
Marc-André Moreau (mamoreau-devolutions) merged 1 commit into
masterfrom
copilot/gateway-extended-auth-negotiation

Conversation

@mamoreau-devolutions

Copy link
Copy Markdown
Contributor

Treat handshake ExtendedAuth bits as capabilities after HTTP authentication.

Require SSPI_NTLM and run its exchange when selected at transport setup.

Treat handshake ExtendedAuth bits as capabilities after HTTP authentication.

Require SSPI_NTLM and run its exchange when selected at transport setup.
Copilot AI balanced review requested due to automatic review settings August 30, 2026 00:22
@github-actions github-actions Bot added maintainer-required Maintainer review or intervention is required risk/unknown Risk could not be determined automatically; needs maintainer-level scrutiny size/S Size: up to 199 counted lines and 5 files; exceeds XS in either measure labels Aug 30, 2026

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

Updates MS-TSGU handshake handling so advertised extended-authentication capabilities do not reject ordinary HTTP-authenticated sessions.

Changes:

  • Ignores unselected extended-authentication capabilities.
  • Tests capability preservation and SSPI_NTLM negotiation requirements.
  • Clarifies unsupported authentication modes in the README.

No findings identified. Dedicated compression and prose-verification passes were skipped due to the five-skill limit; equivalent checks were applied directly.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
crates/ironrdp-mstsgu/src/lib.rs Accepts advertised capabilities unless SSPI_NTLM was selected.
crates/ironrdp-mstsgu/tests/consent.rs Covers HTTP and SSPI_NTLM negotiation behavior.
crates/ironrdp-mstsgu/tests/http_control.rs Tests preservation of capability bit combinations.
crates/ironrdp-mstsgu/README.md Clarifies unsupported extended-authentication exchanges.

@mamoreau-devolutions
Marc-André Moreau (mamoreau-devolutions) merged commit c4533fe into master Aug 30, 2026
44 checks passed
@mamoreau-devolutions
Marc-André Moreau (mamoreau-devolutions) deleted the copilot/gateway-extended-auth-negotiation branch August 30, 2026 02:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer-required Maintainer review or intervention is required risk/unknown Risk could not be determined automatically; needs maintainer-level scrutiny size/S Size: up to 199 counted lines and 5 files; exceeds XS in either measure

Development

Successfully merging this pull request may close these issues.

2 participants