github GlassHaven/Haven v5.24.33

latest releases: v5.94.92, v5.94.91, v5.94.90...
7 months ago

Workaround for ironrdp's CredSSP implementation not interoperating with Windows Server 2025 Datacenter — reported by surf5726 on #109.

Diagnostic summary

surf5726 paired Haven's failure logcat with Microsoft Remote Desktop's successful connection to the same server with the same credentials. The side-by-side settled it:

  • Haven's NTLM CredSSP flow gets all the way through stage 3 AUTHENTICATE (NEGOTIATE → CHALLENGE → AUTHENTICATE + pub_key_auth + client_nonce).
  • Server then tears down the TLS session with an internal_error alert instead of a clean CredSSP response.
  • MS's Remote Desktop app connects successfully against the same server.

So the credentials, server config, and "server accepts NLA" are all fine — the issue is specifically that Haven's CredSSP (via ironrdp + sspi-rs) doesn't pass Windows Server 2025's tightened validation. The likely upstream bugs are MIC placement in NTLMv2 AUTHENTICATE and/or the pub_key_auth hash format. Those need fixing upstream in ironrdp / sspi-rs; I'll pull in a new revision when they land.

Workaround this release ships

New "Network Level Authentication (NLA)" checkbox on the RDP connection edit dialog (default on — existing behaviour). Untick it to request SSL-only security during the handshake — no CredSSP.

Server-side prerequisite: System Properties → Remote → "Allow connections only from computers running Remote Desktop with Network Level Authentication" must be off. If it's on (common on domain-joined / GPO-enforced production machines) the server will refuse the SSL-only connection and you'll get a different error; in that case the only path is waiting for the upstream CredSSP fix.

Plumbing

  • ConnectionProfile gains rdpUseNla: Boolean = true (DB migration 38 → 39, BackupService round-trips it).
  • RdpConfig in Rust gains enable_credssp: bool; build_config wires it into ironrdp's connector config (was hard-coded true).
  • RdpSession takes a useNla parameter; DesktopViewModel.addRdpSession takes it; RdpNavigation carries it; HavenNavHost threads it from Connections → Desktop.

Default behaviour is unchanged for everyone else. When the toggle is on you get exactly the same CredSSP-first handshake as v5.24.31/.32.

Build artifacts

Signed APKs for arm64 and x86_64 attached. arm64 is the one for phones and tablets.

Don't miss a new Haven release

NewReleases is sending notifications on new releases.