[Mono-bugs] [Bug 59165][Maj] New - XML Signature verification fails when XML contains namespace declarations

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 27 May 2004 06:07:11 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by tim@cbcl.co.uk.

http://bugzilla.ximian.com/show_bug.cgi?id=59165

--- shadow/59165	2004-05-27 06:07:11.000000000 -0400
+++ shadow/59165.tmp.25408	2004-05-27 06:07:11.000000000 -0400
@@ -0,0 +1,60 @@
+Bug#: 59165
+Product: Mono: Class Libraries
+Version: unspecified
+OS: Debian Woody
+OS Details: linux 2.4.25-1-686 #3
+Status: NEW   
+Resolution: 
+Severity: 004 Four hours
+Priority: Major
+Component: Sys.XML
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: tim@cbcl.co.uk               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: XML Signature verification fails when XML contains namespace declarations
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+XML Signature verification fails when XML contains namespace declarations
+
+Steps to reproduce the problem:
+1. Compile Test.cs: mcs /r:System.Security.dll Test.cs
+2. Run: mono Test.exe
+
+Actual Results:
+Linux/Mono 1.0 Beta: program output:
+
+  unsaved document: signature verified
+  saved document: signature verified
+  unsaved document: signature failed to verify
+  saved document: signature verified
+  unsaved document: signature failed to verify
+  saved document: signature failed to verify
+
+Expected Results:
+Windows/.NET: program output
+
+  unsaved document: signature verified
+  saved document: signature verified
+  unsaved document: signature verified
+  saved document: signature verified
+  unsaved document: signature verified
+  saved document: signature verified
+
+How often does this happen? 
+
+Always
+
+Additional Information:
+
+IMPORTANT:  this test must be run after patching to fix bug
+http://bugzilla.ximian.com/show_bug.cgi?id=59155
+
+
+This program checks each signature twice.
+The first time it checks the signature as soon as it is created.
+The second time it saves and loads the signature before verifying it.