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
*conditions.FalseCondition(sourcev1.SourceVerifiedCondition, sourcev1.VerificationError, "failed to verify the signature using provider '<provider>': no matching signatures were found for '<url>'"),
1061
1063
},
1062
1064
},
1065
+
{
1066
+
name: "unsigned image should not pass keyless verification",
1067
+
reference: &sourcev1.OCIRepositoryRef{
1068
+
Tag: "6.1.5",
1069
+
},
1070
+
digest: img5.digest.Hex,
1071
+
wantErr: true,
1072
+
want: sreconcile.ResultEmpty,
1073
+
keyless: true,
1074
+
assertConditions: []metav1.Condition{
1075
+
*conditions.TrueCondition(meta.ReconcilingCondition, "NewRevision", "new digest '<digest>' for '<url>'"),
1076
+
*conditions.TrueCondition(sourcev1.ArtifactOutdatedCondition, "NewRevision", "new digest '<digest>' for '<url>'"),
1077
+
*conditions.FalseCondition(sourcev1.SourceVerifiedCondition, sourcev1.VerificationError, "failed to verify the signature using provider '<provider> keyless': no matching signatures"),
1078
+
},
1079
+
},
1080
+
{
1081
+
name: "verify failed before, removed from spec, remove condition",
0 commit comments