[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
Wed Jan 25 11:31:29 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 khe at kmd.dk.
http://bugzilla.ximian.com/show_bug.cgi?id=77342
--- shadow/77342 2006-01-25 11:11:28.000000000 -0500
+++ shadow/77342.tmp.2174 2006-01-25 11:31:29.000000000 -0500
@@ -188,6 +188,21 @@
Is it possible that you attached the wrong Mono.Security.dll file ?
To be 100% sure could you download your own attachment and repeat this
test ?
Thanks
+
+------- Additional Comments From khe at kmd.dk 2006-01-25 11:31 -------
+I downloaded the attached Mono.Security dll and tested again.
+PKCS12.LoadFromFile(filename, String.Empty);
+PKCS12.LoadFromFile(filename, "");
+...work fine.
+
+PKCS12.LoadFromFile(filename, null);
+PKCS12.LoadFromFile(filename);
+...fails with "Invalid MAC........"
+
+Really strange?
+But if you say that you in the latest builds has changed the PKCS12
+class so that it supports both empty strings and null as password, it
+should be fine (I hope).
More information about the mono-bugs
mailing list