Skip to content

Commit

Permalink
Add another unimplemented mock for pivkey. (#283)
Browse files Browse the repository at this point in the history
We should add a test for this during the container tests.

Signed-off-by: Dan Lorenc <dlorenc@google.com>
  • Loading branch information
dlorenc authored Apr 28, 2021
1 parent 037ff74 commit cd13a3c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/cosign/pivkey/disabled.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,7 @@ func (ps *PIVSigner) PublicKey(context.Context) (crypto.PublicKey, error) {
}

var _ signature.Signer = &PIVSigner{}

func NewSignerVerifier() (signature.SignerVerifier, error) {
return nil, errors.New("unimplemented")
}

0 comments on commit cd13a3c

Please sign in to comment.