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

Search known paths for the CA certificate file on Linux. #77

Merged
merged 1 commit into from
Jan 19, 2021

Conversation

otrho
Copy link
Contributor

@otrho otrho commented Jan 19, 2021

Instead of assuming the path (under /etc/ssl) we check a list of places
it might be, since this differs between distros. Taken from a Go
example.

Instead of assuming the path (under /etc/ssl) we check a list of places
it might be, since this differs between distros.  Taken from a Go
example.
@otrho otrho requested a review from Laeeth January 19, 2021 05:43
@otrho
Copy link
Contributor Author

otrho commented Jan 19, 2021

@Laeeth can you verify this works for you out of the box now on Ubuntu?

@codecov
Copy link

codecov bot commented Jan 19, 2021

Codecov Report

Merging #77 (6072e02) into master (af5d132) will decrease coverage by 0.06%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #77      +/-   ##
==========================================
- Coverage   15.87%   15.81%   -0.07%     
==========================================
  Files          10       10              
  Lines        1184     1189       +5     
==========================================
  Hits          188      188              
- Misses        996     1001       +5     
Impacted Files Coverage Δ
source/imap/session.d 0.00% <ø> (ø)
source/imap/socket.d 0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update af5d132...6072e02. Read the comment docs.

@Laeeth Laeeth merged commit 4bd39a0 into master Jan 19, 2021
@Laeeth Laeeth deleted the ca-cert-locations branch January 19, 2021 16:53
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.

2 participants