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

[bug] Darwin not considered a UNIX system? #869

Open
awnumar opened this issue Dec 16, 2021 · 1 comment
Open

[bug] Darwin not considered a UNIX system? #869

awnumar opened this issue Dec 16, 2021 · 1 comment
Labels

Comments

@awnumar
Copy link

awnumar commented Dec 16, 2021

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 say that on UNIX systems these flags work.

However the build constraints here do not include darwin which is Unix-like. Is this intentional?

@awnumar awnumar changed the title Darwin not considered a UNIX system? [bug] Darwin not considered a UNIX system? Dec 16, 2021
@pav-kv pav-kv added the x509 label Jun 10, 2022
@pav-kv
Copy link
Contributor

pav-kv commented Jun 10, 2022

This is probably not intentional. We did not test this code on all possible platforms. Please note that the x509 package is a fork of the standard Go package. Have you considered using the standard package instead?

Do you need this to work on your platform?
Have you tried patching this build line (e.g. add darwin) and checking that it would work for you?

Also, pull requests are welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants