diff --git a/cmd/run.go b/cmd/run.go index 2efbf4b1..81742dfe 100644 --- a/cmd/run.go +++ b/cmd/run.go @@ -27,7 +27,6 @@ import ( "github.com/in-toto/go-witness/attestation/material" "github.com/in-toto/go-witness/attestation/product" "github.com/in-toto/go-witness/cryptoutil" - "github.com/in-toto/go-witness/dsse" "github.com/in-toto/go-witness/log" "github.com/in-toto/go-witness/registry" "github.com/in-toto/go-witness/timestamp" @@ -75,7 +74,7 @@ func runRun(ctx context.Context, ro options.RunOptions, args []string, signers . return fmt.Errorf("failed to open out file: %w", err) } - timestampers := []dsse.Timestamper{} + timestampers := []timestamp.Timestamper{} for _, url := range ro.TimestampServers { timestampers = append(timestampers, timestamp.NewTimestamper(timestamp.TimestampWithUrl(url))) } diff --git a/cmd/sign.go b/cmd/sign.go index 4fc3e79e..d2e6b012 100644 --- a/cmd/sign.go +++ b/cmd/sign.go @@ -64,7 +64,7 @@ func runSign(ctx context.Context, so options.SignOptions, signers ...cryptoutil. return fmt.Errorf("no signers found") } - timestampers := []dsse.Timestamper{} + timestampers := []timestamp.Timestamper{} for _, url := range so.TimestampServers { timestampers = append(timestampers, timestamp.NewTimestamper(timestamp.TimestampWithUrl(url))) } diff --git a/go.sum b/go.sum index 9bfc6685..d09a1fd3 100644 --- a/go.sum +++ b/go.sum @@ -220,8 +220,6 @@ github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1: github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= github.com/in-toto/archivista v0.2.0 h1:FViuHMVVETborvOqlmSYdROY8RmX3CO0V0MOhU/Rl20= github.com/in-toto/archivista v0.2.0/go.mod h1:qt9uN4TkHWUgR5A2wxRqQIBizSl32P2nI2AjESskkr0= -github.com/in-toto/go-witness v0.2.1 h1:eAxMBWUPbz3oPU3lsfEYi/Kdj6weej2umm59bOXPJSU= -github.com/in-toto/go-witness v0.2.1/go.mod h1:xURJVj4QRD3xnzOJps7gT0pMCFPpAHcPqDC3EyuLuUE= github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 h1:BQSFePA1RWJOlocH6Fxy8MmwDt+yVQYULKfN0RoTN8A=