[Mono-bugs] [Bug 75779][Nor] New - Mono PKCS #12's with passwords longer than 31 bytes cannot be validated by Microsoft

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Aug 11 04:47:30 EDT 2005


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 dgranath at gmail.com.

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

--- shadow/75779	2005-08-11 04:47:30.000000000 -0400
+++ shadow/75779.tmp.21218	2005-08-11 04:47:30.000000000 -0400
@@ -0,0 +1,33 @@
+Bug#: 75779
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Mono.Security
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: dgranath at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Mono PKCS #12's with passwords longer  than 31 bytes cannot  be validated by Microsoft
+
+Microsoft truncates the p12 pwd at 32 bytes, also disregarding the last two
+null bytes in this case. A p12 created with Mono using a pwd longer than 32
+bytes can therefore never be validated by the MS p12 implementation (A 32
+byte pwd ending with a null byte will be ok, but not a 32 byte pwd ending
+with any other byte).
+
+Reproduce:
+
+1) Create a Mono p12 with pwd > 32 bytes.
+
+2) Try to open it using MS P12 CAPI functionality
+
+Result:
+
+failure


More information about the mono-bugs mailing list