Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 697800 - net-mail/isync-1.3.1: please stabilize
Summary: net-mail/isync-1.3.1: please stabilize
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Stabilization (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andreas K. Hüttel
URL:
Whiteboard: fixed in 1.3.1
Keywords: STABLEREQ
Depends on:
Blocks: openssl-1.1
  Show dependency tree
 
Reported: 2019-10-15 21:22 UTC by David Brown
Modified: 2020-01-26 20:57 UTC (History)
0 users

See Also:
Package list:
net-mail/isync-1.3.1
Runtime testing required: ---
stable-bot: sanity-check+


Attachments
Sample mbsyncrc file (mbsyncrc,378 bytes, text/plain)
2019-10-15 21:24 UTC, David Brown
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Brown 2019-10-15 21:22:44 UTC
net-mail/isync-1.3.0-r1 built with openssl 1.1 fails to connect to some sites. For example, when trying to use imap.gmail.com, I get the following failure:

    SSL error connecting imap.gmail.com (173.194.207.109:993): self signed certificate

The problem seems to stem from openssl 1.1 now defaulting to TLS 1.3, and isync not setting the SNI (server name indication), which causes the destination imap server to send the wrong certificate.

I have verified that isync-1.3.1 does work correctly, and this probably could be fixed by backporting https://sourceforge.net/p/isync/isync/ci/17babc1695e82ca80d032b79e920fcb86ede2347/ to isync-1.3.0, if we still desire to build this version.

Reproducible: Always

Steps to Reproduce:
1. Write the attached config file to a file, say /tmp/mbsyncrc.
2. Create an empty maildir directory (in an empty directory, create "tmp", "new" and "cur" subdirectories).
3. Edit /tmp/mbsyncrc to fill in an account name, password, and path to maildir.
4. Make sure gmail account is configured to allow "legacy" applications.
5. Run "mbsync -c /tmp/mbsyncrc -a"
Actual Results:  
SSL error connecting imap.gmail.com (173.194.207.109:993): self signed certificate

Expected Results:  
It should connect and synchronize the mail boxes.
Comment 1 David Brown 2019-10-15 21:24:02 UTC
Created attachment 592828 [details]
Sample mbsyncrc file

This is a sample config file for connecting to gmail.
Comment 2 David Brown 2019-10-15 21:25:12 UTC
Since this error happens early, it is probably not necessary to use this with a valid gmail account. It will fail with the certificate error before validating the user and password in the config file.
Comment 3 Andreas Sturmlechner gentoo-dev 2019-11-27 13:41:46 UTC
Maybe then 1.3.1 should be stabilised.
Comment 4 Matt Turner gentoo-dev 2020-01-23 18:37:59 UTC
This is kind of stupid. Let's stabilize.
Comment 5 Agostino Sarubbo gentoo-dev 2020-01-24 15:57:14 UTC
amd64 stable
Comment 6 Thomas Deutschmann (RETIRED) gentoo-dev 2020-01-26 20:57:13 UTC
x86 stable, closing