From 0368b9c16228b2f3da2574a981be0d6152cf0abd Mon Sep 17 00:00:00 2001 From: Thomas Fossati Date: Thu, 12 Sep 2024 18:33:34 +0200 Subject: [PATCH] chore(deps): update ccatoken to v1.3.1 Signed-off-by: Thomas Fossati --- cca/kat_test.go | 4 ++-- go.mod | 4 ++-- go.sum | 4 ++++ 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/cca/kat_test.go b/cca/kat_test.go index 7b695dc..e6a20d0 100644 --- a/cca/kat_test.go +++ b/cca/kat_test.go @@ -118,7 +118,7 @@ func TestKAT_FromCBOR_fail_bad_cnf(t *testing.T) { var actual KAT err := actual.FromCBOR(tv) - expectedErr := `KAT decoding failed: EC2 curve must be P-256, P-384, or P-521; found "X25519"` + expectedErr := `KAT decoding failed: invalid key` - assert.EqualError(t, err, expectedErr) + assert.ErrorContains(t, err, expectedErr) } diff --git a/go.mod b/go.mod index 85ffa02..b7a72f8 100644 --- a/go.mod +++ b/go.mod @@ -7,9 +7,9 @@ require ( github.com/google/go-tpm v0.3.3 github.com/lestrrat-go/jwx/v2 v2.0.8 github.com/stretchr/testify v1.8.4 - github.com/veraison/ccatoken v1.3.0 + github.com/veraison/ccatoken v1.3.1 github.com/veraison/eat v0.0.0-20220117140849-ddaf59d69f53 - github.com/veraison/go-cose v1.2.1 + github.com/veraison/go-cose v1.3.0-rc.1 github.com/veraison/swid v0.0.1-beta.6 ) diff --git a/go.sum b/go.sum index a2a7875..8a41f2c 100644 --- a/go.sum +++ b/go.sum @@ -149,10 +149,14 @@ github.com/ugorji/go v1.1.4/go.mod h1:uQMGLiO92mf5W77hV/PUCpI3pbzQx3CRekS0kk+RGr github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8/go.mod h1:VFNgLljTbGfSG7qAOspJ7OScBnGdDN/yBr0sguwnwf0= github.com/veraison/ccatoken v1.3.0 h1:2XWwqPQkWqXRu3ksmS6MQAGjWz4vtnEPBZxFxP8GA4A= github.com/veraison/ccatoken v1.3.0/go.mod h1:wJayl8O7PLm77BV+b/Vng28nGtNoFZVrixtcvLmjivc= +github.com/veraison/ccatoken v1.3.1 h1:zUHXr2mPprxMYv5Mm2mumxzQZ3I9wy7QGayXqa9Rv/E= +github.com/veraison/ccatoken v1.3.1/go.mod h1:vMqdbW4H/8A3oT+24qssuIK3Aefy06XqzTELGg+gWAg= github.com/veraison/eat v0.0.0-20220117140849-ddaf59d69f53 h1:5gnX2TrGd/Xz8DOp2OaLtg/jLoIubSUTrgz6iZ58pJ4= github.com/veraison/eat v0.0.0-20220117140849-ddaf59d69f53/go.mod h1:+kxt8iuFiVvKRs2VQ1Ho7bbAScXAB/kHFFuP5Biw19I= github.com/veraison/go-cose v1.2.1 h1:Gj4x20D0YP79J2+cK3anjGEMwIkg2xX+TKVVGUXwNAc= github.com/veraison/go-cose v1.2.1/go.mod h1:t6V8WJzHm1PD5HNsuDjW3KLv577uWb6UTzbZGvdQHD8= +github.com/veraison/go-cose v1.3.0-rc.1 h1:j7mMBdwkbq4c+pgEZVbbWG8UwVIgGHPp6+TAAYJj+UY= +github.com/veraison/go-cose v1.3.0-rc.1/go.mod h1:df09OV91aHoQWLmy1KsDdYiagtXgyAwAl8vFeFn1gMc= github.com/veraison/psatoken v1.2.1-0.20240719122628-26fe500fd5d4 h1:N7qg7vDF2mUg7I+8AoU+ieJ20cgcShwFHXHkV5b2YAA= github.com/veraison/psatoken v1.2.1-0.20240719122628-26fe500fd5d4/go.mod h1:6+WZzXr0ACXYiUAJJqTaCxW43gY2+gEaCoVNdDv3+Bw= github.com/veraison/swid v0.0.1-beta.6 h1:ysDyCOPwGyjiBnhAM+/kgTEcc/PWieIbUQJOjnSTK48=