google / google/certificate-transparency-go

[bug] Darwin not considered a UNIX system?

Open
#869 1 comment 0 reactions 0 assignees View on GitHub
x509
Dominant language
Go
Stars
1.2k
Forks
322
Avg merge
3d 4h
Merged PRs (30d)
5

Description

This package is a dependency of gravitational/teleport, which instructs clients to set the `SSL_CERT_FILE` and `SSL_CERT_DIR` to override the RootCA.

The docs [here](https://github.com/google/certificate-transparency-go/blob/master/x509/x509.go#L7) say that on UNIX systems these flags work.

However the build constraints [here](https://github.com/google/certificate-transparency-go/blob/master/x509/root_unix.go#L5) do not include `darwin` which is Unix-like. Is this intentional?

Contributor guide

Open the contributing guide

Research direction

Start with x509/root_unix.go and compare its build constraints with the UNIX behavior described in x509/x509.go. Determine whether Darwin should be included, then verify that the documented SSL_CERT_FILE and SSL_CERT_DIR behavior matches the resulting platform coverage.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
security
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.