-
-
Notifications
You must be signed in to change notification settings - Fork 620
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
Generating TLS rules with "go generate" fails #190
Comments
The file the is generated is @cosmincojocar Are the warnings anything to be concerned about? |
@saintaardvark @gcmurphy There was a recent refactoring and it seems that the generated code was edited manually. I update the template to reflect the changes. The warnings are ciphers published by Mozilla which are not supported in Go. I'll update the log message to be more specific. |
Some of the ciphers that tlsconfig are saying it cannot map do appear to be in crypto/tls. Is this an issue with the tls observatory code tlsconfig uses? https://golang.org/src/crypto/tls/cipher_suites.go Both ECDHE-ECDSA-CHACHA20-POLY1305 and ECDHE-RSA-CHACHA20-POLY1305 are included. |
@cosmincojocar can you comment on this? |
@cji It seems that the name mapping is missing from the tls observatory. Thanks for pointing this out. I created this PR mozilla/tls-observatory#319. |
Summary
Following the directions in the README for generating up-to-date TLS rules do not seem to work for me:
rules/tls.go
, then dogo generate
, then re-addrules/tls.go
, I can build gas with up-to-date TLS rulesSteps to reproduce the behavior
I've confirmed this in a docker container (version 1.10 of go), which has a clean environment:
If I try to force a build by removing the gas binary and re-running "go get", I get a slightly different error:
In order to successfully build gas with the generated rules, here's the procedure I have to follow:
(Probably not the most efficient way...I'm a bit of a go newbie.)
Gas version
Current HEAD (7116c4d)
Go version (output of 'go version')
go version go1.10 linux/amd64
Operating system / Environment
Expected behavior
Successful build of gas, with up-to-date TLS rules, following the instructions in the README
Actual behavior
Have to remove
rules/tls.go
, then dogo generate
, then re-addrules/tls.go
in order to build gas with up-to-date TLS rulesThe text was updated successfully, but these errors were encountered: