[Mono-bugs] [Bug 403610] Error importing Pkcs#12 certificate

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Jun 27 04:49:07 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=403610

User gert.driesen at pandora.be added comment
https://bugzilla.novell.com/show_bug.cgi?id=403610#c4


Gert Driesen <gert.driesen at pandora.be> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |gert.driesen at pandora.be
             Status|RESOLVED                                        |REOPENED
         Resolution|FIXED                                           |




--- Comment #4 from Gert Driesen <gert.driesen at pandora.be>  2008-06-27 02:49:07 MDT ---
Sebastien, the original behavior (before r106632) actually matches the MS
implementation:

Unhandled Exception: System.Security.Cryptography.CryptographicException: The
sp
ecified network password is not correct.

   at
System.Security.Cryptography.CryptographicException.ThrowCryptogaphicExcep
tion(Int32 hr)
   at
System.Security.Cryptography.X509Certificates.X509Utils._LoadCertFromFile(
String fileName, IntPtr password, UInt32 dwFlags, Boolean persistKeySet,
SafeCer
tContextHandle& pCertCtx)
   at
System.Security.Cryptography.X509Certificates.X509Certificate.LoadCertific
ateFromFile(String fileName, Object password, X509KeyStorageFlags
keyStorageFlag
s)
   at
System.Security.Cryptography.X509Certificates.X509Certificate2..ctor(Strin
g fileName)
   at Program.Main()

Should the patch be reverted? I'm happy to add a unit test for this.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list