Skip to content
This repository has been archived by the owner on Nov 20, 2021. It is now read-only.

Update Signatures function. #7

Open
youssefazrak opened this issue Jun 14, 2021 · 0 comments
Open

Update Signatures function. #7

youssefazrak opened this issue Jun 14, 2021 · 0 comments

Comments

@youssefazrak
Copy link
Contributor

youssefazrak commented Jun 14, 2021

I'm having an issue compiling cosigned using cosign 0.4 or 0.5.
Changes are happening here: https://github.com/sigstore/cosign/blob/main/pkg/cosign/verify.go#L153
Those are leading to the error below in https://github.com/dlorenc/cosigned/blob/main/pkg/cosigned/cosigned.go#L27:

pkg/cosigned/cosigned.go:27:22: not enough arguments in call to cosign.Verify
        have (context.Context, name.Reference, cosign.CheckOpts)
        want (context.Context, name.Reference, *cosign.CheckOpts, string)
pkg/cosigned/cosigned.go:29:3: cannot use key (type *ecdsa.PublicKey) as type cosign.PublicKey in field value:
        *ecdsa.PublicKey does not implement cosign.PublicKey (missing PublicKey method)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant