[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
Thu, 11 Dec 2003 23:32:18 -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 gonzalo@ximian.com.

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

--- shadow/52084	2003-12-11 22:52:06.000000000 -0500
+++ shadow/52084.tmp.24421	2003-12-11 23:32:18.000000000 -0500
@@ -1,12 +1,12 @@
 Bug#: 52084
 Product: Mono/Class Libraries
 Version: unspecified
 OS: Suse 8.2
 OS Details: 
-Status: NEEDINFO   
+Status: REOPENED   
 Resolution: 
 Severity: Unknown
 Priority: Major
 Component: System
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: mlasky@novell.com               
@@ -172,6 +172,22 @@
 
 Can you try to print your xml document just before :
 signedXml.LoadXml( signedDoc.DocumentElement );
 
 with something like:
 Console.WriteLine (signedDoc.DocumentElement.OuterXml);
+
+------- Additional Comments From gonzalo@ximian.com  2003-12-11 23:32 -------
+Fails for me with current CVS on linux.
+The outer xml is:
+<Signature
+xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod
+Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"
+/><SignatureMethod
+Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference
+URI="#MyObjectId"><DigestMethod
+Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"
+/><DigestValue>CTnnhjxUQHJmD+t1MjVXrOW+MCA=</DigestValue></Reference></SignedInfo><SignatureValue>ieJlKTdcbgQKsuxpWJs8CagkRzBhbAhQyYUZ8Hv9a5u1+sN4E2PIf8RigyZqS57b+06RRGQQ+SdN4GCzNqLPjK9N7I8pNVCyczvvT8B4xs9n400pLgj2KNLibrQhXB43iLn0RMYToKwvKroYZKofh+ZT1QVPVTEce7tdo1qeWo8=</SignatureValue><KeyInfo><KeyValue
+xmlns="http://www.w3.org/2000/09/xmldsig#"><RSAKeyValue><Modulus>jISPIJcD7DCvE4FXR7apKzWXgCxImsLEm4Yzw5aOwht51JRqxgcZElq1GHKHAZviuFG6GghaGgVdbCvl2+pAbXSeRtdrF016N72bm81x4PVTvStxJXZwka84tS5JLCMT0nZCh4qNLafSneBx93Gtwj8EUMtGhkVNxr/vJ4it6mE=</Modulus><Exponent>EQ==</Exponent></RSAKeyValue></KeyValue></KeyInfo><Object
+Id="MyObjectId"
+xmlns="http://www.w3.org/2000/09/xmldsig#"><ObjectListTag xmlns=""
+/></Object></Signature>