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

Use system certificates on Linux #368

Merged
merged 2 commits into from
Nov 22, 2022
Merged

Use system certificates on Linux #368

merged 2 commits into from
Nov 22, 2022

Conversation

davidanthoff
Copy link
Collaborator

Fixes #363.

This does NOT implement a special case for Debian based distributions. I looked into doing that, but it was way more involved than I thought it would be and I think the likelihood that I would make some mistake in trying to implement that is too high. The problem is that ureq has a conditional compile to either use the Mozilla list or the system cert list, but one can't have both easily. So I would have to vendor code from ureq in this crate here, and then we would need to make sure we track changes to that upstream, and especially with security sensitive stuff that seems like a really bad idea to me.

So, the main question is: are we ok to use the system cert list on Linux always, even on Linux? I think Julia is doing the same in the package manager, so maybe this is just all ok?

@StefanKarpinski, I'll defer to you to make a call on this one.

@DilumAluthge
Copy link
Member

FWIW, I am fine with having juliaup follow the same behavior as Julia itself.

@davidanthoff
Copy link
Collaborator Author

We've had enough agreement over at #363 that I'm going to merge this.

@davidanthoff davidanthoff merged commit 2901dca into main Nov 22, 2022
@davidanthoff davidanthoff deleted the system-certs-linux branch November 22, 2022 23:21
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.

Find alternatives to Mozilla cert list on Linux
2 participants