Files
SREsAreHumanToo c78f0f3494 Surface clear HTTP status errors in sealed transports
The sealed transports (ntlmseal, krbseal) manage raw TCP connections
and bypass go-psrp's HTTP layer, so a server returning 404 or another
unexpected status produced cryptic messages like "no challenge" or
decryption failures instead of telling the user what actually happened.

ntlmseal now distinguishes a non-401 response (wrong URL, WinRM not
running) from a 401 without a Negotiate header (wrong auth scheme).
krbseal catches non-200/non-500 non-sealed responses before attempting
decryption, surfacing the status code and a body snippet.

Closes #1
2026-11-23 19:07:59 -05:00
..