Skip to content

Commit af0bd70

Browse files
authored
Update boulder-tools version. (letsencrypt#3294)
Also update chisel.py to refer to josepy, and update featureflag_string.go based on latest stringer. Fixes letsencrypt#3289
1 parent b369818 commit af0bd70

File tree

5 files changed

+10
-7
lines changed

5 files changed

+10
-7
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# To minimize the fetching of various layers this image and tag should
22
# be used as the base of the bhsm container in boulder/docker-compose.yml
3-
FROM letsencrypt/boulder-tools:2017-10-05
3+
FROM letsencrypt/boulder-tools:2017-12-18
44

55
# Boulder exposes its web application at port TCP 4000 and 4001
66
EXPOSE 4000 4001 4002 4003 4430 4431 8053 8055

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ services:
4343
bhsm:
4444
# To minimize the fetching of various layers this should match
4545
# the FROM image and tag in boulder/Dockerfile
46-
image: letsencrypt/boulder-tools:2017-10-05
46+
image: letsencrypt/boulder-tools:2017-12-18
4747
environment:
4848
PKCS11_DAEMON_SOCKET: tcp://0.0.0.0:5657
4949
command: /usr/local/bin/pkcs11-daemon /usr/lib/softhsm/libsofthsm2.so

features/featureflag_string.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/boulder-tools/build.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,3 +74,6 @@ apt-get autoremove -y build-essential cmake libssl-dev ruby-dev
7474
apt-get clean -y
7575

7676
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
77+
78+
# Save mock/mockgen/model because it will be needed later during `go generate`.
79+
GOPATH=/alt-gopath go get github.com/golang/mock/mockgen/model

test/chisel.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@
1919
from cryptography.hazmat.primitives.asymmetric import rsa
2020

2121
import OpenSSL
22+
import josepy
2223

2324
from acme import challenges
2425
from acme import client as acme_client
2526
from acme import errors as acme_errors
26-
from acme import jose
2727
from acme import messages
2828
from acme import standalone
2929

@@ -35,7 +35,7 @@
3535

3636
def make_client(email=None):
3737
"""Build an acme.Client and register a new account with a random key."""
38-
key = jose.JWKRSA(key=rsa.generate_private_key(65537, 2048, default_backend()))
38+
key = josepy.JWKRSA(key=rsa.generate_private_key(65537, 2048, default_backend()))
3939

4040
net = acme_client.ClientNetwork(key, verify_ssl=False,
4141
user_agent="Boulder integration tester")
@@ -112,7 +112,7 @@ def issue(client, authzs, cert_output=None):
112112

113113
cert_resource = None
114114
try:
115-
cert_resource, _ = client.poll_and_request_issuance(jose.ComparableX509(csr), authzs)
115+
cert_resource, _ = client.poll_and_request_issuance(josepy.ComparableX509(csr), authzs)
116116
except acme_errors.PollError as error:
117117
# If we get a PollError, pick the first failed authz and turn it into a more
118118
# useful ValidationError that contains details we can look for in tests.

0 commit comments

Comments
 (0)