Skip to content

Commit 4bc7ace

Browse files
Merge pull request #2 from retailnext/dependabot/go_modules/golang.org/x/crypto-0.47.0
Bump golang.org/x/crypto from 0.45.0 to 0.47.0
2 parents 5439ad7 + 3167922 commit 4bc7ace

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ require (
88
github.com/google/go-cmp v0.7.0
99
github.com/mattermost/xml-roundtrip-validator v0.1.0
1010
github.com/russellhaering/goxmldsig v1.5.0
11-
golang.org/x/crypto v0.45.0
11+
golang.org/x/crypto v0.47.0
1212
gotest.tools v2.2.0+incompatible
1313
)
1414

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+
2121
github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
2222
github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA=
2323
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
24-
golang.org/x/crypto v0.45.0 h1:jMBrvKuj23MTlT0bQEOBcAE0mjg8mK9RXFhRH6nyF3Q=
25-
golang.org/x/crypto v0.45.0/go.mod h1:XTGrrkGJve7CYK7J8PEww4aY7gM3qMCElcJQ8n8JdX4=
24+
golang.org/x/crypto v0.47.0 h1:V6e3FRj+n4dbpw86FJ8Fv7XVOql7TEwpHapKoMJ/GO8=
25+
golang.org/x/crypto v0.47.0/go.mod h1:ff3Y9VzzKbwSSEzWqJsJVBnWmRwRSHt/6Op5n9bQc4A=
2626
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
2727
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
2828
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=

service_provider_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1433,8 +1433,8 @@ func TestXswPermutationSevenIsRejected(t *testing.T) {
14331433
req.PostForm.Set("SAMLResponse", string(respStr))
14341434
_, err = s.ParseResponse(&req, []string{"ONELOGIN_4fee3b046395c4e751011e97f8900b5273d56685"})
14351435
// It's the assertion signature that can't be verified. The error message is generic and always mentions Response
1436-
assert.Check(t, is.Error(err.(*InvalidResponseError).PrivateErr,
1437-
"cannot validate signature on Assertion: Signature could not be verified"))
1436+
assert.Check(t, is.ErrorContains(err.(*InvalidResponseError).PrivateErr,
1437+
"cannot validate signature on Assertion:"))
14381438
}
14391439

14401440
func TestXswPermutationEightIsRejected(t *testing.T) {
@@ -1464,8 +1464,8 @@ func TestXswPermutationEightIsRejected(t *testing.T) {
14641464
req.PostForm.Set("SAMLResponse", string(respStr))
14651465
_, err = s.ParseResponse(&req, []string{"ONELOGIN_4fee3b046395c4e751011e97f8900b5273d56685"})
14661466
// It's the assertion signature that can't be verified. The error message is generic and always mentions Response
1467-
assert.Check(t, is.Error(err.(*InvalidResponseError).PrivateErr,
1468-
"cannot validate signature on Assertion: Signature could not be verified"))
1467+
assert.Check(t, is.ErrorContains(err.(*InvalidResponseError).PrivateErr,
1468+
"cannot validate signature on Assertion:"))
14691469
}
14701470

14711471
func TestXswPermutationNineIsRejected(t *testing.T) {

0 commit comments

Comments
 (0)