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 [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=77342 --- shadow/77342 2006-01-24 10:10:22.000000000 -0500 +++ shadow/77342.tmp.17249 2006-01-24 10:28:52.000000000 -0500 @@ -43,6 +43,38 @@ LoadFromFile(string,string) to see if the same problem exists ? If so could you please add (or attach) the full stack trace to this bug report. Thanks + +------- Additional Comments From [EMAIL PROTECTED] 2006-01-24 10:28 ------- +Using PKCS12.LoadFromFile(myPkcs12File, "") gives this error: +System.IndexOutOfRangeException : Index was outside the bounds of the +array. + +StackTrace: + at Mono.Security.X509.PKCS12.set_Password(String value) + at Mono.Security.X509.PKCS12..ctor(Byte[] data, String password) + at KMD.YH.PKI2.Crypto.Pkcs12Info.LoadFromMemB64(String +pkcs12String, String password) in c:\projects\kmd.yh.pki2 +\kmd.yh.pki2.crypto\pkcs12info.cs:line 92 + at KMD.YH.PKI2.NUnit.Pkcs12InfoTest.LoadFromMemB64NoPwd_Ok() in +c:\projects\kmd.yh.pki2\kmd.yh.pki2.nunit\pkcs12infotest.cs:line 120 + +---------------------------------------------------- + +Using PKCS12.LoadFromFile(myPkcs12File) gives this error: +System.Security.Cryptography.CryptographicException : Invalid MAC - +file may have been tampered! + +Stacktrace: + at Mono.Security.X509.PKCS12.Decode(Byte[] data) + at Mono.Security.X509.PKCS12.LoadFromFile(String filename) + at KMD.YH.PKI2.Crypto.Pkcs12Info.LoadFromFile(String filename, +String password) in c:\projects\kmd.yh.pki2 +\kmd.yh.pki2.crypto\pkcs12info.cs:line 75 + at KMD.YH.PKI2.NUnit.Pkcs12InfoTest.LoadFromFileNoPwd_Ok() in +c:\projects\kmd.yh.pki2\kmd.yh.pki2.nunit\pkcs12infotest.cs:line 45 + +If I use the original 1.05.0000 version of Mono.Security.dll I have +no problems. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
