From ababb2805b52c7e86a34aa0b25aae07b5e2c7d42 Mon Sep 17 00:00:00 2001 From: Philip Laine Date: Thu, 29 Aug 2024 10:54:08 +0200 Subject: [PATCH] fix: remove use of pkg/errors Signed-off-by: Philip Laine --- src/pkg/utils/cosign.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pkg/utils/cosign.go b/src/pkg/utils/cosign.go index 1e129ffb5c..21bfc282bd 100644 --- a/src/pkg/utils/cosign.go +++ b/src/pkg/utils/cosign.go @@ -6,6 +6,7 @@ package utils import ( "context" + "errors" "fmt" "io" "strings" @@ -14,10 +15,6 @@ import ( "github.com/google/go-containerregistry/pkg/authn" "github.com/google/go-containerregistry/pkg/name" "github.com/google/go-containerregistry/pkg/v1/remote" - "github.com/pkg/errors" - "github.com/zarf-dev/zarf/src/config/lang" - "github.com/zarf-dev/zarf/src/pkg/message" - "github.com/sigstore/cosign/v2/cmd/cosign/cli/fulcio" "github.com/sigstore/cosign/v2/cmd/cosign/cli/options" "github.com/sigstore/cosign/v2/cmd/cosign/cli/sign" @@ -31,6 +28,9 @@ import ( _ "github.com/sigstore/sigstore/pkg/signature/kms/azure" _ "github.com/sigstore/sigstore/pkg/signature/kms/gcp" _ "github.com/sigstore/sigstore/pkg/signature/kms/hashivault" + + "github.com/zarf-dev/zarf/src/config/lang" + "github.com/zarf-dev/zarf/src/pkg/message" ) // Sget performs a cosign signature verification on a given image using the specified public key.