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
SqlClient CryptographicException is back on High Sierra 10.13.4 #25690
Comments
Confirmed. Sigh. Looking into why. |
It looks like they've made some fundamental changes to X509Chain processing in 10.13.4. |
Okay, maybe less fundamental than I thought. Apparently my test rig was in a corrupted state. |
@MattGal how do we get or test boxes updated to 10.13.4? In general if they updated automatically that would be a good thing. |
@bartonjs Thanks for fixing this so rapidly. What would be the best way for me to go about getting this on my system until the next release of core? Can I just clone and build this repo and drop it somewhere into my system? Update: Just found this page which describes how to dog food the latest corefx, so I’ll try that. |
@winzig If you want to peel back the tamper-evident seal and void the warranty you could do something like
Slightly safer would be to save the existing one before overwriting it, using my favorite bash syntax (or a less fun syntax, I guess...) |
Crud, appreciate the help, but looks like I'm unable to build for some reason. I'll try to figure out what I'm doing wrong, but barring that, I'm assuming I'm waiting for an official release. Do you think it will make it in for 2.0.7? And is there an ETA on that release? |
@danmosemsft I'm not sure about how to configured automated updates for OSX machines in a way that doesn't accidentally break things like OpenSSL building but I filed https://github.com/dotnet/core-eng/issues/3091 to track updating the 10.13 agents, please use this to track the update. |
This was merged in for 2.0.7 with dotnet/corefx#28675. @leecow do we have a published target release date? |
Targeting 4/17 pending validation. |
Thanks @bartonjs, now that the build issue was resolved, I was able to implement your steps and get back up and running! |
(From a comment on the rel/2.0 PR)
So SDK The latest runtime from https://github.com/dotnet/core-setup#daily-builds, on the other hand:
Is version 2.1.0-preview3-26404-01. The fix went into master on 31 March, so any So the SDK is currently lagging by a couple of weeks, it seems. But you can grab the runtime package and use it with an existing SDK. |
Since the fixes for 2.0 and 2.1 are both already in, and things are just waiting on releases to happen, I'm going to close this issue. Closed != locked, so feel free to add information if things like grabbing a latest daily 2.1 (or manually patching 2.0) don't fix the issue for you. |
Was this fix implemented with 2.0.7? |
@derk2689 yes, it will. but I don't believe the 2.0.7 is not officially released yet. It was scheduled to be released tomorrow. in the meantime, you can consume a daily runtime: https://github.com/dotnet/core-setup#daily-builds |
Thanks for the quick response. I updated and it said my current version was 2.0.7 but I will wait and see tomorrow if something changes on it. Thanks again for the help. |
dotnet/core#1456 says that 2.0.7 is out now. The build labels say that the 10.13.4 changes were included, so upgrading to the 2.0.7 runtime should resolve the problems. |
Just got this running from cli. Thanks for all the work and help to all involved. |
Thank you! I have updated to 2.0.7 and everything works fine in Sierra 10.13.4 now! |
Thanks for the fix guys! |
👍 |
I still seem be getting the same error
Here is my
This error only appeared after updating to macOS High Sierra 10.13.4. I knew I shouldn't have updated! |
@jdk339, you would need to update dotnet installation: https://www.microsoft.com/net/learn/get-started/macos |
@kasper3 Awesome, that worked. Thanks a lot! |
My issue today seems the same as this: https://github.com/dotnet/corefx/issues/22453
Yesterday (on High Sierra 10.13.3) my .net core 2.0 web project ran fine, connecting to SQL Server.
Last night my machine was updated to 10.13.4, and now this morning when I run the project I get this error:
Anyone else on 10.13.4 able to successfully connect to SQL Server this morning?
The text was updated successfully, but these errors were encountered: