[Bug 1054590]

2012-11-15 Thread Alexandre Julliard
Closing bugs fixed in 1.5.17.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1054590

Title:
  Evernote client can not connect evernote.com server

To manage notifications about this bug go to:
https://bugs.launchpad.net/wine/+bug/1054590/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1054590] Re: Evernote client can not connect evernote.com server

2012-11-04 Thread Bug Watch Updater
** Changed in: wine
   Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1054590

Title:
  Evernote client can not connect evernote.com server

To manage notifications about this bug go to:
https://bugs.launchpad.net/wine/+bug/1054590/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1054590]

2012-11-04 Thread Andre_H
committed:
http://source.winehq.org/git/wine.git/commitdiff/923ac2e546e5f86afd319d944a0a249bc1fa1e4a

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1054590

Title:
  Evernote client can not connect evernote.com server

To manage notifications about this bug go to:
https://bugs.launchpad.net/wine/+bug/1054590/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1054590] Re: Evernote client can not connect evernote.com server

2012-10-31 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: wine1.4 (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1054590

Title:
  Evernote client can not connect evernote.com server

To manage notifications about this bug go to:
https://bugs.launchpad.net/wine/+bug/1054590/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1054590]

2012-10-28 Thread Hiroshi Miura
Evernote problem is likely a server problem because openssl and gnutls also 
fails to connect
with command line utility.

$ openssl s_client -connect www.evernote.com:443
$ gnutls-cli www.evernote.com

both fails to negotiate ssl.

I found result of ' gnutls-cli-debug www.evernote.com' show that

Checking for TLS 1.0 support... yes
Checking for TLS 1.1 support... no
Checking fallback from TLS 1.1 to... failed
Checking for TLS 1.2 support... no

'$ gnutls-cli-debug sandbox.evernote.com' shows

Checking for TLS 1.0 support... yes
Checking for TLS 1.1 support... no
Checking fallback from TLS 1.1 to... SSL 3.0
Checking for TLS 1.2 support... no

and sandbox works fine.

But Evernote client for windows works fine on MS windows7.
Because 
1. WIndows 7 don't enable TLS1.1/1.2 by default
2. Windows 7 have a mechanism to fall back(close socket and create new 
connection) to SSLv3/TLSv1 that is not defined in IETF RFC.

My  first proposal is implement (1) but fails to accept. So I take an
approach (2).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1054590

Title:
  Evernote client can not connect evernote.com server

To manage notifications about this bug go to:
https://bugs.launchpad.net/wine/+bug/1054590/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1054590]

2012-10-28 Thread Hiroshi Miura
I  posted new version of patch.
It implement fall back mechanism which is similar as what Wininet in Windows7 
does.

http://osdir.com/ml/wine-patches/2012-10/msg00965.html

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1054590

Title:
  Evernote client can not connect evernote.com server

To manage notifications about this bug go to:
https://bugs.launchpad.net/wine/+bug/1054590/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1054590]

2012-10-22 Thread Juan-lang-s
(In reply to comment #36)
> (In reply to comment #34)
> > I see the patch has been processed.  I assume that the future release of 
> > Wine
> > 1.5.16 should have the fix in it...yes?
> 
> What does tell you the patch has been processed?

I suspect it was a simple misunderstanding of the patches list: the
patch disappeared off the end of the list.

David: AFAIR the patch wasn't reviewed. This is the dreaded "not
obviously correct" patch status, in which Alexandre isn't convinced, but
he's not quite sure what's wrong with the patch, either. It's up to the
patch author to reflect what might be done to improve it. As I
recommended in comment 18, tests that demonstrate that Windows really
does behave this way by default would be pretty convincing. They're also
not easy.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1054590

Title:
  Evernote client can not connect evernote.com server

To manage notifications about this bug go to:
https://bugs.launchpad.net/wine/+bug/1054590/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1054590]

2012-10-22 Thread Andre_H
(In reply to comment #34)
> I see the patch has been processed.  I assume that the future release of Wine
> 1.5.16 should have the fix in it...yes?

What does tell you the patch has been processed?

dlls/wininet/netconnection.c wasn't changed since June

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1054590

Title:
  Evernote client can not connect evernote.com server

To manage notifications about this bug go to:
https://bugs.launchpad.net/wine/+bug/1054590/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1054590]

2012-10-16 Thread Bruno Gonçalves de Jesus
(In reply to comment #34)
> I see the patch has been processed.  I assume that the future release of Wine
> 1.5.16 should have the fix in it...yes?

I can't find the commit in git. As far as I remember this was the last message 
about it and I could not find newer versions of the patch:
http://wine.1045685.n5.nabble.com/Re-wininet-disable-TLSv1-1-1-2-by-default-td5725632.html

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1054590

Title:
  Evernote client can not connect evernote.com server

To manage notifications about this bug go to:
https://bugs.launchpad.net/wine/+bug/1054590/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1054590]

2012-10-16 Thread Dave Vree
I see the patch has been processed.  I assume that the future release of
Wine 1.5.16 should have the fix in it...yes?

1.5.15 does not have the fix it as far as I can tell.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1054590

Title:
  Evernote client can not connect evernote.com server

To manage notifications about this bug go to:
https://bugs.launchpad.net/wine/+bug/1054590/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1054590] Re: Evernote client can not connect evernote.com server

2012-10-04 Thread Bug Watch Updater
Launchpad has imported 34 comments from the remote bug at
http://bugs.winehq.org/show_bug.cgi?id=30598.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.


On 2012-05-04T21:16:22+00:00 Ilya Loginov wrote:

Evernote running under latest wine from repository can't connect to
server. wine reports following:

fixme:wininet:INET_QueryOption INTERNET_OPTION_CONNECTED_STATE: semi-stub
fixme:wininet:InternetAttemptConnect Stub
fixme:wininet:InternetSetOptionW Option INTERNET_OPTION_CONNECT_TIMEOUT 
(6): STUB
fixme:wininet:InternetSetOptionW 
INTERNET_OPTION_SEND/RECEIVE_TIMEOUT/DATA_SEND_TIMEOUT 6
fixme:wininet:InternetSetOptionW 
INTERNET_OPTION_SEND/RECEIVE_TIMEOUT/DATA_SEND_TIMEOUT 30
err:wininet:NETCON_secure_connect SSL_connect failed: 12157

Last message was generated in dlls/wininet/netconnection.c:

if (pSSL_connect(ssl_s) <= 0)
{
res = (DWORD_PTR)pSSL_get_ex_data(ssl_s, error_idx);
if (!res)
res = ERROR_INTERNET_SECURITY_CHANNEL_ERROR;
ERR("SSL_connect failed: %d\n", res);
goto fail;
}

Looking man SSL_connect I've read that SSL_get_error should be used. It
returns SSL_ERROE_SYSCALL.

man tells following:

SSL_ERROR_SYSCALL

Some I/O error occurred. The OpenSSL error queue may contain more
information on the error. If the error queue is empty (i.e.
ERR_get_error() returns 0), ret can be used to find out more about the
error: If ret == 0, an EOF was observed that violates the protocol. If
ret == -1, the underlying BIO reported an I/O error (for socket I/O on
Unix systems, consult errno for details).

It is not clear to me what to do next. ERR_get_error() returns 0 and
errno == 0 too.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/wine1.4/+bug/1054590/comments/0


On 2012-05-05T07:27:14+00:00 Ilya Loginov wrote:

Created attachment 40038
Fix Evernote authefication problem with latest wine

Reply at:
https://bugs.launchpad.net/ubuntu/+source/wine1.4/+bug/1054590/comments/1


On 2012-05-05T07:35:45+00:00 Ilya Loginov wrote:

I've founded some post in the Evernote's blog:
http://blog.evernote.com/tech/2011/09/23/security-hang-ups/

I can't get robots.txt from www.evernote.com with curl as described
above. So I tried:

openssl s_client -ssl3 -state -debug -msg -connect www.evernote.com:443

All was fine.

I removed ssl3 key and got it! It failed to connect. So I tried to
enable SSLv3_client_method in wine and problem was gone.

Of course, it's bad patch because, probably, it breaks many other
applications. There should be somewhere switch on some parameter to
chose method but I can't find any proper method to set authefication
method on MSDN to make proper fix.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/wine1.4/+bug/1054590/comments/2


On 2012-05-05T18:57:04+00:00 Bruno Gonçalves de Jesus wrote:

Please attach a +winttp log. If the program is freely available please
fill the URL field and add the "download" keyword.

My guess is that WinHttpSetOption is being called with
WINHTTP_OPTION_SECURE_PROTOCOLS option but it is not supported yet. As
far as I can see this call is used to change the protocol used [1].

If I'm correct this line should be in the log with option 84 [2].
session.c:186 - FIXME("unimplemented option %u\n", option);

Or maybe I'm completely wrong and the method should be extracted somehow
from the handshake message =)

[1] 
http://msdn.microsoft.com/en-us/library/windows/desktop/aa384066%28v=vs.85%29.aspx
[2] http://source.winehq.org/source/include/winhttp.h#L116

Reply at:
https://bugs.launchpad.net/ubuntu/+source/wine1.4/+bug/1054590/comments/3


On 2012-05-05T21:21:45+00:00 Ilya Loginov wrote:

Created attachment 40048
WINEDEBUG=+winhttp

Reply at:
https://bugs.launchpad.net/ubuntu/+source/wine1.4/+bug/1054590/comments/4


On 2012-05-05T21:22:32+00:00 Ilya Loginov wrote:

Created attachment 40049
WINEDEBUG=+secur32,+crypt,+winsock,+wininet

Reply at:
https://bugs.launchpad.net/ubuntu/+source/wine1.4/+bug/1054590/comments/5


On 2012-05-05T21:27:07+00:00 Ilya Loginov wrote:

It looks like Evernote does not use winhttp at all.

But looking into wininet log I've founded something interesting:

trace:wininet:InternetSetOptionW (0x3 31 0x2fce058 4)

MSDN says that 31 is INT

[Bug 1054590] Re: Evernote client can not connect evernote.com server

2012-09-22 Thread Hiroshi Miura
I've also been wandaring that Bug 965371 affected.

Problem is on TLS version that client requests evernote server.
Client ask server to request TLS1.2 version( in pakcet , 3.3), and server 
respond version error alert.

Pls see ssl dump log. it was got with Evernote client running on Wine1.4.1.
  (wine1.4-i386_1.4.1-0ubuntu1~precise1~ppa3_i386.deb, PPA)
same result can be got with wine 1.4, too.

server returns TCP FIN immediately after request.
The evernote server is not support 'secure renegotiation'.
When using patched wine, client request TLS1.0 and works fine.

openssl is 1.0.1-4ubuntu5.5

** Attachment added: "ssldump debug output"
   
https://bugs.launchpad.net/ubuntu/+source/wine1.4/+bug/1054590/+attachment/274/+files/evernote_debug2.log

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1054590

Title:
  Evernote client can not connect evernote.com server

To manage notifications about this bug go to:
https://bugs.launchpad.net/wine/+bug/1054590/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1054590] Re: Evernote client can not connect evernote.com server

2012-09-22 Thread Logan Rosen
Bug 965371 appears to be related, and it suggests a potential OpenSSL
fix rather than a Wine one.

** Bug watch added: Wine Bugzilla #30598
   http://bugs.winehq.org/show_bug.cgi?id=30598

** Also affects: wine via
   http://bugs.winehq.org/show_bug.cgi?id=30598
   Importance: Unknown
   Status: Unknown

** Package changed: wine (Ubuntu) => wine1.4 (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1054590

Title:
  Evernote client can not connect evernote.com server

To manage notifications about this bug go to:
https://bugs.launchpad.net/wine/+bug/1054590/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1054590] [NEW] Evernote client can not connect evernote.com server

2012-09-22 Thread Hiroshi Miura
Public bug reported:

on Ubnut 12.04, Evernote cannot connect evernote.com server, because
OpenSSL 1.0.1 version support TLS1.1/1.2 and evernote server does not,
and Wine does not treat it well.

http://source.winehq.org/patches/data/89343

Here is a patch that fix this by disabling TLS1.1/1.2 by default and help user 
to enable TLS1.1/1.2 with configuration.
I report it upstream but it still in review.

Users who use Ubuntu and Evernote affect it and unusable Evernote client
from April when 12.04 release.

** Affects: wine (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1054590

Title:
  Evernote client can not connect evernote.com server

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/wine/+bug/1054590/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs