Skip to content

Per-platform candidates, multiple directories - #41

Merged
djc merged 4 commits into
mainfrom
split
Nov 28, 2025
Merged

djc merged 4 commits into
mainfrom
split

Conversation

@djc

@djc djc commented Nov 27, 2025 •

Copy link
Copy Markdown
Member

This combines the data from the Go std library with what we had in this project previously (reviewing all PRs).

@michael-o please check if this resolves your issues on BSD.

Comment thread src/lib.rs
Comment thread src/lib.rs
target_os = "netbsd",
target_os = "aix"
)))]
const CERTIFICATE_DIRS: &[&str] = &["/etc/ssl/certs"];

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Should we have an empty CERTIFICATE_DIRS for darwin and windows? (Same for CERTIFICATE_FILE_NAMES.)

@michael-o

Copy link
Copy Markdown

I will happily give you feedback in the next couple of days

@ctz ctz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM. I would be tempted to take a cfg-if dependency for some of the conditionals.

@djc

djc commented Nov 28, 2025

Copy link
Copy Markdown
Member Author

I'll go ahead and merge this now to allow downstream work to progress, happy to take more feedback and iterate.

@djc
djc added this pull request to the merge queue Nov 28, 2025
Merged via the queue into main with commit a03745e Nov 28, 2025
4 checks passed
@michael-o

Copy link
Copy Markdown

I didn't even get a chance to review 😕

@djc

djc commented Nov 28, 2025

Copy link
Copy Markdown
Member Author

I didn't even get a chance to review 😕

That's why I said:

happy to take more feedback and iterate

You can still review and I will make changes in response to your feedback.

@michael-o

Copy link
Copy Markdown

I didn't even get a chance to review 😕

That's why I said:

happy to take more feedback and iterate

You can still review and I will make changes in response to your feedback.

Alright, will do next week

@djc

djc commented Dec 3, 2025

Copy link
Copy Markdown
Member Author

@cpu @michael-o any feedback?

@michael-o

Copy link
Copy Markdown

@cpu @michael-o any feedback?

I have allocated some time for it this Friday. Will let you know in two days.

@michael-o

Copy link
Copy Markdown

@djc Completed testing, will raise a new PR to discuss further.

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.

3 participants