th5/_dev/bogo/Dockerfile
Kris Kwiatkowski d3e18f99e2
Minimal number of changes needed to udpate to draft-28 (#115)
* includes AD in authentication check of TLS records

As per 5.2 of TLS 1.3 draft-28, the additional data is record header.

* tests: Update tests in order to support draft-28

* Interoperability: Updates NSS and BoringSSL versions to the
  one supporting draft-28
* Bogo: Updates revision number to use tests for draft-28
* FIX: makefile was using test-compat target instead of
  test-interop

* DC test: constify

* Use binary interface to encode in big-endian
2018-08-09 20:47:50 +01:00

39 lines
972 B
Docker

FROM golang:1.10-alpine
RUN apk add --update \
git \
make \
bash \
patch \
rsync \
&& rm -rf /var/cache/apk/*
ENV CGO_ENABLED=0
RUN git clone https://github.com/henrydcase/crypto-tls-bogo-shim \
/go/src/github.com/henrydcase/crypto-tls-bogo-shim
# Draft 18 with client-tests branch
#ARG REVISION=3f5e87d6a1931b6f6930e4eadb7b2d0b2aa7c588
# Draft 22 with draft22 branch
#ARG REVISION=81cc32b846c9fe2ea32613287e57a6a0db7bbb9a
# Draft 22 with draft22-client branch (client-tests + draft22)
# ARG REVISION=f9729b5e4eafb1f1d313949388c3c2b167e84734
# Draft 23
#ARG REVISION=d07b9e80a87c871c2569ce4aabd06695336c5dc5
# Draft 23 (+ client authentication)
# ARG REVISION=cd33ad248ae9490854f0077ca046b47cac3735bf
# Draft 28
ARG REVISION=33204d1eaa497819c6325998d7ba6b66316790f3
RUN cd /go/src/github.com/henrydcase/crypto-tls-bogo-shim && \
git checkout $REVISION
WORKDIR /go/src/github.com/henrydcase/crypto-tls-bogo-shim
CMD ["make", "run"]