diff --git a/Godeps/Godeps.json b/Godeps/Godeps.json index 2dca12bdf5..bb89f04816 100644 --- a/Godeps/Godeps.json +++ b/Godeps/Godeps.json @@ -63,7 +63,7 @@ }, { "ImportPath": "github.com/endophage/gotuf", - "Rev": "a0303e9689b5bf4cccb92b5ebb172f23159fcfbb" + "Rev": "5be7693587dc2f3c6b35fd1394fcc4e098b4f643" }, { "ImportPath": "github.com/go-sql-driver/mysql", diff --git a/Godeps/_workspace/src/github.com/endophage/gotuf/signed/sign.go b/Godeps/_workspace/src/github.com/endophage/gotuf/signed/sign.go index 7e833147e3..8bab441009 100644 --- a/Godeps/_workspace/src/github.com/endophage/gotuf/signed/sign.go +++ b/Godeps/_workspace/src/github.com/endophage/gotuf/signed/sign.go @@ -1,10 +1,11 @@ package signed import ( + "fmt" "github.com/Sirupsen/logrus" "github.com/endophage/gotuf/data" "github.com/endophage/gotuf/errors" - "fmt" + "strings" ) // Sign takes a data.Signed and a key, calculated and adds the signature @@ -19,7 +20,7 @@ func Sign(service CryptoService, s *data.Signed, keys ...data.PublicKey) error { keyIDMemb[key.ID()] = struct{}{} keyIDs = append(keyIDs, key.ID()) } - logrus.Debugf("Generated list of signing IDs: %v", keyIDs) + logrus.Debugf("Generated list of signing IDs: %s", strings.Join(keyIDs, ", ")) for _, sig := range s.Signatures { if _, ok := keyIDMemb[sig.KeyID]; ok { continue @@ -32,7 +33,7 @@ func Sign(service CryptoService, s *data.Signed, keys ...data.PublicKey) error { } if len(newSigs) < 1 { return errors.ErrInsufficientSignatures{ - Name: fmt.Sprint("Cryptoservice failed to produce any signatures for keys %v", keyIDs), + Name: fmt.Sprint("Cryptoservice failed to produce any signatures for keys with IDs: %s", strings.Join(keyIDs, ", ")), Err: nil, } }