diff --git a/pkg/chains/signing.go b/pkg/chains/signing.go index d6c172eacc..6a28b5e349 100644 --- a/pkg/chains/signing.go +++ b/pkg/chains/signing.go @@ -155,7 +155,7 @@ func (o *ObjectSigner) Sign(ctx context.Context, tektonObj objects.TektonObject) } if payloader.Wrap() { - wrapped, err := signing.Wrap(ctx, signer) + wrapped, err := signing.Wrap(signer) if err != nil { return err } diff --git a/pkg/chains/signing/wrap.go b/pkg/chains/signing/wrap.go index a8e19b9c5c..ee032b1321 100644 --- a/pkg/chains/signing/wrap.go +++ b/pkg/chains/signing/wrap.go @@ -28,7 +28,7 @@ import ( "golang.org/x/crypto/ssh" ) -func Wrap(ctx context.Context, s Signer) (Signer, error) { +func Wrap(s Signer) (Signer, error) { pub, err := s.PublicKey() if err != nil { return nil, err