Skip to content

Commit

Permalink
Add another unimplemented mock for pivkey.
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
Dan Lorenc committed Apr 28, 2021
1 parent 037ff74 commit 5ec0476
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 5ec0476

Please sign in to comment.