[Mono-bugs] [Bug 77342][Wis] Changed - Error loading PKCS#12 with no password

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Jan 24 21:38:30 EST 2006

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 sebastien at ximian.com.


--- shadow/77342	2006-01-24 11:32:52.000000000 -0500
+++ shadow/77342.tmp.26508	2006-01-24 21:38:30.000000000 -0500
@@ -1,12 +1,12 @@
 Bug#: 77342
 Product: Mono: Class Libraries
 Version: 1.1
 OS: unknown
 OS Details: 
-Status: REOPENED   
+Status: ASSIGNED   
 Severity: Unknown
 Priority: Wishlist
 Component: Mono.Security
 AssignedTo: sebastien at ximian.com                            
 ReportedBy: khe at kmd.dk               
@@ -87,6 +87,28 @@
 framework) and binary compatibility.
 Could you tell me the Mono release (or date) of the working assembly ?
 This will help to find the changes that broke this.
+------- Additional Comments From sebastien at ximian.com  2006-01-24 21:38 -------
+Kim, there are 2 separate problems.
+First, you must use the LoadFromFile(string) or LoadFromFile(string,
+null) if you do not have a password - i.e. String.Empty doesn't work.
+Not sure when this got broken but I'll fix that ASAP (and add a test
+case for it).
+Second, I cannot duplicate the decoding error you have using
+LoadFromFile(string). My "best" guess is that the PKCS#12 structure
+contains something not supported by Mono (see bug #75892 for possible
+details) - but strangely you report that it was working with earlier
+Mono release so I'm confused.
+Along with the information I asked earlier could you tell me how was
+generated the PKCS#12 file ? (i.e. which tool/options)
+Also would it be possible to attach it (or a similar one) to this bug
+report ?

More information about the mono-bugs mailing list