[Mono-bugs] [Bug 584514] New: Mono.Security failure on connecting to googlemail

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Mar 2 02:39:50 EST 2010


http://bugzilla.novell.com/show_bug.cgi?id=584514

http://bugzilla.novell.com/show_bug.cgi?id=584514#c0


           Summary: Mono.Security failure on connecting to googlemail
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.6.x
          Platform: i686
        OS/Version: Linux
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Mono.Security
        AssignedTo: spouliot at novell.com
        ReportedBy: paul at all-the-johnsons.co.uk
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2)
Gecko/20100218 Fedora/3.6.1-2.fc14 Firefox/3.6

Attached is a code example. The code needs recompiling and a valid username and
password entering into emailin.cs. As this code is part of a larger program, a
small window with a button which fires the code is also required. The code
works perfectly under VC#2008 (.NET 3.5)

Reproducible: Always

Steps to Reproduce:
1. Compile under Mono, enter the valid username and password into the source
2. Run
3.
Actual Results:  
Mono throws back
System.IO.Exception: The authentication or decryption has failed. --->
Mono.Security.Protocol.Tls.TlsException: Invalid certificate received from
server
at
Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate.validateCertifcates
(Mono.Security.X509.X509CertificateCollection.certificates) [0x00000] in
<filename unknown>:0
at
Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate.ProcessAsTls1()
[0x00000] in <filename unknown>:0
at Mono.Security.Protocol.Tls.Handshake.HandshakeMessage.Process() [0x00000] in
<filename unknown>:0
at (wrapper remote-invoke-with-check)
Mono.Security.Protocol.Tls.Handshake.HandshakeMessage:Process()
at Mono.Security.Protocol.Tls.ClientRecordProtocol.ProcessHandshakeMessage
(Mono.Security.Protocol.Tls.TlsStream handMsg) [0x00000] in <filename
unknown>:0
at Mono.Security.Protocol.Tls.RecordProtocol.InternalReceieveRecordCallback
(IAsyncResult asyncResult) [0x00000] in <filename unknown>:0
 ---End of inner exception stack trace---
at Mono.Security.Protocol.Tls.SslStreamBase.AsyncHandshakeCallback
(IAsyncResult asyncResult) [0x00000] in <filename unknown>:0

Expected Results:  
Should retrieve email headers and message titles

Compiles and works fine under MS VC# 2008 (.NET 3.5)

-- 
Configure bugmail: http://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