You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// See https://github.com/in-toto/in-toto/pull/251
79
-
ifval, ok:=usedKeyids[keyID]; ok {
80
-
fmt.Printf("Found envelope signed by different subkeys of the same main key, Only one of them is counted towards the step threshold, KeyID=%s\n", val)
87
+
if_, ok:=usedKeyids[keyID]; ok {
88
+
fmt.Printf("Found envelope signed by different subkeys of the same main key, Only one of them is counted towards the step threshold, KeyID=%s\n", keyID)
89
+
continue
81
90
}
82
91
83
92
usedKeyids[keyID] =""
@@ -114,3 +123,13 @@ func NewMultiEnvelopeVerifier(threshold int, p ...Verifier) (*envelopeVerifier,
0 commit comments