-
Notifications
You must be signed in to change notification settings - Fork 50
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
Read default cert at compile time #219
Conversation
Codecov Report
@@ Coverage Diff @@
## master #219 +/- ##
==========================================
- Coverage 72.63% 72.58% -0.05%
==========================================
Files 12 12
Lines 570 569 -1
==========================================
- Hits 414 413 -1
Misses 156 156
Continue to review full report at Codecov.
|
Hi @JackDunnNZ , it looks like I still see this error where |
@KwatMDPhD The problem seems to be that PackageCompiler doesn't bundle |
Thanks for the explanation. @KristofferC could you please help? |
@JackDunnNZ , it looks like https://github.com/JuliaLang/PackageCompiler.jl#upgrading-from-packagecompiler-10 |
What version of MbedTLS is used? The point of this PR is to read the cert at compile time and not runtime so I don't see why PackageCompiler has to bundle anything. |
Thanks for the response @KristofferC! 1.1.3. |
Looks like this code has since been changed, most recently in #246, so now the cert is being read from Lines 803 to 808 in 22f5393
So an alternative to PackageCompiler bundling it is to go back to reading the fallback cert at compile time, as this PR originally changed |
I want to help fix this. Can I just revert this? 71bd43a |
@KristofferC I was looking at how the bundled cert is used in base, and it seems that MozillaCACerts_jll assumes it is always present at init time: If I understand correctly, this would mean a compiled app can currently fail if it depends on MozillaCACerts_jll, since |
Yes, that would solve it. |
I know you are busy, but it would be amazing if you could update PackageCompiler @KristofferC 🙏 |
* also bundle certificate should fix JuliaLang/MbedTLS.jl#219 (comment)
Fixes #218
@kmsquire can you check if this fixes the problem for you?