Skip to content

Conversation

@markekraus
Copy link
Contributor

@markekrausmarkekraus commented Dec 5, 2017

Closes#5590

  • makes Travis CI use the brew installed libcurl that uses OpenSSL for the crypto provider and include the gssapi option. The native libcurl provides inconsistent feature support across OS versions.
  • re-enable tests marked pending in Make the '-SslProtocol' tests pending #5605
  • GSSAPI is required for PowerShellGet in order to support HttpClientHandler.UseDefaultCredentials which it sets as true (unless you supply credentials).

PR Checklist

Note: Please mark anything not applicable to this PR NA.

PR Summary

@markekrausmarkekraus added the Documentation Needed in this repo Documentation is needed in this repo label Dec 5, 2017
@markekrausmarkekraus changed the title Make Travis CI use libcurl+opensslMake Travis CI use libcurl+openssl+gssapiDec 5, 2017
@markekraus
Copy link
ContributorAuthor

yay.. all passed this time.

So.. the question is where do I document this at? in the web cmdlets documentations? somewhere in this repo (install documentation)? both?

@daxian-dbw
Copy link
Member

daxian-dbw commented Dec 5, 2017

We need to document it in the web cmdlets help content, and point out what parameters are affected by this. docs/FAQ.md might also be a good place to keep this information.

Copy link
Member

@TravisEz13TravisEz13 left a comment

Choose a reason for hiding this comment

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

One comment about another issue this PR brings up, Please file an issue or submit a PR for this and link in this PR.


# Install patched version of curl
Start-NativeExecution{brew install curl --with-openssl } -IgnoreExitcode
Start-NativeExecution{brew install curl --with-openssl --with-gssapi } -IgnoreExitcode
Copy link
Member

Choose a reason for hiding this comment

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

We should update the PowerShell brew recipe as well.
https://github.com/caskroom/homebrew-cask/blob/master/Casks/powershell.rb#L33

Copy link
Member

Choose a reason for hiding this comment

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

We need to figure out what to do with the powershell package about this limitation on macOS.
CoreCLR has explicitly moved away from OpenSSL on mac, see this PR: dotnet/corefx#17011.
Please open an issue to track the macOS packaging about this.

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

- Remove Pester as a module include with the PowerShell Packages.
In the future, you should be able to add it by running `Install-Module Pester`. (#5623, #5631)
- Make Travis CI use `libcurl+openssl` (#5629, @markekraus)
- Make Travis CI use `libcurl+openssl+gssapi` (#5629, @markekraus)
Copy link
Member

Choose a reason for hiding this comment

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

should only have one line for a single PR

@daxian-dbw
Copy link
Member

I didn't add the [feature] tag when resolving a conflict. Add the [feature] to trigger full test run.

@daxian-dbwdaxian-dbw merged commit ee7fbed into PowerShell:masterDec 6, 2017
@daxian-dbwdaxian-dbw changed the title Make Travis CI use libcurl+openssl+gssapiMake Travis CI use libcurl+openssl+gssapi for macOSDec 6, 2017
TravisEz13 pushed a commit to TravisEz13/PowerShell that referenced this pull request Dec 7, 2017
@TravisEz13TravisEz13 mentioned this pull request Dec 7, 2017
@TravisEz13TravisEz13 added this to the 6.0.0-RC.2 milestone Dec 8, 2017
@markekrausmarkekraus deleted the macOsLibcurlFix branch January 19, 2018 19:00
@joeyaiellojoeyaiello removed the Documentation Needed in this repo Documentation is needed in this repo label Oct 15, 2018
@joeyaiellojoeyaiello removed the Documentation Needed in this repo Documentation is needed in this repo label Oct 15, 2018
Sign up for freeto 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.

4 participants

@markekraus@daxian-dbw@TravisEz13@joeyaiello