-
Notifications
You must be signed in to change notification settings - Fork 7
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
Update components #9
base: master
Are you sure you want to change the base?
Conversation
Replace deprecated call Fix markdown formatting problems
Go library for DANE TLSA authentication | ||
|
||
### Pre-requisites | ||
## Pre-requisites |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Markdown linting requires titles not to skip a level.
// do some stuff with the obtained TLS connection here | ||
// | ||
conn.Close() | ||
daneconfig := dane.NewConfig(hostname, ip, 443) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tabs are not allowed in markdown.
@@ -8,7 +8,7 @@ package dane | |||
|
|||
import ( | |||
"fmt" | |||
"io/ioutil" | |||
"io" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ioutil.ReadAll is a deprecated method
@@ -47,7 +47,7 @@ func verifyChain(certs []*x509.Certificate, config *tls.Config, | |||
// Config data structure that performs DANE and PKIX authentication of | |||
// the server certificate as appropriate. | |||
func verifyServer(rawCerts [][]byte, | |||
verifiedChains [][]*x509.Certificate, | |||
_ [][]*x509.Certificate, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this parameter is unused
I am not sure if you are open to contributions. I added some comments inline to explain my thinking.