Skip to content

Commit

Permalink
use hashed rekord type for tlog upload
Browse files Browse the repository at this point in the history
Signed-off-by: Asra Ali <[email protected]>
  • Loading branch information
asraa committed Nov 19, 2021
1 parent f8f0f6d commit 0ec8475
Show file tree
Hide file tree
Showing 5 changed files with 116 additions and 15 deletions.
1 change: 0 additions & 1 deletion cmd/cosign/cli/sign/sign.go
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,6 @@ func signDigest(ctx context.Context, digest name.Digest, payload []byte, ko KeyO
return errors.Wrap(err, "payload")
}
}

signature, err := sv.SignMessage(bytes.NewReader(payload), signatureoptions.WithContext(ctx))
if err != nil {
return errors.Wrap(err, "signing")
Expand Down
6 changes: 4 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ require (
github.com/spf13/cobra v1.2.1
github.com/stretchr/testify v1.7.0
github.com/tent/canonical-json-go v0.0.0-20130607151641-96e4ba3a7613
github.com/theupdateframework/go-tuf v0.0.0-20210722233521-90e262754396
github.com/theupdateframework/go-tuf v0.0.0-20211006142131-1dc15a86c64d
github.com/xanzy/go-gitlab v0.52.0
golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211
Expand All @@ -46,7 +46,7 @@ require (
github.com/mattn/go-runewidth v0.0.13 // indirect
github.com/onsi/gomega v1.16.0 // indirect
github.com/prometheus/procfs v0.7.3 // indirect
github.com/spf13/viper v1.8.1
github.com/spf13/viper v1.9.0
github.com/urfave/cli v1.22.5 // indirect
go.opentelemetry.io/contrib v1.1.0 // indirect
go.opentelemetry.io/proto/otlp v0.10.0 // indirect
Expand All @@ -55,3 +55,5 @@ require (
k8s.io/klog/v2 v2.20.0 // indirect
k8s.io/utils v0.0.0-20210930125809-cb0fa318a74b // indirect
)

replace github.com/sigstore/rekor => github.com/sigstore/rekor v0.3.1-0.20211119021052-57b3fef494e0
Loading

0 comments on commit 0ec8475

Please sign in to comment.