commit | e6b1200d11b062b0e525730044b7de555b7ed66d | [log] [tgz] |
---|---|---|
author | Roland Shoemaker <rolandshoemaker@gmail.com> | Wed Jun 13 13:00:12 2018 -0700 |
committer | Brad Fitzpatrick <bradfitz@golang.org> | Wed Jun 13 20:22:54 2018 +0000 |
tree | 51da966a74d7965ff77b759a6f93631d7f646c3a | |
parent | 8ac0e0d97ce45cd83d1d7243c060cb8461dda5e9 [diff] |
acme: fix encoding of the TLS-ALPN challenge extension To comply with the specification the value of the extension should be a ASN.1 OCTET STRING rather than a raw SHA 256 hash. This change uses asn1.Marshal to wrap the hash before putting it in the extension. Change-Id: I4ebe88a00238c6f928555d605e4b5dd98aad8128 Reviewed-on: https://go-review.googlesource.com/118696 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
This repository holds supplementary Go cryptography libraries.
The easiest way to install is to run go get -u golang.org/x/crypto/...
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/crypto
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the crypto repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/crypto:” in the subject line, so it is easy to find.
Note that contributions to the cryptography package receive additional scrutiny due to their sensitive nature. Patches may take longer than normal to receive feedback.