Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Win81/Server2012R2: sporadic build failures: SEC_E_BUFFER TOO_SMALL or (less common) SEC_E_MESSAGE_ALTERED #8

Open
steffengy opened this issue Jul 29, 2016 · 0 comments

Comments

@steffengy
Copy link
Owner

steffengy commented Jul 29, 2016

as in: https://ci.appveyor.com/project/steffengy/schannel-rs/build/1.0.33/job/t6e7xfcvc507tksn

The SEC_E_BUFFER TOO_SMALL seems to be the issue mentioned here: Waffle/waffle#128 (comment)
(confirmed by wireshark capture below)

related MS-bug report

The SEC_E_MESSAGE_ALTERED likely is another issue.

  • Running the tests on Win8.1 or Server 2012 R2 (ONLY these versions) results in sporadic
    build failures with the error codes mentioned in the title
:a
cargo test validation_failure_is_permanent && goto a
pause
  • Running them on Win7, Server 2008, Win8, Server 2012, Win10, Server 2016 (Preview)
    does not result in sporadic failures.
  • Removing
    TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 and TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 from the schannel SSL cipher suites order, results in the disappearance of this bug.

Working Wireshark Capture + Broken SEC_E_MESSAGE_ALTERED

Wireshark Capture of Broken SEC_E_BUFFER_TOO_SMALL

@steffengy steffengy changed the title sporadic build failures: SEC_E_BUFFER TOO_SMALL or (less common) SEC_E_MESSAGE_ALTERED Win81/Server2012R2: sporadic build failures: SEC_E_BUFFER TOO_SMALL or (less common) SEC_E_MESSAGE_ALTERED Jul 29, 2016
steffengy referenced this issue in rust-lang/futures-rs Aug 8, 2016
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

No branches or pull requests

1 participant