Skip to content

Add support for aws-sigv4 authentication #401

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

Merged
merged 1 commit into from
Aug 2, 2021
Merged

Add support for aws-sigv4 authentication #401

merged 1 commit into from
Aug 2, 2021

Conversation

theawless
Copy link
Contributor

@theawless theawless commented Jul 31, 2021

Used these platforms:

  • Windows10 + MSVC 14.29
  • macOS Big Sur + Apple clang 12.0
  • Linux 5.4 + GCC 7.3

I wasn't sure what feature combinations to build curl-rust with to test properly.
So, I wrote this script which runs all of them (1024 combinations).
Would it be useful to add it in the CI somehow?

For macOS and Linux, all builds work fine.
For Windows, some of them are breaking, but they had been breaking before my changes.
mesalink + spnego doesn't build together on Windows. Is this expected?

Closes #392

.file("curl/lib/system_win32.c")
.file("curl/lib/version_win32.c")
.file("curl/lib/vauth/digest_sspi.c")
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The name suggests that digest_sspi is USE_WINDOWS_SSPI specific feature. Should this be under line 256 instead?

The same goes for spnego_sspi on line 295 which already existed.

@alexcrichton
Copy link
Owner

Seems reasonable to me, thanks!

I think it's ok to keep CI as is (building all the sets of features isn't always the most useful and can take a lot of time), and for file order in the build script it's pretty haphazard and not super principled, so wherever is fine.

@alexcrichton alexcrichton merged commit ca8ce45 into alexcrichton:master Aug 2, 2021
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

Successfully merging this pull request may close these issues.

Enabling aws-sigv4 integration
2 participants