Skip to content

Commit f517d85

Browse files
Merge pull request #3401 from containers/dependabot/go_modules/github.com/containers/image/v5-5.14.0
build(deps): bump github.com/containers/image/v5 from 5.13.2 to 5.14.0
2 parents 42dbc97 + 914a7e5 commit f517d85

File tree

91 files changed

+2898
-509
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+2898
-509
lines changed

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ go 1.12
55
require (
66
github.com/containernetworking/cni v0.8.1
77
github.com/containers/common v0.41.1-0.20210721112610-c95d2f794edf
8-
github.com/containers/image/v5 v5.13.2
8+
github.com/containers/image/v5 v5.14.0
99
github.com/containers/ocicrypt v1.1.2
1010
github.com/containers/storage v1.33.0
1111
github.com/docker/distribution v2.7.1+incompatible
@@ -36,7 +36,7 @@ require (
3636
go.etcd.io/bbolt v1.3.6
3737
golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2
3838
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
39-
golang.org/x/sys v0.0.0-20210603125802-9665404d3644
39+
golang.org/x/sys v0.0.0-20210616094352-59db8d763f22
4040
k8s.io/klog v1.0.0 // indirect
4141
)
4242

go.sum

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,9 @@ github.com/containernetworking/plugins v0.8.6/go.mod h1:qnw5mN19D8fIwkqW7oHHYDHV
227227
github.com/containernetworking/plugins v0.9.1/go.mod h1:xP/idU2ldlzN6m4p5LmGiwRDjeJr6FLK6vuiUwoH7P8=
228228
github.com/containers/common v0.41.1-0.20210721112610-c95d2f794edf h1:z0ciG0ByyJG3WCBpLYd2XLThCC7UBaH7GeSfXY4sAqc=
229229
github.com/containers/common v0.41.1-0.20210721112610-c95d2f794edf/go.mod h1:Ba5YVNCnyX6xDtg1JqEHa2EMVMW5UbHmIyEqsEwpeGE=
230-
github.com/containers/image/v5 v5.13.2 h1:AgYunV/9d2fRkrmo23wH2MkqeHolFd6oQCkK+1PpuFA=
231230
github.com/containers/image/v5 v5.13.2/go.mod h1:GkWursKDlDcUIT7L7vZf70tADvZCk/Ga0wgS0MuF0ag=
231+
github.com/containers/image/v5 v5.14.0 h1:ORaFZ/NwFjkSunMhxg9I8fQod8pgXkrYNiZzit/VqOE=
232+
github.com/containers/image/v5 v5.14.0/go.mod h1:SxiBKOcKuT+4yTjD0AskjO+UwFvNcVOJ9qlAw1HNSPU=
232233
github.com/containers/libtrust v0.0.0-20190913040956-14b96171aa3b h1:Q8ePgVfHDplZ7U33NwHZkrVELsZP5fYj9pM5WBZB2GE=
233234
github.com/containers/libtrust v0.0.0-20190913040956-14b96171aa3b/go.mod h1:9rfv8iPl1ZP7aqh9YA68wnZv2NUDbXdcdPHVz0pFbPY=
234235
github.com/containers/ocicrypt v1.0.1/go.mod h1:MeJDzk1RJHv89LjsH0Sp5KTY3ZYkjXO/C+bKAeWFIrc=
@@ -781,8 +782,9 @@ github.com/urfave/cli v1.22.1/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtX
781782
github.com/urfave/cli v1.22.2/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0=
782783
github.com/vbatts/tar-split v0.11.1 h1:0Odu65rhcZ3JZaPHxl7tCI3V/C/Q9Zf82UFravl02dE=
783784
github.com/vbatts/tar-split v0.11.1/go.mod h1:LEuURwDEiWjRjwu46yU3KVGuUdVv/dcnpcEPSzR8z6g=
784-
github.com/vbauerster/mpb/v7 v7.0.2 h1:eN6AD/ytv1nqCO7Dm8MO0/pGMKmMyH/WMnTJhAUuc/w=
785785
github.com/vbauerster/mpb/v7 v7.0.2/go.mod h1:Mnq3gESXJ9eQhccbGZDggJ1faTCrmaA4iN57fUloRGE=
786+
github.com/vbauerster/mpb/v7 v7.0.3 h1:NfX0pHWhlDTev15M/C3qmSTM1EiIjcS+/d6qS6H4FnI=
787+
github.com/vbauerster/mpb/v7 v7.0.3/go.mod h1:NXGsfPGx6G2JssqvEcULtDqUrxuuYs4llpv8W6ZUpzk=
786788
github.com/vishvananda/netlink v0.0.0-20181108222139-023a6dafdcdf/go.mod h1:+SR5DhBJrl6ZM7CoCKvpw5BKroDKQ+PJqOg65H/2ktk=
787789
github.com/vishvananda/netlink v1.1.0/go.mod h1:cTgwzPIzzgDAYoQrMm0EdrjRUBkTqKYppBueQtXaqoE=
788790
github.com/vishvananda/netlink v1.1.1-0.20201029203352-d40f9887b852 h1:cPXZWzzG0NllBLdjWoD1nDfaqu98YMv+OneaKc8sPOA=
@@ -1045,8 +1047,9 @@ golang.org/x/sys v0.0.0-20210403161142-5e06dd20ab57/go.mod h1:h1NjWce9XRLGQEsW7w
10451047
golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
10461048
golang.org/x/sys v0.0.0-20210426230700-d19ff857e887/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
10471049
golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
1048-
golang.org/x/sys v0.0.0-20210603125802-9665404d3644 h1:CA1DEQ4NdKphKeL70tvsWNdT5oFh1lOjihRcEDROi0I=
10491050
golang.org/x/sys v0.0.0-20210603125802-9665404d3644/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
1051+
golang.org/x/sys v0.0.0-20210616094352-59db8d763f22 h1:RqytpXGR1iVNX7psjB3ff8y7sNFinVFvkx1c8SjBkio=
1052+
golang.org/x/sys v0.0.0-20210616094352-59db8d763f22/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
10501053
golang.org/x/term v0.0.0-20201113234701-d7a72108b828/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw=
10511054
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1 h1:v+OssWQX+hTHEmOBgwxdZxK4zHq3yOs8F9J7mk0PY8E=
10521055
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=

tests/from.bats

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -404,11 +404,11 @@ load helpers
404404

405405
# Try encrypted image without key should fail
406406
run_buildah 125 from oci:${TESTDIR}/tmp/busybox_enc
407-
expect_output --substring "Error decrypting layer .* missing private key needed for decryption"
407+
expect_output --substring "decrypting layer .* missing private key needed for decryption"
408408

409409
# Try encrypted image with wrong key should fail
410410
run_buildah 125 from --decryption-key ${TESTDIR}/tmp/mykey2.pem oci:${TESTDIR}/tmp/busybox_enc
411-
expect_output --substring "Error decrypting layer .* no suitable key unwrapper found or none of the private keys could be used for decryption"
411+
expect_output --substring "decrypting layer .* no suitable key unwrapper found or none of the private keys could be used for decryption"
412412

413413
# Providing the right key should succeed
414414
run_buildah from --decryption-key ${TESTDIR}/tmp/mykey.pem oci:${TESTDIR}/tmp/busybox_enc
@@ -426,11 +426,11 @@ load helpers
426426

427427
# Try encrypted image without key should fail
428428
run_buildah 125 from --tls-verify=false --creds testuser:testpassword docker://localhost:5000/buildah/busybox_encrypted:latest
429-
expect_output --substring "Error decrypting layer .* missing private key needed for decryption"
429+
expect_output --substring "decrypting layer .* missing private key needed for decryption"
430430

431431
# Try encrypted image with wrong key should fail
432432
run_buildah 125 from --tls-verify=false --creds testuser:testpassword --decryption-key ${TESTDIR}/tmp/mykey2.pem docker://localhost:5000/buildah/busybox_encrypted:latest
433-
expect_output --substring "Error decrypting layer .* no suitable key unwrapper found or none of the private keys could be used for decryption"
433+
expect_output --substring "decrypting layer .* no suitable key unwrapper found or none of the private keys could be used for decryption"
434434

435435
# Providing the right key should succeed
436436
run_buildah from --tls-verify=false --creds testuser:testpassword --decryption-key ${TESTDIR}/tmp/mykey.pem docker://localhost:5000/buildah/busybox_encrypted:latest

tests/pull.bats

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ load helpers
1313
# force a failed pull and look at the error message which *must* include the
1414
# the resolved image name (localhost/image:latest).
1515
run_buildah 125 pull --policy=always image
16-
[[ "$output" == *"Error initializing source docker://localhost/image:latest"* ]]
16+
[[ "$output" == *"initializing source docker://localhost/image:latest"* ]]
1717
run_buildah rmi localhost/image ${iid}
1818
}
1919

@@ -186,11 +186,11 @@ load helpers
186186

187187
# Try to pull encrypted image without key should fail
188188
run_buildah 125 pull --signature-policy ${TESTSDIR}/policy.json oci:${TESTDIR}/tmp/busybox_enc
189-
expect_output --substring "Error decrypting layer .* missing private key needed for decryption"
189+
expect_output --substring "decrypting layer .* missing private key needed for decryption"
190190

191191
# Try to pull encrypted image with wrong key should fail
192192
run_buildah 125 pull --signature-policy ${TESTSDIR}/policy.json --decryption-key ${TESTDIR}/tmp/mykey2.pem oci:${TESTDIR}/tmp/busybox_enc
193-
expect_output --substring "Error decrypting layer .* no suitable key unwrapper found or none of the private keys could be used for decryption"
193+
expect_output --substring "decrypting layer .* no suitable key unwrapper found or none of the private keys could be used for decryption"
194194

195195
# Providing the right key should succeed
196196
run_buildah pull --signature-policy ${TESTSDIR}/policy.json --decryption-key ${TESTDIR}/tmp/mykey.pem oci:${TESTDIR}/tmp/busybox_enc
@@ -208,11 +208,11 @@ load helpers
208208

209209
# Try to pull encrypted image without key should fail
210210
run_buildah 125 pull --signature-policy ${TESTSDIR}/policy.json --tls-verify=false --creds testuser:testpassword docker://localhost:5000/buildah/busybox_encrypted:latest
211-
expect_output --substring "Error decrypting layer .* missing private key needed for decryption"
211+
expect_output --substring "decrypting layer .* missing private key needed for decryption"
212212

213213
# Try to pull encrypted image with wrong key should fail, with diff. msg
214214
run_buildah 125 pull --signature-policy ${TESTSDIR}/policy.json --tls-verify=false --creds testuser:testpassword --decryption-key ${TESTDIR}/tmp/mykey2.pem docker://localhost:5000/buildah/busybox_encrypted:latest
215-
expect_output --substring "Error decrypting layer .* no suitable key unwrapper found or none of the private keys could be used for decryption"
215+
expect_output --substring "decrypting layer .* no suitable key unwrapper found or none of the private keys could be used for decryption"
216216

217217
# Providing the right key should succeed
218218
run_buildah pull --signature-policy ${TESTSDIR}/policy.json --tls-verify=false --creds testuser:testpassword --decryption-key ${TESTDIR}/tmp/mykey.pem docker://localhost:5000/buildah/busybox_encrypted:latest
@@ -234,11 +234,11 @@ load helpers
234234

235235
# Try to pull encrypted image without key should fail
236236
run_buildah 125 pull --signature-policy ${TESTSDIR}/policy.json --tls-verify=false --creds testuser:testpassword docker://localhost:5000/buildah/busybox_encrypted:latest
237-
expect_output --substring "Error decrypting layer .* missing private key needed for decryption"
237+
expect_output --substring "decrypting layer .* missing private key needed for decryption"
238238

239239
# Try to pull encrypted image with wrong key should fail
240240
run_buildah 125 pull --signature-policy ${TESTSDIR}/policy.json --tls-verify=false --creds testuser:testpassword --decryption-key ${TESTDIR}/tmp/mykey2.pem docker://localhost:5000/buildah/busybox_encrypted:latest
241-
expect_output --substring "Error decrypting layer .* no suitable key unwrapper found or none of the private keys could be used for decryption"
241+
expect_output --substring "decrypting layer .* no suitable key unwrapper found or none of the private keys could be used for decryption"
242242

243243
# Providing the right key should succeed
244244
run_buildah pull --signature-policy ${TESTSDIR}/policy.json --tls-verify=false --creds testuser:testpassword --decryption-key ${TESTDIR}/tmp/mykey.pem docker://localhost:5000/buildah/busybox_encrypted:latest

0 commit comments

Comments
 (0)