Skip to content

Commit 2b6e8a6

Browse files
authored
Merge pull request #290 from sylabs/dependabot/go_modules/main/github.com/secure-systems-lab/go-securesystemslib-0.6.0
build(deps): bump github.com/secure-systems-lab/go-securesystemslib from 0.5.0 to 0.6.0
2 parents 13b9a24 + 3cbab87 commit 2b6e8a6

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ require (
66
github.com/ProtonMail/go-crypto v0.0.0-20230217124315-7d5c6f04bbb8
77
github.com/google/uuid v1.3.0
88
github.com/sebdah/goldie/v2 v2.5.3
9-
github.com/secure-systems-lab/go-securesystemslib v0.5.0
9+
github.com/secure-systems-lab/go-securesystemslib v0.6.0
1010
github.com/sigstore/sigstore v1.6.3
1111
github.com/spf13/cobra v1.7.0
1212
github.com/spf13/pflag v1.0.5

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ github.com/prometheus/procfs v0.8.0 h1:ODq8ZFEaYeCaZOJlZZdJA2AbQR98dSHSM1KW/You5
4949
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
5050
github.com/sebdah/goldie/v2 v2.5.3 h1:9ES/mNN+HNUbNWpVAlrzuZ7jE+Nrczbj8uFRjM7624Y=
5151
github.com/sebdah/goldie/v2 v2.5.3/go.mod h1:oZ9fp0+se1eapSRjfYbsV/0Hqhbuu3bJVvKI/NNtssI=
52-
github.com/secure-systems-lab/go-securesystemslib v0.5.0 h1:oTiNu0QnulMQgN/hLK124wJD/r2f9ZhIUuKIeBsCBT8=
53-
github.com/secure-systems-lab/go-securesystemslib v0.5.0/go.mod h1:uoCqUC0Ap7jrBSEanxT+SdACYJTVplRXWLkGMuDjXqk=
52+
github.com/secure-systems-lab/go-securesystemslib v0.6.0 h1:T65atpAVCJQK14UA57LMdZGpHi4QYSH/9FZyNGqMYIA=
53+
github.com/secure-systems-lab/go-securesystemslib v0.6.0/go.mod h1:8Mtpo9JKks/qhPG4HGZ2LGMvrPbzuxwfz/f/zLfEWkk=
5454
github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo=
5555
github.com/sergi/go-diff v1.2.0 h1:XU+rvMAioB0UC3q1MFrIQy4Vo5/4VsRDQQXHsEya6xQ=
5656
github.com/sergi/go-diff v1.2.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM=

pkg/integrity/dsse.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ func newDSSEEncoder(ss []signature.Signer, opts ...signature.SignOption) (*dsseE
4141
opts = append(opts, options.WithCryptoSignerOpts(so))
4242
}
4343

44-
dss := make([]dsse.SignVerifier, 0, len(ss))
44+
dss := make([]dsse.SignerVerifier, 0, len(ss))
4545
for _, s := range ss {
4646
ds, err := newDSSESigner(s, opts...)
4747
if err != nil {
@@ -141,7 +141,7 @@ type dsseSigner struct {
141141
pub crypto.PublicKey
142142
}
143143

144-
// newDSSESigner returns a dsse.SignVerifier that uses s to sign according to opts. Note that the
144+
// newDSSESigner returns a dsse.SignerVerifier that uses s to sign according to opts. Note that the
145145
// returned value is suitable only for signing, and not verification.
146146
func newDSSESigner(s signature.Signer, opts ...signature.SignOption) (*dsseSigner, error) {
147147
pub, err := s.PublicKey()
@@ -166,7 +166,7 @@ func (s *dsseSigner) Sign(ctx context.Context, data []byte) ([]byte, error) {
166166

167167
var errSignNotImplemented = errors.New("sign not implemented")
168168

169-
// Verify is not implemented, but required for the dsse.SignVerifier interface.
169+
// Verify is not implemented, but required for the dsse.SignerVerifier interface.
170170
func (s *dsseSigner) Verify(_ context.Context, _, _ []byte) error {
171171
return errSignNotImplemented
172172
}

0 commit comments

Comments
 (0)