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

Use hosted JSON guidelines for TLS evaluation #15

Closed
jvehent opened this issue Jul 26, 2016 · 2 comments
Closed

Use hosted JSON guidelines for TLS evaluation #15

jvehent opened this issue Jul 26, 2016 · 2 comments

Comments

@jvehent
Copy link

jvehent commented Jul 26, 2016

Howdy folks. Author of the Mozilla TLS guidelines here. Thanks for the great tool! I'm actually looking at using it in a number of Go projects we run.

One improvement I'd suggest to make would be to use the JSON version of the guidelines instead of hardcoding the recommendations. We host the file at https://statics.tls.security.mozilla.org/server-side-tls-conf.json You can refer to it in the code and fall back to hardcoded defaults if the retrieval fails.

As an example, here is how we use the JSON recommendations in the evaluation worker in the TLS Observatory works: https://github.com/mozilla/tls-observatory/blob/master/worker/mozillaEvaluationWorker/mozillaEvaluationWorker.go

@callidus
Copy link
Collaborator

callidus commented Jul 26, 2016

That's very handy, we are looking at making it config driven at the moment so this comes at the perfect time. Also thanks a bunch for the TLS guidelines themselves, fantastically useful to have a good checklist to work to.

@gcmurphy
Copy link
Member

hmm... I wonder if we could somehow use https://blog.golang.org/generate here to pull down the latest rules at build time so we have a recent copy to fall back on should the mozilla service be unavailable or for offline scans?

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

No branches or pull requests

3 participants