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

Add packaging support for specifying root CAs #263

Merged
merged 3 commits into from
Feb 22, 2018

Conversation

zwass
Copy link
Contributor

@zwass zwass commented Feb 22, 2018

Closes #231.

@@ -141,6 +141,15 @@ func CreateLinuxPackages(osqueryVersion, hostname, secret string, insecure, inse
}
}

rootPEMPath := ""
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: I would prefer to use the zero value then initializing an empty string like this in Go code.

Copy link
Contributor

@groob groob left a comment

Choose a reason for hiding this comment

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

LGTM. I'm a bit concerned by the growing number of arguments passed to CreatePackages, but I think that's out of scope here.

@zwass
Copy link
Contributor Author

zwass commented Feb 22, 2018

CI passed but I cancelled it while it waited for SSH so it would not use up resources.

I manually tested this by creating packages with and without the appropriate roots in the PEM.

@zwass zwass merged commit 13a6da8 into kolide:master Feb 22, 2018
@zwass zwass deleted the packaging_root_pem branch February 22, 2018 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants