[Mono-bugs] [Bug 52084][Maj] Changed - SignedXml.CheckSignature() throws 'System.Security.Cryptography.CryptographicUnexpectedOperationException: missing key'

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sun, 14 Dec 2003 12:30:55 -0500 (EST)


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 spouliot@videotron.ca.

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

--- shadow/52084	2003-12-14 11:04:46.000000000 -0500
+++ shadow/52084.tmp.18857	2003-12-14 12:30:55.000000000 -0500
@@ -1,13 +1,13 @@
 Bug#: 52084
 Product: Mono/Class Libraries
 Version: unspecified
 OS: Suse 8.2
 OS Details: 
-Status: ASSIGNED   
-Resolution: 
+Status: RESOLVED   
+Resolution: FIXED
 Severity: Unknown
 Priority: Major
 Component: System
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: mlasky@novell.com               
 QAContact: mono-bugs@ximian.com
@@ -191,6 +191,17 @@
 Id="MyObjectId"
 xmlns="http://www.w3.org/2000/09/xmldsig#"><ObjectListTag xmlns=""
 /></Object></Signature>
 
 ------- Additional Comments From spouliot@videotron.ca  2003-12-14 11:04 -------
 Ok - I'm able to reproduce the bug. Let's find that missing key!
+
+------- Additional Comments From spouliot@videotron.ca  2003-12-14 12:30 -------
+Fixed in CVS (2 different bugs).
+
+1. The Key wasn't set at verification time. That one is really 
+strange. Probably introduced when I started using CryptoConfig ?!?
+
+2. The GetIdElement was only working for ID defined in a DTD or XSD. 
+If not it now checks with an XPath expression to find the xml 
+element (thanks to eno and w3schools)
+