Skip to content

Commit c6729a6

Browse files
chore: update go-cose to v1.2.1
Signed-off-by: Thomas Fossati <[email protected]>
1 parent 56b2e62 commit c6729a6

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

evidence_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ func TestEvidence_sign_and_verify_alg_mismatch(t *testing.T) {
313313
var pk crypto.PublicKey
314314

315315
err = EvidenceOut.Verify(pk)
316-
assert.EqualError(t, err, "unable to instantiate verifier: ES256: algorithm mismatch")
316+
assert.EqualError(t, err, "unable to instantiate verifier: ES256: invalid public key")
317317
}
318318

319319
func TestEvidence_SignUnvalidated(t *testing.T) {

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ require (
77
github.com/lestrrat-go/jwx/v2 v2.0.8
88
github.com/stretchr/testify v1.8.1
99
github.com/veraison/eat v0.0.0-20210331113810-3da8a4dd42ff
10-
github.com/veraison/go-cose v1.0.0-rc.1
10+
github.com/veraison/go-cose v1.2.1
1111
)
1212

1313
require (

go.sum

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ github.com/stretchr/testify v1.8.1 h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKs
4040
github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
4141
github.com/veraison/eat v0.0.0-20210331113810-3da8a4dd42ff h1:r6I2eJL/z8dp5flsQIKHMeDjyV6UO8If3MaVBLvTjF4=
4242
github.com/veraison/eat v0.0.0-20210331113810-3da8a4dd42ff/go.mod h1:+kxt8iuFiVvKRs2VQ1Ho7bbAScXAB/kHFFuP5Biw19I=
43-
github.com/veraison/go-cose v1.0.0-rc.1 h1:4qA7dbFJGvt7gcqv5MCIyCQvN+NpHFPkW7do3EeDLb8=
44-
github.com/veraison/go-cose v1.0.0-rc.1/go.mod h1:7ziE85vSq4ScFTg6wyoMXjucIGOf4JkFEZi/an96Ct4=
43+
github.com/veraison/go-cose v1.2.1 h1:Gj4x20D0YP79J2+cK3anjGEMwIkg2xX+TKVVGUXwNAc=
44+
github.com/veraison/go-cose v1.2.1/go.mod h1:t6V8WJzHm1PD5HNsuDjW3KLv577uWb6UTzbZGvdQHD8=
4545
github.com/x448/float16 v0.8.4 h1:qLwI1I70+NjRFUR3zs1JPUCgaCXSh3SW62uAKT1mSBM=
4646
github.com/x448/float16 v0.8.4/go.mod h1:14CWIYCyZA/cWjXOioeEpHeN/83MdbZDRQHoFcYsOfg=
4747
golang.org/x/crypto v0.0.0-20220427172511-eb4f295cb31f h1:OeJjE6G4dgCY4PIXvIRQbE8+RX+uXZyGhUy/ksMGJoc=

0 commit comments

Comments
 (0)