From d274e32a9c04532859a1212eb4e4e64101acbb5d Mon Sep 17 00:00:00 2001 From: andreas hilti <69210561+andreas-hilti@users.noreply.github.com> Date: Sun, 10 Nov 2024 18:44:49 +0100 Subject: [PATCH] Fix verification of signature with namespace prefix Signed-off-by: andreas hilti <69210561+andreas-hilti@users.noreply.github.com> --- src/cyclonedx/Commands/Verify/VerifyAllCommand.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cyclonedx/Commands/Verify/VerifyAllCommand.cs b/src/cyclonedx/Commands/Verify/VerifyAllCommand.cs index efb83f5..ce90d6e 100644 --- a/src/cyclonedx/Commands/Verify/VerifyAllCommand.cs +++ b/src/cyclonedx/Commands/Verify/VerifyAllCommand.cs @@ -58,7 +58,7 @@ public static async Task VerifyAll(VerifyAllCommandOptions options) bom.Load(options.BomFile); Console.WriteLine("Reading signatures..."); - var signatures = bom.GetElementsByTagName("Signature"); + var signatures = bom.GetElementsByTagName("Signature", "http://www.w3.org/2000/09/xmldsig#"); if (signatures.Count == 0) {