Skip to content

CA-430005: Should not check non-trusted certificates for duplication#7188

Merged
minglumlu merged 1 commit into
xapi-project:masterfrom
minglumlu:private/mingl/CA-430005
Jul 24, 2026
Merged

CA-430005: Should not check non-trusted certificates for duplication#7188
minglumlu merged 1 commit into
xapi-project:masterfrom
minglumlu:private/mingl/CA-430005

Conversation

@minglumlu

Copy link
Copy Markdown
Member

The duplication check should be applied to trusted certificates only.

The duplication check should be applied to trusted certificates only.

Signed-off-by: Ming Lu <ming.lu@cloud.com>
And (type', fingerprint_sha256)
in
Db.Certificate.get_records_where ~__context ~expr
|> List.filter (fun (_, cert_rec) -> cert_rec.API.certificate_name = "")

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line is removed. Is it intentional?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. All trusted certificates are of name = "".

@minglumlu
minglumlu force-pushed the private/mingl/CA-430005 branch from b38529b to eb746b7 Compare July 22, 2026 07:02
@minglumlu
minglumlu added this pull request to the merge queue Jul 24, 2026
Merged via the queue into xapi-project:master with commit 4b9b9aa Jul 24, 2026
18 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants