[Mono-bugs] [Bug 81592][Wis] New - TlsClientCertificateVerify doesn't work with non exportable RSA
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Fri May 11 04:48:12 EDT 2007
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 bugzilla at woy.nl.
http://bugzilla.ximian.com/show_bug.cgi?id=81592
--- shadow/81592 2007-05-11 04:48:11.000000000 -0400
+++ shadow/81592.tmp.20605 2007-05-11 04:48:11.000000000 -0400
@@ -0,0 +1,34 @@
+Bug#: 81592
+Product: Mono: Class Libraries
+Version: 1.2
+OS: other
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: System.Security
+AssignedTo: sebastien at ximian.com
+ReportedBy: bugzilla at woy.nl
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: TlsClientCertificateVerify doesn't work with non exportable RSA
+
+The TtlCertificateVerify doesn't work with non exportabel RSA
+implementations.
+
+For creating the signature the Private key is exported from the RSA and
+imported in an RSAManaged class to create the signature. This is done
+because the RSACryptoServiceProvider throws an NotImplementedException on
+DecryptValue
+
+The RSA class i'm suplying uses a Encypher box. So the private key is not
+exportable.
+
+Other classes then the RSACryptoServiceProvider are likely to implement
+the DecryptValue method. I created a patch that tries to use the
+CreateSignature method of the RSA if it is not a RSACryptoServiceProvider.
+If it is an RSACryptoServiceProvider or the CreateSignature throws an
+NotImplementedException the old way is still done.
More information about the mono-bugs
mailing list