Skip to content

Commit 4853c27

Browse files
fix: verification of signature with namespace prefix (#413)
Closes: #412 Signed-off-by: andreas hilti <[email protected]>
1 parent 6c0e6c8 commit 4853c27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cyclonedx/Commands/Verify/VerifyAllCommand.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public static async Task<int> VerifyAll(VerifyAllCommandOptions options)
5858
bom.Load(options.BomFile);
5959

6060
Console.WriteLine("Reading signatures...");
61-
var signatures = bom.GetElementsByTagName("Signature");
61+
var signatures = bom.GetElementsByTagName("Signature", "http://www.w3.org/2000/09/xmldsig#");
6262

6363
if (signatures.Count == 0)
6464
{

0 commit comments

Comments
 (0)