Your message dated Tue, 16 Feb 2021 20:33:33 +0000 with message-id <[email protected]> and subject line Bug#982625: fixed in offlineimap3 0.0~git20210105.00d395b+dfsg-3 has caused the Debian Bug report #982625, regarding fails to authenticate with "TypeError: sequence item 2: expected str instance, bytes found" error to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 982625: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=982625 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: offlineimap Version: 7.3.3+dfsg1-1+0.0~git20210105.00d395b+dfsg-2 Severity: serious In Debian testing offlineimap plain authentication over SSL started to fail for me in the following way: $ offlineimap -c ~/.config/offlineimap/offlineimaprc -u basic --info OfflineIMAP 7.3.0 Licensed under the GNU GPL v2 or any later version (with an OpenSSL exception) imaplib2 v3.05, Python v3.9.1+, OpenSSL 1.1.1i 8 Dec 2020 imaplib2: 3.05 Remote repository 'Censored: type 'IMAP' Host: mail.example.org Port: None SSL: True Establishing connection to mail.example.org:993 (Censored) Traceback (most recent call last): File "/usr/bin/offlineimap", line 22, in <module> oi.run() File "/usr/share/offlineimap3/offlineimap/init.py", line 88, in run self.__serverdiagnostics(options) File "/usr/share/offlineimap3/offlineimap/init.py", line 518, in __serverdiagnostics account.serverdiagnostics() File "/usr/share/offlineimap3/offlineimap/accounts.py", line 197, in serverdiagnostics self.ui.serverdiagnostics(remote_repo, 'Remote') File "/usr/share/offlineimap3/offlineimap/ui/UIBase.py", line 450, in serverdiagnostics conn = repository.imapserver.acquireconnection() File "/usr/share/offlineimap3/offlineimap/imapserver.py", line 592, in acquireconnection self.__authn_helper(imapobj) File "/usr/share/offlineimap3/offlineimap/imapserver.py", line 449, in __authn_helper if func(imapobj): File "/usr/share/offlineimap3/offlineimap/imapserver.py", line 375, in __authn_plain imapobj.authenticate('PLAIN', self.__plainhandler) File "/usr/lib/python3/dist-packages/imaplib2.py", line 691, in authenticate typ, dat = self._simple_command('AUTHENTICATE', mechanism.upper()) File "/usr/lib/python3/dist-packages/imaplib2.py", line 1684, in _simple_command return self._command_complete(self._command(name, *args), kw) File "/usr/lib/python3/dist-packages/imaplib2.py", line 1404, in _command literal = literator(data, rqb) File "/usr/lib/python3/dist-packages/imaplib2.py", line 2247, in process ret = self.mech(self.decode(data)) File "/usr/share/offlineimap3/offlineimap/imapserver.py", line 217, in __plainhandler retval = NULL.join((authz, authc, passwd)) TypeError: sequence item 2: expected str instance, bytes found The server in question has a valid letsencrypt certificate, which I can use and authenticate fine with other clients. Not sure if the problem is actually in offlineimap or in imaplib2, but no relevant bugs seems to be reported against the latter either. Thanks for maintaining offlineimap, Cheers -- System Information: Debian Release: bullseye/sid APT prefers testing APT policy: (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 5.10.0-3-amd64 (SMP w/8 CPU threads) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages offlineimap depends on: ii offlineimap3 0.0~git20210105.00d395b+dfsg-2 offlineimap recommends no packages. offlineimap suggests no packages. -- no debconf information
--- End Message ---
--- Begin Message ---Source: offlineimap3 Source-Version: 0.0~git20210105.00d395b+dfsg-3 Done: Sudip Mukherjee <[email protected]> We believe that the bug you reported is fixed in the latest version of offlineimap3, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Sudip Mukherjee <[email protected]> (supplier of updated offlineimap3 package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Tue, 16 Feb 2021 20:12:16 +0000 Source: offlineimap3 Architecture: source Version: 0.0~git20210105.00d395b+dfsg-3 Distribution: unstable Urgency: medium Maintainer: Debian Python Team <[email protected]> Changed-By: Sudip Mukherjee <[email protected]> Closes: 810119 969298 981063 981338 981385 981677 982625 Changes: offlineimap3 (0.0~git20210105.00d395b+dfsg-3) unstable; urgency=medium . [ Guido Günther ] * Fix GSSAPI authentication (Closes: #810119, #969298) . [ Debian Janitor ] * Set upstream metadata fields: Bug-Database, Bug-Submit. . [ Sudip Mukherjee ] * Revert use of default sslcacertfile. (Closes: #981338, #981677) * Read string from remotepassfile. (Closes: #982625, #981063, #981385) - Thanks to Vagrant Cascadian for the original patch. Checksums-Sha1: 038113740ab48c6903a469f0c16954bfdeb2ed20 2345 offlineimap3_0.0~git20210105.00d395b+dfsg-3.dsc 887eae95422e9c056249876e7fce504b0b31c621 7016 offlineimap3_0.0~git20210105.00d395b+dfsg-3.debian.tar.xz 32442efd73966f7159a3826c2e043449547d2172 7373 offlineimap3_0.0~git20210105.00d395b+dfsg-3_amd64.buildinfo Checksums-Sha256: 129de8b28e5261dfc1d2b64b2fb84bf1d04894bf5c592376481a64fd38f90a62 2345 offlineimap3_0.0~git20210105.00d395b+dfsg-3.dsc aa59fb7de6e8dfdd790ae25f08a70dc78b5ddf3fb46b76e09cd01ce13cb81ca3 7016 offlineimap3_0.0~git20210105.00d395b+dfsg-3.debian.tar.xz 901ee0d5c6e32ae815d2d59b8ef51c965f7bbe3f32a33c4b36cd030919ea7fb9 7373 offlineimap3_0.0~git20210105.00d395b+dfsg-3_amd64.buildinfo Files: b6cb3ee574011e5e5e908825f7d25f38 2345 mail optional offlineimap3_0.0~git20210105.00d395b+dfsg-3.dsc bca714e4bbc465546c94c10e75efca2c 7016 mail optional offlineimap3_0.0~git20210105.00d395b+dfsg-3.debian.tar.xz 86fd663b5f0269309d0879cd604d4760 7373 mail optional offlineimap3_0.0~git20210105.00d395b+dfsg-3_amd64.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEuDQJkCg9jZvBlJrHR5mjUUbRKzUFAmAsKCMACgkQR5mjUUbR KzW8Cg//Q+VeEFk4/N9bJBo/h2BoIJgvjats3vBT/QYyTzKMoB58qpM5vifx+/7j cY8JwqbxVJywKrzf1KMQT3L8IDP9AosI6MC/Zlh8OIrjhREhqhuvwzb5qqbiC8hD OfJ0963ITvDlD+c16UvHShbvFXkX5zVrzZC1+xDzzw2ujaLSalDJjKpXV3zlhAHI sXjsBENzUuWSpDY3BdTXzGs99gMe7qBD8SkpcOx0YlCnaf1pSLrotujb2yJf7CDV 6zUh2LxF1UWl7+zj+rF4pR8mURUVYesZptCsWxPcDle+xhousbABxEPpR/G/UM+K VrMIV4IA/+pWxGBYo0pEmjgRE54yH27H0bi+kLCaKYFfJMnvmt/SWii6joh6ORsZ 7dbzlv73Ang64q5rY2Pw44852K4Ts+Rr/mhYtBNW1nuIBWa/VXyODV9FgF6dyUGb +6YWHKwluvDmCeDGgtaQqUfozNNoUn3J/rdZSYOfWM5zIMoLPQWEWXZBWfNvMm2M Zwg2dI0VahfQDcpA8uhxx8ckLxdyxvIJ/sRoJJoKJFhiCUPyLdwGptpwbMnviXk5 MuFramA5olFfqLhlGGdEWiGFL1msEK6vQFXQcGvpL1K9M9itfHYotc/4pl6KqqLt BAfrCGrOi5cruMha4obPabccGvqn/nQ5/qIZcZL/0Vf7JF/DLCI= =fBjn -----END PGP SIGNATURE-----
--- End Message ---

