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.TrueCondition(meta.ReconcilingCondition, "NewRevision", "new digest '<digest>' for '<url>'"),
1044
1044
*conditions.TrueCondition(sourcev1.ArtifactOutdatedCondition, "NewRevision", "new digest '<digest>' for '<url>'"),
1045
-
*conditions.TrueCondition(sourcev1.SourceVerifiedCondition, meta.SucceededReason, "OCI image <url> with digest <digest> verified."),
1045
+
*conditions.TrueCondition(sourcev1.SourceVerifiedCondition, meta.SucceededReason, "verified signature of digest <digest>"),
1046
1046
},
1047
1047
},
1048
1048
{
1049
-
name: "not signed image should not pass verification",
1049
+
name: "unsigned image should not pass verification",
1050
1050
reference: &sourcev1.OCIRepositoryRef{
1051
1051
Tag: "6.1.5",
1052
1052
},
1053
1053
digest: img5.digest.Hex,
1054
1054
wantErr: true,
1055
-
wantErrMsg: "failed to verify OCI image signature '<url>' using provider 'cosign': no matching signatures were found for '<url>",
1055
+
wantErrMsg: "failed to verify the signature using provider 'cosign': no matching signatures were found for '<url>'",
1056
1056
want: sreconcile.ResultEmpty,
1057
1057
assertConditions: []metav1.Condition{
1058
1058
*conditions.TrueCondition(meta.ReconcilingCondition, "NewRevision", "new digest '<digest>' for '<url>'"),
1059
1059
*conditions.TrueCondition(sourcev1.ArtifactOutdatedCondition, "NewRevision", "new digest '<digest>' for '<url>'"),
1060
-
*conditions.FalseCondition(sourcev1.SourceVerifiedCondition, sourcev1.VerificationError, "failed to verify OCI image signature '<url>' using provider '<provider>': no matching signatures were found for '<url>'"),
1060
+
*conditions.FalseCondition(sourcev1.SourceVerifiedCondition, sourcev1.VerificationError, "failed to verify the signature using provider '<provider>': no matching signatures were found for '<url>'"),
0 commit comments