diff --git a/cmd/root.go b/cmd/root.go index badf0b8a..b9ae47ed 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -21,7 +21,6 @@ import ( "github.com/in-toto/go-witness/log" _ "github.com/in-toto/go-witness/signer/kms/aws" _ "github.com/in-toto/go-witness/signer/kms/gcp" - _ "github.com/in-toto/go-witness/signer/kms/hashivault" "github.com/in-toto/witness/options" "github.com/spf13/cobra" ) diff --git a/cmd/verify.go b/cmd/verify.go index a7fdafba..4019eaf8 100644 --- a/cmd/verify.go +++ b/cmd/verify.go @@ -64,7 +64,6 @@ func runVerify(ctx context.Context, vo options.VerifyOptions, verifiers ...crypt return fmt.Errorf("must supply either a public key, CA certificates or a verifier") } - // NOTE: I think we can add multiple verifiers here if vo.KeyPath != "" { keyFile, err := os.Open(vo.KeyPath) if err != nil { diff --git a/go.mod b/go.mod index 23a3183d..83375e9d 100644 --- a/go.mod +++ b/go.mod @@ -4,14 +4,10 @@ go 1.21 toolchain go1.21.4 -replace github.com/in-toto/go-witness => ../go-witness - replace github.com/in-toto/go-witness/signer/kms/aws => ../go-witness/signer/kms/aws replace github.com/in-toto/go-witness/signer/kms/gcp => ../go-witness/signer/kms/gcp -replace github.com/in-toto/go-witness/signer/kms/hashivault => ../go-witness/signer/kms/hashivault - require ( github.com/in-toto/go-witness v0.2.2 github.com/in-toto/go-witness/signer/kms/aws v0.0.0-00010101000000-000000000000