diff --git a/authority/authority_test.go b/authority/authority_test.go index 3787dab7..a39dca8e 100644 --- a/authority/authority_test.go +++ b/authority/authority_test.go @@ -113,7 +113,7 @@ func TestAuthorityNew(t *testing.T) { c.Root = []string{"foo"} return &newTest{ config: c, - err: errors.New("error reading foo: no such file or directory"), + err: errors.New(`error reading "foo": no such file or directory`), } }, "fail bad password": func(t *testing.T) *newTest { @@ -131,7 +131,7 @@ func TestAuthorityNew(t *testing.T) { c.IntermediateCert = "wrong" return &newTest{ config: c, - err: errors.New("error reading wrong: no such file or directory"), + err: errors.New(`error reading "wrong": no such file or directory`), } }, } diff --git a/go.mod b/go.mod index 831cfad0..a917f8a3 100644 --- a/go.mod +++ b/go.mod @@ -33,7 +33,7 @@ require ( github.com/stretchr/testify v1.9.0 github.com/urfave/cli v1.22.15 go.step.sm/cli-utils v0.9.0 - go.step.sm/crypto v0.44.6 + go.step.sm/crypto v0.44.8 go.step.sm/linkedca v0.20.1 golang.org/x/crypto v0.22.0 golang.org/x/exp v0.0.0-20240318143956-a85f2c67cd81 diff --git a/go.sum b/go.sum index e30125e2..5fd9edce 100644 --- a/go.sum +++ b/go.sum @@ -504,8 +504,8 @@ go.opentelemetry.io/otel/trace v1.24.0 h1:CsKnnL4dUAr/0llH9FKuc698G04IrpWV0MQA/Y go.opentelemetry.io/otel/trace v1.24.0/go.mod h1:HPc3Xr/cOApsBI154IU0OI0HJexz+aw5uPdbs3UCjNU= go.step.sm/cli-utils v0.9.0 h1:55jYcsQbnArNqepZyAwcato6Zy2MoZDRkWW+jF+aPfQ= go.step.sm/cli-utils v0.9.0/go.mod h1:Y/CRoWl1FVR9j+7PnAewufAwKmBOTzR6l9+7EYGAnp8= -go.step.sm/crypto v0.44.6 h1:vQg8ujce7fNXDO8EWdriSz+ZSJpYnNh22QrFtRjdyoY= -go.step.sm/crypto v0.44.6/go.mod h1:oKRO4jaf2MaCohJDN+/8ShImkvIgUKfJxxy87gqsnXs= +go.step.sm/crypto v0.44.8 h1:jDSHL6FdB1UTA0d56ECNx9XtLVkewzeg38Vy3HWB3N8= +go.step.sm/crypto v0.44.8/go.mod h1:QEmu4T9YewrDuaJnrV1I0zWZ15aJ/mqRUfL5w3R2WgU= go.step.sm/linkedca v0.20.1 h1:bHDn1+UG1NgRrERkWbbCiAIvv4lD5NOFaswPDTyO5vU= go.step.sm/linkedca v0.20.1/go.mod h1:Vaq4+Umtjh7DLFI1KuIxeo598vfBzgSYZUjgVJ7Syxw= go.uber.org/atomic v1.3.2/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE=