[Bug 1082023] New: git send-email fails to authenticate with SMTP server
http://bugzilla.suse.com/show_bug.cgi?id=1082023 Bug ID: 1082023 Summary: git send-email fails to authenticate with SMTP server Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: Linux Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: bnc-team-screening@forge.provo.novell.com Reporter: ohering@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- With current Tumbleweed git send-email fails to authenticate with the SMTP server. This used to work. since I rarly use git send-email I cant say when it started. The username/password combination works with mutt. Send this email? ([y]es|[n]o|[q]uit|[a]ll): y Net::SMTP>>> Net::SMTP(3.10) Net::SMTP>>> Net::Cmd(3.10) Net::SMTP>>> Exporter(5.72) Net::SMTP>>> IO::Socket::IP(0.38) Net::SMTP>>> IO::Socket(1.38) Net::SMTP>>> IO::Handle(1.36) Net::SMTP=GLOB(0x55b5df986d00)<<< 220 smtp.strato.de ESMTP RZmta (P7 -) Net::SMTP=GLOB(0x55b5df986d00)>>> EHLO sender Net::SMTP=GLOB(0x55b5df986d00)<<< 250-smtp.strato.de greets 2001:a62:816:91ff:a572:884d:f51d:1a86 Net::SMTP=GLOB(0x55b5df986d00)<<< 250-ENHANCEDSTATUSCODES Net::SMTP=GLOB(0x55b5df986d00)<<< 250-PIPELINING Net::SMTP=GLOB(0x55b5df986d00)<<< 250-8BITMIME Net::SMTP=GLOB(0x55b5df986d00)<<< 250-DELIVERBY Net::SMTP=GLOB(0x55b5df986d00)<<< 250-SIZE 104857600 Net::SMTP=GLOB(0x55b5df986d00)<<< 250-AUTH DIGEST-MD5 CRAM-MD5 LOGIN PLAIN Net::SMTP=GLOB(0x55b5df986d00)<<< 250-STARTTLS Net::SMTP=GLOB(0x55b5df986d00)<<< 250-BURL imap Net::SMTP=GLOB(0x55b5df986d00)<<< 250-CHUNKING Net::SMTP=GLOB(0x55b5df986d00)<<< 250 HELP Net::SMTP=GLOB(0x55b5df986d00)>>> STARTTLS Net::SMTP=GLOB(0x55b5df986d00)<<< 220 Ready to start TLS Net::SMTP::_SSL=GLOB(0x55b5df986d00)>>> EHLO sender Net::SMTP::_SSL=GLOB(0x55b5df986d00)<<< 250-smtp.strato.de greets 2001:a62:816:91ff:a572:884d:f51d:1a86 Net::SMTP::_SSL=GLOB(0x55b5df986d00)<<< 250-ENHANCEDSTATUSCODES Net::SMTP::_SSL=GLOB(0x55b5df986d00)<<< 250-PIPELINING Net::SMTP::_SSL=GLOB(0x55b5df986d00)<<< 250-8BITMIME Net::SMTP::_SSL=GLOB(0x55b5df986d00)<<< 250-DELIVERBY Net::SMTP::_SSL=GLOB(0x55b5df986d00)<<< 250-SIZE 104857600 Net::SMTP::_SSL=GLOB(0x55b5df986d00)<<< 250-AUTH DIGEST-MD5 CRAM-MD5 LOGIN PLAIN Net::SMTP::_SSL=GLOB(0x55b5df986d00)<<< 250-BURL imap Net::SMTP::_SSL=GLOB(0x55b5df986d00)<<< 250-CHUNKING Net::SMTP::_SSL=GLOB(0x55b5df986d00)<<< 250 HELP Net::SMTP::_SSL=GLOB(0x55b5df986d00)>>> EHLO sender Net::SMTP::_SSL=GLOB(0x55b5df986d00)<<< 250-smtp.strato.de greets 2001:a62:816:91ff:a572:884d:f51d:1a86 Net::SMTP::_SSL=GLOB(0x55b5df986d00)<<< 250-ENHANCEDSTATUSCODES Net::SMTP::_SSL=GLOB(0x55b5df986d00)<<< 250-PIPELINING Net::SMTP::_SSL=GLOB(0x55b5df986d00)<<< 250-8BITMIME Net::SMTP::_SSL=GLOB(0x55b5df986d00)<<< 250-DELIVERBY Net::SMTP::_SSL=GLOB(0x55b5df986d00)<<< 250-SIZE 104857600 Net::SMTP::_SSL=GLOB(0x55b5df986d00)<<< 250-AUTH DIGEST-MD5 CRAM-MD5 LOGIN PLAIN Net::SMTP::_SSL=GLOB(0x55b5df986d00)<<< 250-BURL imap Net::SMTP::_SSL=GLOB(0x55b5df986d00)<<< 250-CHUNKING Net::SMTP::_SSL=GLOB(0x55b5df986d00)<<< 250 HELP Net::SMTP::_SSL=GLOB(0x55b5df986d00)>>> AUTH DIGEST-MD5 ... -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1082023 http://bugzilla.suse.com/show_bug.cgi?id=1082023#c1 --- Comment #1 from Olaf Hering <ohering@suse.com> --- It works with --smtp-auth=PLAIN, looks like MD5 is broken with Tumbleweed or the server. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1082023 http://bugzilla.suse.com/show_bug.cgi?id=1082023#c2 Chenzi Cao <chcao@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bnc-team-screening@forge.pr |dimstar@opensuse.org |ovo.novell.com | --- Comment #2 from Chenzi Cao <chcao@suse.com> --- Hi Dominique, would you please take a look at this? I have no idea whom to assign, so assign it to you to take a look at here, please feel free to reassign, thanks. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1082023 http://bugzilla.suse.com/show_bug.cgi?id=1082023#c3 Dominique Leuenberger <dimstar@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|dimstar@opensuse.org |tiwai@suse.com --- Comment #3 from Dominique Leuenberger <dimstar@opensuse.org> --- (In reply to Chenzi Cao from comment #2)
Hi Dominique, would you please take a look at this? I have no idea whom to assign, so assign it to you to take a look at here, please feel free to reassign, thanks.
Let's start with Takashi, bugowner of the git package -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1082023 http://bugzilla.suse.com/show_bug.cgi?id=1082023#c4 Takashi Iwai <tiwai@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|tiwai@suse.com |mcalabkova@suse.com --- Comment #4 from Takashi Iwai <tiwai@suse.com> --- Reassigned to the new git package maintainer. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1082023 http://bugzilla.suse.com/show_bug.cgi?id=1082023#c5 --- Comment #5 from Marketa Calabkova <mcalabkova@suse.com> --- This issue looks fixed by https://github.com/git/git/commit/ae1644b08e85fb64367b273337d8ebcbdabe0685#d..., so it should be fixed on recent Tumbleweed. I did not test this, could someone test it, please? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1082023 http://bugzilla.suse.com/show_bug.cgi?id=1082023#c6 Marketa Calabkova <mcalabkova@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WORKSFORME --- Comment #6 from Marketa Calabkova <mcalabkova@suse.com> --- So I tried it myself. For me it works fine on both Tumbleweed and Leap 15.0 and I suppose older Leaps are not affected. I guess it was only one-version regression and we are lucky that we do not have the affected version in our SLE15. Closing this bug for now. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1082023 http://bugzilla.suse.com/show_bug.cgi?id=1082023#c7 --- Comment #7 from Olaf Hering <ohering@suse.com> --- The same happens in SLE12SP3. I have smtpAuth=PLAIN, the very same ~/.gitconfig works in Leap 15.0. But here, according to the log, AUTH DIGEST-MD5 is used. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1082023 http://bugzilla.suse.com/show_bug.cgi?id=1082023#c8 Olaf Hering <ohering@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|WORKSFORME |--- --- Comment #8 from Olaf Hering <ohering@suse.com> --- And --smtp-auth=PLAIN is also ignored. Either git does not pass this to Perl, or Perl ignores it. Can not test in TW right now. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1082023 http://bugzilla.suse.com/show_bug.cgi?id=1082023#c9 --- Comment #9 from Marketa Calabkova <mcalabkova@suse.com> --- OK, so what shall we do? Shall we fix it on old SLE's or let it be since it is not security bug? Anyway, we are probably doing different tests. At my side meggy@irbis:~/(some-repo)> git format-patch -1 0001-(commit-msg).patch meggy@irbis:~/(some-repo)> git send-email 0001-(commit-msg).patch works fine on SLE15 and Tumbleweed (on Tumbleweed only occurs https://bugzilla.suse.com/show_bug.cgi?id=1098924, but the email is sent correctly). Am I doing something different from you? I will test it on VM with SLE12SP3 soon. The incorrect parsing of arguments could be some old unreported bug. I will take a look but I think this is not important right now. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1082023 http://bugzilla.suse.com/show_bug.cgi?id=1082023#c10 --- Comment #10 from Marketa Calabkova <mcalabkova@suse.com> --- Sending emails via this protocol requires packages perl-Net-SMTP-SSL and perl-Authen-SASL, which we recommend, but they are not mandatory. Without these packages it is still possible to send emails to localhost and let the local daemon handle it (default behaviour). To fix this bug it was sufficient to install these two packages. Should we thus move them to requiremens to avoid further suprises? Thank you, Olaf, for cooperation in solving this bug. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1082023 http://bugzilla.suse.com/show_bug.cgi?id=1082023#c11 --- Comment #11 from Marketa Calabkova <mcalabkova@suse.com> --- It seems nobody has any preferences, so I got inspired by fedora .spec file, where these packages are in requirements (https://src.fedoraproject.org/rpms/git/blob/master/f/git.spec). Expect some submit requests soon :) . -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1082023 http://bugzilla.suse.com/show_bug.cgi?id=1082023#c14 Marketa Calabkova <mcalabkova@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |FIXED --- Comment #14 from Marketa Calabkova <mcalabkova@suse.com> --- My sr to Factory was accepted. Closing this issue for now. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1082023 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard| |ibs:running:7059:important -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1082023 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard|ibs:running:7059:important |ibs:running:7059:important | |ibs:running:9694:moderate -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1082023 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard|ibs:running:7059:important |ibs:running:7059:important |ibs:running:9694:moderate |ibs:running:9694:moderate | |ibs:running:9802:moderate -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1082023 Gustavo Pichorim Boiko <gboiko@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gboiko@suse.com Whiteboard|ibs:running:7059:important |ibs:running:9694:moderate |ibs:running:9694:moderate |ibs:running:9802:moderate |ibs:running:9802:moderate | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1082023 http://bugzilla.suse.com/show_bug.cgi?id=1082023#c20 --- Comment #20 from Swamp Workflow Management <swamp@suse.de> --- This is an autogenerated message for OBS integration: This bug (1082023) was mentioned in https://build.opensuse.org/request/show/755763 15.1 / git -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1082023 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard|ibs:running:9694:moderate |ibs:running:9694:important |ibs:running:9802:moderate |ibs:running:9802:important -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1082023 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard|ibs:running:9694:important |ibs:running:9802:important |ibs:running:9802:important | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1082023 http://bugzilla.suse.com/show_bug.cgi?id=1082023#c21 --- Comment #21 from Swamp Workflow Management <swamp@suse.de> --- SUSE-SU-2019:3311-1: An update that solves 9 vulnerabilities and has one errata is now available. Category: security (important) Bug References: 1082023,1158785,1158787,1158788,1158789,1158790,1158791,1158792,1158793,1158795 CVE References: CVE-2019-1348,CVE-2019-1349,CVE-2019-1350,CVE-2019-1351,CVE-2019-1352,CVE-2019-1353,CVE-2019-1354,CVE-2019-1387,CVE-2019-19604 Sources used: SUSE OpenStack Cloud 8 (src): git-2.12.3-27.22.1 SUSE OpenStack Cloud 7 (src): git-2.12.3-27.22.1 SUSE Linux Enterprise Software Development Kit 12-SP5 (src): git-2.12.3-27.22.1 SUSE Linux Enterprise Software Development Kit 12-SP4 (src): git-2.12.3-27.22.1 SUSE Linux Enterprise Server for SAP 12-SP3 (src): git-2.12.3-27.22.1 SUSE Linux Enterprise Server for SAP 12-SP2 (src): git-2.12.3-27.22.1 SUSE Linux Enterprise Server 12-SP5 (src): git-2.12.3-27.22.1 SUSE Linux Enterprise Server 12-SP4 (src): git-2.12.3-27.22.1 SUSE Linux Enterprise Server 12-SP3-LTSS (src): git-2.12.3-27.22.1 SUSE Linux Enterprise Server 12-SP3-BCL (src): git-2.12.3-27.22.1 SUSE Linux Enterprise Server 12-SP2-LTSS (src): git-2.12.3-27.22.1 SUSE Linux Enterprise Server 12-SP2-BCL (src): git-2.12.3-27.22.1 SUSE Linux Enterprise Server 12-SP1-LTSS (src): git-2.12.3-27.22.1 SUSE Enterprise Storage 5 (src): git-2.12.3-27.22.1 SUSE CaaS Platform 3.0 (src): git-2.12.3-27.22.1 HPE Helion Openstack 8 (src): git-2.12.3-27.22.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1082023 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard|ibs:running:9802:important | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1082023 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard| |obs:running:11758:important -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1082023 http://bugzilla.suse.com/show_bug.cgi?id=1082023#c22 --- Comment #22 from Swamp Workflow Management <swamp@suse.de> --- SUSE-SU-2020:0045-1: An update that solves 9 vulnerabilities and has two fixes is now available. Category: security (important) Bug References: 1082023,1149792,1158785,1158787,1158788,1158789,1158790,1158791,1158792,1158793,1158795 CVE References: CVE-2019-1348,CVE-2019-1349,CVE-2019-1350,CVE-2019-1351,CVE-2019-1352,CVE-2019-1353,CVE-2019-1354,CVE-2019-1387,CVE-2019-19604 Sources used: SUSE Linux Enterprise Module for Open Buildservice Development Tools 15-SP1 (src): git-2.16.4-3.17.2 SUSE Linux Enterprise Module for Open Buildservice Development Tools 15 (src): git-2.16.4-3.17.2 SUSE Linux Enterprise Module for Development Tools 15-SP1 (src): git-2.16.4-3.17.2, perl-Authen-SASL-2.16-1.3.1, perl-Net-SMTP-SSL-1.04-1.3.1 SUSE Linux Enterprise Module for Development Tools 15 (src): git-2.16.4-3.17.2, perl-Authen-SASL-2.16-1.3.1, perl-Net-SMTP-SSL-1.04-1.3.1 SUSE Linux Enterprise Module for Basesystem 15-SP1 (src): git-2.16.4-3.17.2 SUSE Linux Enterprise Module for Basesystem 15 (src): git-2.16.4-3.17.2 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1082023 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard|obs:running:11758:important | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1082023 http://bugzilla.suse.com/show_bug.cgi?id=1082023#c23 --- Comment #23 from Swamp Workflow Management <swamp@suse.de> --- openSUSE-SU-2020:0123-1: An update that solves 9 vulnerabilities and has two fixes is now available. Category: security (important) Bug References: 1082023,1149792,1158785,1158787,1158788,1158789,1158790,1158791,1158792,1158793,1158795 CVE References: CVE-2019-1348,CVE-2019-1349,CVE-2019-1350,CVE-2019-1351,CVE-2019-1352,CVE-2019-1353,CVE-2019-1354,CVE-2019-1387,CVE-2019-19604 Sources used: openSUSE Leap 15.1 (src): git-2.16.4-lp151.4.3.1, perl-Authen-SASL-2.16-lp151.3.3.1, perl-Net-SMTP-SSL-1.04-lp151.3.3.1 -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com