From libssh2-devel-bounces@cool.haxx.se Wed May 12 18:18:59 2021 Return-Path: Received: from giant.haxx.se (mail [127.0.0.1]) by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id 14CGI8ih022624; Wed, 12 May 2021 18:18:39 +0200 Received: from mail.panic.com (mail.panic.com [38.103.165.36]) by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id 14CGI3Wj022610 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Wed, 12 May 2021 18:18:04 +0200 Received: from imac.localdomain (c-24-21-106-205.hsd1.or.comcast.net [24.21.106.205]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.panic.com (Postfix) with ESMTPSA id 9BDD68003A for ; Wed, 12 May 2021 09:17:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=panic.com; s=default; t=1620836279; bh=AKM0P44zlTWYZ5hbHlxZnSThYWWX/JXdvwvCNKgz3bI=; h=From:Subject:Date:To; b=gB0bzNHuKoOi3RvqFm3z6yFBhrFTFr7valojPe0w0FqMfvU8I07e2WLmOfhqoDy7T lPxIQMWlVkyU7+1cyb7YMOVF3XwW4IDwF+rWHr3EFV1sdzErWEns6rl5ImItfbQigZ 2+9pvS0ZdMOmbSs1WZT5GbjvBIfZkdwiQ/aPlGQk= From: Will Cosgrove Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.6\)) Subject: 1.9.1 release pending, please give it a look Message-Id: <2DF27D7C-8B9A-47A0-B4E0-9DE041A95066@panic.com> Date: Wed, 12 May 2021 09:17:59 -0700 To: libssh2 development X-Mailer: Apple Mail (2.3608.120.23.2.6) X-MIME-Autoconverted: from quoted-printable to 8bit by giant.haxx.se id 14CGI3Wj022610 X-BeenThere: libssh2-devel@cool.haxx.se X-Mailman-Version: 2.1.22 Precedence: list List-Id: libssh2 development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: libssh2 development Content-Type: text/plain; charset="utf-8" Errors-To: libssh2-devel-bounces@cool.haxx.se Sender: "libssh2-devel" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id 14CGI8ih022624 Hi All, We are pulling together the 1.9.1 release and I’d request, if you haven’t already, give the main branch a sanity pass with your existing code and get any last minute issues submitted ASAP. Thanks! Will _______________________________________________ libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel From libssh2-devel-bounces@cool.haxx.se Wed May 12 20:35:32 2021 Return-Path: Received: from giant.haxx.se (mail [127.0.0.1]) by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id 14CIZ24o018392; Wed, 12 May 2021 20:35:24 +0200 Received: from ciao.gmane.io (ciao.gmane.io [116.202.254.214]) by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id 14CIYvo3018333 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 12 May 2021 20:34:57 +0200 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1lgth7-0001dI-50 for libssh2-devel@cool.haxx.se; Wed, 12 May 2021 20:34:53 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: libssh2-devel@cool.haxx.se From: Jan Ehrhardt Subject: Re: 1.9.1 release pending, please give it a look Date: Wed, 12 May 2021 20:34:40 +0200 Message-ID: <1m7o9ghfm93ijed2njovse8sfpsb2igcba@4ax.com> References: <2DF27D7C-8B9A-47A0-B4E0-9DE041A95066@panic.com> Mime-Version: 1.0 X-Newsreader: Forte Agent 3.3/32.846 X-BeenThere: libssh2-devel@cool.haxx.se X-Mailman-Version: 2.1.22 Precedence: list List-Id: libssh2 development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: libssh2 development Content-Type: text/plain; charset="utf-8" Errors-To: libssh2-devel-bounces@cool.haxx.se Sender: "libssh2-devel" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id 14CIZ24o018392 Will Cosgrove in gmane.network.ssh.libssh2.devel (Wed, 12 May 2021 09:17:59 -0700): >We are pulling together the 1.9.1 release and I’d request, if you haven’t >already, give the main branch a sanity pass with your existing code and >get any last minute issues submitted ASAP. Are the dauly snapshots at https://www.libssh2.org/snapshots/ snapshots of the main branch? That would be the easiest way to test https://github.com/Frugghi/iSSH2 and https://github.com/Jan-E/iSSH2/tree/catalyst -- Jan _______________________________________________ libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel From libssh2-devel-bounces@cool.haxx.se Wed May 12 20:46:46 2021 Return-Path: Received: from giant.haxx.se (mail [127.0.0.1]) by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id 14CIkXQ7020990; Wed, 12 May 2021 20:46:44 +0200 Received: from mail.panic.com (mail.panic.com [38.103.165.36]) by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id 14CIkRgr020973 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Wed, 12 May 2021 20:46:28 +0200 Received: from imac.localdomain (c-24-21-106-205.hsd1.or.comcast.net [24.21.106.205]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.panic.com (Postfix) with ESMTPSA id E2B008003C for ; Wed, 12 May 2021 11:46:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=panic.com; s=default; t=1620845182; bh=z2wohBs2my5dKPxLTQ3ALN9Us2VerbVM4lASIbcJ6Ss=; h=From:Subject:Date:References:To:In-Reply-To; b=XpgBSRW3oN5EtQfkjYbfb2Fr90Cco7TCVv3fSiwXQR9/Izp2h8npNLpnOAVzmFsCs jvlckwffvf7duQIEt1GL5abEnN3AhIaa844FMglUiI9CVwF+FHPE37xRrSJ5dvHdtt P0iL1E+FHvng8qlFWFzEt5ssZWrKk4T6w9RIImUA= From: Will Cosgrove Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.6\)) Subject: Re: 1.9.1 release pending, please give it a look Date: Wed, 12 May 2021 11:46:22 -0700 References: <2DF27D7C-8B9A-47A0-B4E0-9DE041A95066@panic.com> <1m7o9ghfm93ijed2njovse8sfpsb2igcba@4ax.com> To: libssh2 development In-Reply-To: <1m7o9ghfm93ijed2njovse8sfpsb2igcba@4ax.com> Message-Id: <014CADDE-659B-41FC-A1D0-F0630F271BAA@panic.com> X-Mailer: Apple Mail (2.3608.120.23.2.6) X-BeenThere: libssh2-devel@cool.haxx.se X-Mailman-Version: 2.1.22 Precedence: list List-Id: libssh2 development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: libssh2 development Content-Type: multipart/mixed; boundary="===============1460338640==" Errors-To: libssh2-devel-bounces@cool.haxx.se Sender: "libssh2-devel" --===============1460338640== Content-Type: multipart/alternative; boundary="Apple-Mail=_70D6C1D7-433A-47FE-B4D1-4A5F0E9EBAC4" --Apple-Mail=_70D6C1D7-433A-47FE-B4D1-4A5F0E9EBAC4 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Looks like they are! Otherwise, you can clone it from github = (https://github.com/libssh2/libssh2 = ) and build it.=20 Cheers, Will=20 > On May 12, 2021, at 11:34 AM, Jan Ehrhardt wrote: >=20 > Will Cosgrove in gmane.network.ssh.libssh2.devel (Wed, 12 May 2021 > 09:17:59 -0700): >> We are pulling together the 1.9.1 release and I=C2=92d request, if = you haven=C2=92t >> already, give the main branch a sanity pass with your existing code = and >> get any last minute issues submitted ASAP. >=20 > Are the dauly snapshots at https://www.libssh2.org/snapshots/ = snapshots of > the main branch? That would be the easiest way to test > https://github.com/Frugghi/iSSH2 and > https://github.com/Jan-E/iSSH2/tree/catalyst=20 > --=20 > Jan >=20 > _______________________________________________ > libssh2-devel = https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel --Apple-Mail=_70D6C1D7-433A-47FE-B4D1-4A5F0E9EBAC4 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
Looks like they are! Otherwise, you can clone it from github = (https://github.com/libssh2/libssh2) and build = it. 

Cheers,

Will 


On May 12, 2021, at 11:34 AM, = Jan Ehrhardt <phpdev@ehrhardt.nl> wrote:

Will = Cosgrove in gmane.network.ssh.libssh2.devel (Wed, 12 May 2021
09:17:59 -0700):
We are pulling together the 1.9.1 release and I=C2=92d = request, if you haven=C2=92t
already, give the main branch = a sanity pass with your existing code and
get any last = minute issues submitted ASAP.

Are the dauly snapshots at https://www.libssh2.org/snapshots/ snapshots of
the main branch? That would be the easiest way to test
https://github.com/Frugghi/iSSH2 and
https://github.com/Jan-E/iSSH2/tree/catalyst
--
Jan

_______________________________________________
libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel=

= --Apple-Mail=_70D6C1D7-433A-47FE-B4D1-4A5F0E9EBAC4-- --===============1460338640== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KbGlic3NoMi1k ZXZlbCBodHRwczovL2Nvb2wuaGF4eC5zZS9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8vbGlic3No Mi1kZXZlbAo= --===============1460338640==-- From libssh2-devel-bounces@cool.haxx.se Thu May 13 02:01:30 2021 Return-Path: Received: from giant.haxx.se (mail [127.0.0.1]) by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id 14D00t4p011637; Thu, 13 May 2021 02:01:20 +0200 Received: from ciao.gmane.io (ciao.gmane.io [116.202.254.214]) by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id 14D00rB6011619 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 13 May 2021 02:00:53 +0200 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1lgymX-00099Q-LH for libssh2-devel@cool.haxx.se; Thu, 13 May 2021 02:00:49 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: libssh2-devel@cool.haxx.se From: Jan Ehrhardt Subject: Re: 1.9.1 release pending, please give it a look Date: Thu, 13 May 2021 02:00:42 +0200 Message-ID: <7iqo9gtd1td64s4okcote2sj46knp12p9e@4ax.com> References: <2DF27D7C-8B9A-47A0-B4E0-9DE041A95066@panic.com> <1m7o9ghfm93ijed2njovse8sfpsb2igcba@4ax.com> <1m7o9ghfm93ijed2njovse8sfpsb2igcba-e09XROE/p8c@public.gmane.org> <014CADDE-659B-41FC-A1D0-F0630F271BAA@panic.com> Mime-Version: 1.0 X-Newsreader: Forte Agent 3.3/32.846 X-BeenThere: libssh2-devel@cool.haxx.se X-Mailman-Version: 2.1.22 Precedence: list List-Id: libssh2 development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: libssh2 development Content-Type: text/plain; charset="utf-8" Errors-To: libssh2-devel-bounces@cool.haxx.se Sender: "libssh2-devel" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id 14D00t4p011637 Will Cosgrove in gmane.network.ssh.libssh2.devel (Wed, 12 May 2021 11:46:22 -0700): >Looks like they are! Otherwise, you can clone it from github >(https://github.com/libssh2/libssh2 ) >and build it. That was a bit hard, as neither the snapshots nor github contained ./configure. And the script at https://github.com/Frugghi/iSSH2 really needs it. I was compiling on a Mac with macOS Big Sur 11.3.1. No autotools installed. In the end I took the configure from the LibSSH2 1.9.0 and got it compiled. No problems encountered: my iPhone app uploaded 320 MB in 1:35m from my home to a datacenter somewhere in Amsterdam via sftp. -- Jan _______________________________________________ libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel From libssh2-devel-bounces@cool.haxx.se Thu May 13 02:41:41 2021 Return-Path: Received: from giant.haxx.se (mail [127.0.0.1]) by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id 14D0fM6E023483; Thu, 13 May 2021 02:41:35 +0200 Received: from fern.telarity.com (fern.telarity.com [IPv6:2605:2100:0:1:0:0:18b0:aedc]) by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id 14D0fJtb023479 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 13 May 2021 02:41:19 +0200 Received: from colibri.localdomain (unknown [207.194.131.8]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by fern.telarity.com (Postfix) with ESMTPSA id 733B8383258 for ; Wed, 12 May 2021 20:41:19 -0400 (EDT) Received: by colibri.localdomain (Postfix, from userid 501) id 6C4725F7E7; Wed, 12 May 2021 17:41:16 -0700 (PDT) Date: Wed, 12 May 2021 17:41:16 -0700 From: Dan Fandrich To: libssh2-devel@cool.haxx.se Subject: Re: 1.9.1 release pending, please give it a look Message-ID: <20210513004116.GA13677@coneharvesters.com> Mail-Followup-To: libssh2-devel@cool.haxx.se References: <2DF27D7C-8B9A-47A0-B4E0-9DE041A95066@panic.com> <1m7o9ghfm93ijed2njovse8sfpsb2igcba@4ax.com> <1m7o9ghfm93ijed2njovse8sfpsb2igcba-e09XROE/p8c@public.gmane.org> <014CADDE-659B-41FC-A1D0-F0630F271BAA@panic.com> <7iqo9gtd1td64s4okcote2sj46knp12p9e@4ax.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <7iqo9gtd1td64s4okcote2sj46knp12p9e@4ax.com> User-Agent: Mutt/1.11.4 (2019-03-13) X-BeenThere: libssh2-devel@cool.haxx.se X-Mailman-Version: 2.1.22 Precedence: list List-Id: libssh2 development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: libssh2 development Content-Type: text/plain; charset="utf-8" Errors-To: libssh2-devel-bounces@cool.haxx.se Sender: "libssh2-devel" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id 14D0fM6E023483 On Thu, May 13, 2021 at 02:00:42AM +0200, Jan Ehrhardt wrote: > That was a bit hard, as neither the snapshots nor github contained > ./configure. And the script at https://github.com/Frugghi/iSSH2 really > needs it. I was compiling on a Mac with macOS Big Sur 11.3.1. No autotools > installed. The command "autoreconf -if" will generate the configure file from the source. That's a standard autotools command that works in just about any autotools project. Dan _______________________________________________ libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel From libssh2-devel-bounces@cool.haxx.se Thu May 13 08:10:52 2021 Return-Path: Received: from giant.haxx.se (mail [127.0.0.1]) by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id 14D6ACmv025237; Thu, 13 May 2021 08:10:43 +0200 Received: from ciao.gmane.io (ciao.gmane.io [116.202.254.214]) by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id 14D6A93P024969 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 13 May 2021 08:10:09 +0200 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1lh4Xr-0009nx-VZ for libssh2-devel@cool.haxx.se; Thu, 13 May 2021 08:10:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: libssh2-devel@cool.haxx.se From: Jan Ehrhardt Subject: Re: 1.9.1 release pending, please give it a look Date: Thu, 13 May 2021 08:09:57 +0200 Message-ID: References: <2DF27D7C-8B9A-47A0-B4E0-9DE041A95066@panic.com> <1m7o9ghfm93ijed2njovse8sfpsb2igcba@4ax.com> <1m7o9ghfm93ijed2njovse8sfpsb2igcba-e09XROE/p8c@public.gmane.org> <014CADDE-659B-41FC-A1D0-F0630F271BAA@panic.com> <7iqo9gtd1td64s4okcote2sj46knp12p9e@4ax.com> <7iqo9gtd1td64s4okcote2sj46knp12p9e-e09XROE/p8c@public.gmane.org> <20210513004116.GA13677@coneharvesters.com> Mime-Version: 1.0 X-Newsreader: Forte Agent 3.3/32.846 X-BeenThere: libssh2-devel@cool.haxx.se X-Mailman-Version: 2.1.22 Precedence: list List-Id: libssh2 development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: libssh2 development Content-Type: text/plain; charset="utf-8" Errors-To: libssh2-devel-bounces@cool.haxx.se Sender: "libssh2-devel" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id 14D6ACmv025237 Dan Fandrich in gmane.network.ssh.libssh2.devel (Wed, 12 May 2021 17:41:16 -0700): >On Thu, May 13, 2021 at 02:00:42AM +0200, Jan Ehrhardt wrote: >> That was a bit hard, as neither the snapshots nor github contained >> ./configure. And the script at https://github.com/Frugghi/iSSH2 really >> needs it. I was compiling on a Mac with macOS Big Sur 11.3.1. No autotools >> installed. > >The command "autoreconf -if" will generate the configure file from the source. >That's a standard autotools command that works in just about any autotools >project. I know that autoreconf should do the trick. But autoreconf is not part of the standard toolset on macOS with Xcode. I never needed it up until now. See for instance https://superuser.com/a/897316/173319 for the extra steps needed. -- Jan _______________________________________________ libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel From libssh2-devel-bounces@cool.haxx.se Thu May 13 09:18:56 2021 Return-Path: Received: from giant.haxx.se (mail [127.0.0.1]) by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id 14D7IR2X007041; Thu, 13 May 2021 09:18:48 +0200 Received: from fern.telarity.com (fern.telarity.com [IPv6:2605:2100:0:1:0:0:18b0:aedc]) by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id 14D7INKs007025 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 13 May 2021 09:18:24 +0200 Received: from colibri.localdomain (unknown [207.194.131.8]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by fern.telarity.com (Postfix) with ESMTPSA id 37EDE383258 for ; Thu, 13 May 2021 03:18:23 -0400 (EDT) Received: by colibri.localdomain (Postfix, from userid 501) id 7D5485F7E7; Thu, 13 May 2021 00:18:21 -0700 (PDT) Date: Thu, 13 May 2021 00:18:21 -0700 From: Dan Fandrich To: libssh2-devel@cool.haxx.se Subject: Re: 1.9.1 release pending, please give it a look Message-ID: <20210513071821.GA11080@coneharvesters.com> Mail-Followup-To: libssh2-devel@cool.haxx.se References: <2DF27D7C-8B9A-47A0-B4E0-9DE041A95066@panic.com> <1m7o9ghfm93ijed2njovse8sfpsb2igcba@4ax.com> <1m7o9ghfm93ijed2njovse8sfpsb2igcba-e09XROE/p8c@public.gmane.org> <014CADDE-659B-41FC-A1D0-F0630F271BAA@panic.com> <7iqo9gtd1td64s4okcote2sj46knp12p9e@4ax.com> <7iqo9gtd1td64s4okcote2sj46knp12p9e-e09XROE/p8c@public.gmane.org> <20210513004116.GA13677@coneharvesters.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.4 (2019-03-13) X-BeenThere: libssh2-devel@cool.haxx.se X-Mailman-Version: 2.1.22 Precedence: list List-Id: libssh2 development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: libssh2 development Content-Type: text/plain; charset="utf-8" Errors-To: libssh2-devel-bounces@cool.haxx.se Sender: "libssh2-devel" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id 14D7IR2X007041 On Thu, May 13, 2021 at 08:09:57AM +0200, Jan Ehrhardt wrote: > Dan Fandrich in gmane.network.ssh.libssh2.devel (Wed, 12 May 2021 17:41:16 > >The command "autoreconf -if" will generate the configure file from the source. > >That's a standard autotools command that works in just about any autotools > >project. > > I know that autoreconf should do the trick. But autoreconf is not part of > the standard toolset on macOS with Xcode. I never needed it up until now. > See for instance https://superuser.com/a/897316/173319 for the extra steps > needed. You're using an unreleased version of the source code for developers, so you'll have to expect to use developer tools. If you use a released version, configure will be included and you won't need to use these. Dan _______________________________________________ libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel From libssh2-devel-bounces@cool.haxx.se Thu May 13 12:13:46 2021 Return-Path: Received: from giant.haxx.se (mail [127.0.0.1]) by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id 14DADL4u004988; Thu, 13 May 2021 12:13:40 +0200 Received: from silly.haxx.se (silly.haxx.se [159.253.31.95]) by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id 14DACtD5004957 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 13 May 2021 12:12:55 +0200 Received: by silly.haxx.se (Postfix, from userid 1001) id 65CB25E53A; Thu, 13 May 2021 12:12:56 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by silly.haxx.se (Postfix) with ESMTP id 634747D619 for ; Thu, 13 May 2021 12:12:56 +0200 (CEST) Date: Thu, 13 May 2021 12:12:56 +0200 (CEST) From: Daniel Stenberg X-X-Sender: dast@silly To: libssh2 development Subject: Re: 1.9.1 release pending, please give it a look In-Reply-To: <1m7o9ghfm93ijed2njovse8sfpsb2igcba@4ax.com> Message-ID: References: <2DF27D7C-8B9A-47A0-B4E0-9DE041A95066@panic.com> <1m7o9ghfm93ijed2njovse8sfpsb2igcba@4ax.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) X-fromdanielhimself: yes MIME-Version: 1.0 X-BeenThere: libssh2-devel@cool.haxx.se X-Mailman-Version: 2.1.22 Precedence: list List-Id: libssh2 development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: libssh2 development Content-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: libssh2-devel-bounces@cool.haxx.se Sender: "libssh2-devel" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id 14DADL4u004988 On Wed, 12 May 2021, Jan Ehrhardt wrote: > Are the dauly snapshots at https://www.libssh2.org/snapshots/ snapshots of > the main branch? Yes they are! -- / daniel.haxx.se _______________________________________________ libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel From libssh2-devel-bounces@cool.haxx.se Thu May 13 19:08:23 2021 Return-Path: Received: from giant.haxx.se (mail [127.0.0.1]) by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id 14DH7jaF023284; Thu, 13 May 2021 19:08:10 +0200 Received: from ciao.gmane.io (ciao.gmane.io [116.202.254.214]) by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id 14DH7hkT023270 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 13 May 2021 19:07:43 +0200 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1lhEoE-00037i-R6 for libssh2-devel@cool.haxx.se; Thu, 13 May 2021 19:07:38 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: libssh2-devel@cool.haxx.se From: Jan Ehrhardt Subject: Re: 1.9.1 release pending, please give it a look Date: Thu, 13 May 2021 19:07:34 +0200 Message-ID: <01nq9gd1ian0r4ltphu1rg78g15amv6l05@4ax.com> References: <1m7o9ghfm93ijed2njovse8sfpsb2igcba@4ax.com> <1m7o9ghfm93ijed2njovse8sfpsb2igcba-e09XROE/p8c@public.gmane.org> <014CADDE-659B-41FC-A1D0-F0630F271BAA@panic.com> <7iqo9gtd1td64s4okcote2sj46knp12p9e@4ax.com> <7iqo9gtd1td64s4okcote2sj46knp12p9e-e09XROE/p8c@public.gmane.org> <20210513004116.GA13677@coneharvesters.com> <20210513071821.GA11080@coneharvesters.com> Mime-Version: 1.0 X-Newsreader: Forte Agent 3.3/32.846 X-BeenThere: libssh2-devel@cool.haxx.se X-Mailman-Version: 2.1.22 Precedence: list List-Id: libssh2 development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: libssh2 development Content-Type: text/plain; charset="utf-8" Errors-To: libssh2-devel-bounces@cool.haxx.se Sender: "libssh2-devel" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id 14DH7jaF023284 Dan Fandrich in gmane.network.ssh.libssh2.devel (Thu, 13 May 2021 00:18:21 -0700): >On Thu, May 13, 2021 at 08:09:57AM +0200, Jan Ehrhardt wrote: >> Dan Fandrich in gmane.network.ssh.libssh2.devel (Wed, 12 May 2021 17:41:16 >> >The command "autoreconf -if" will generate the configure file from the source. >> >That's a standard autotools command that works in just about any autotools >> >project. >> >> I know that autoreconf should do the trick. But autoreconf is not part of >> the standard toolset on macOS with Xcode. I never needed it up until now. >> See for instance https://superuser.com/a/897316/173319 for the extra steps >> needed. > >You're using an unreleased version of the source code for developers, so you'll >have to expect to use developer tools. If you use a released version, configure >will be included and you won't need to use these. It was just a one time effort, as a reaction to Will's request for a sanity pass. -- Jan _______________________________________________ libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel From libssh2-devel-bounces@cool.haxx.se Thu May 13 20:34:44 2021 Return-Path: Received: from giant.haxx.se (mail [127.0.0.1]) by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id 14DIYKil009569; Thu, 13 May 2021 20:34:39 +0200 Received: from mail.panic.com (mail.panic.com [38.103.165.36]) by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id 14DIYHgW009545 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Thu, 13 May 2021 20:34:18 +0200 Received: from imac.localdomain (c-24-21-106-205.hsd1.or.comcast.net [24.21.106.205]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.panic.com (Postfix) with ESMTPSA id 83C9F8003B for ; Thu, 13 May 2021 11:34:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=panic.com; s=default; t=1620930852; bh=OEosnVmzKjem8xQh0iyj7CVjgQxsu42kJLG4Sw8btlA=; h=From:Subject:Date:References:To:In-Reply-To; b=o5xGynG882uAkQu0ix7GMG/Awx1fWMUU9lroTCKkUP7HyKJs4Hwl46QzCMFijAEr2 JHW7f551CQ+N4oZdrAuZLn0j1TX7KFIhG2Isrlksxsnk6XtOijjeF/HlQwZ+B6wcbi g+DTPMxlTuzxftGUjbtxqgEN9i2nQMGdgsa3WlYc= From: Will Cosgrove Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.6\)) Subject: Re: 1.9.1 release pending, please give it a look Date: Thu, 13 May 2021 11:34:11 -0700 References: <1m7o9ghfm93ijed2njovse8sfpsb2igcba@4ax.com> <1m7o9ghfm93ijed2njovse8sfpsb2igcba-e09XROE/p8c@public.gmane.org> <014CADDE-659B-41FC-A1D0-F0630F271BAA@panic.com> <7iqo9gtd1td64s4okcote2sj46knp12p9e@4ax.com> <7iqo9gtd1td64s4okcote2sj46knp12p9e-e09XROE/p8c@public.gmane.org> <20210513004116.GA13677@coneharvesters.com> <20210513071821.GA11080@coneharvesters.com> <01nq9gd1ian0r4ltphu1rg78g15amv6l05@4ax.com> To: libssh2 development In-Reply-To: <01nq9gd1ian0r4ltphu1rg78g15amv6l05@4ax.com> Message-Id: X-Mailer: Apple Mail (2.3608.120.23.2.6) X-MIME-Autoconverted: from quoted-printable to 8bit by giant.haxx.se id 14DIYHgW009545 X-BeenThere: libssh2-devel@cool.haxx.se X-Mailman-Version: 2.1.22 Precedence: list List-Id: libssh2 development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: libssh2 development Content-Type: text/plain; charset="utf-8" Errors-To: libssh2-devel-bounces@cool.haxx.se Sender: "libssh2-devel" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id 14DIYKil009569 I do apprecate the efforts! In fact, I couldn’t run autoreconf with the configure.ac file as-is on my Mac (PR #594 if anyone is interested) so copying your old config file was fine for a quick test. Cheers, Will >>> Dan Fandrich in gmane.network.ssh.libssh2.devel (Wed, 12 May 2021 17:41:16 >>>> The command "autoreconf -if" will generate the configure file from the source. >>>> That's a standard autotools command that works in just about any autotools >>>> project. >>> >>> I know that autoreconf should do the trick. But autoreconf is not part of >>> the standard toolset on macOS with Xcode. I never needed it up until now. >>> See for instance https://superuser.com/a/897316/173319 for the extra steps >>> needed. >> >> You're using an unreleased version of the source code for developers, so you'll >> have to expect to use developer tools. If you use a released version, configure >> will be included and you won't need to use these. > > It was just a one time effort, as a reaction to Will's request for a > sanity pass. > -- > Jan > > _______________________________________________ > libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel _______________________________________________ libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel From libssh2-devel-bounces@cool.haxx.se Fri May 14 23:37:59 2021 Return-Path: Received: from giant.haxx.se (mail [127.0.0.1]) by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id 14ELbBC7030996; Fri, 14 May 2021 23:37:36 +0200 Received: from silly.haxx.se (silly.haxx.se [IPv6:2a02:750:7:3305:0:0:0:2aa]) by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id 14ELbAlk030987 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 14 May 2021 23:37:10 +0200 Received: by silly.haxx.se (Postfix, from userid 1001) id F0AC25E5AF; Fri, 14 May 2021 23:37:11 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by silly.haxx.se (Postfix) with ESMTP id EE5CF7D178 for ; Fri, 14 May 2021 23:37:11 +0200 (CEST) Date: Fri, 14 May 2021 23:37:11 +0200 (CEST) From: Daniel Stenberg X-X-Sender: dast@silly To: libssh2 development Subject: Re: 1.9.1 release pending, please give it a look In-Reply-To: <2DF27D7C-8B9A-47A0-B4E0-9DE041A95066@panic.com> Message-ID: References: <2DF27D7C-8B9A-47A0-B4E0-9DE041A95066@panic.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) X-fromdanielhimself: yes MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="-39887073-90218048-1621028231=:3530" X-BeenThere: libssh2-devel@cool.haxx.se X-Mailman-Version: 2.1.22 Precedence: list List-Id: libssh2 development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: libssh2 development Errors-To: libssh2-devel-bounces@cool.haxx.se Sender: "libssh2-devel" This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---39887073-90218048-1621028231=:3530 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8BIT On Wed, 12 May 2021, Will Cosgrove wrote: > We are pulling together the 1.9.1 release and I’d request, if you haven’t > already, give the main branch a sanity pass with your existing code and get > any last minute issues submitted ASAP. There are a few changes and improvementslanded since 1.9.0 though, shouldn't the next release from master than perhaps rather be called 1.10.0 ? -- / daniel.haxx.se ---39887073-90218048-1621028231=:3530 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KbGlic3NoMi1k ZXZlbCBodHRwczovL2Nvb2wuaGF4eC5zZS9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8vbGlic3No Mi1kZXZlbAo= ---39887073-90218048-1621028231=:3530-- From libssh2-devel-bounces@cool.haxx.se Fri May 14 23:45:14 2021 Return-Path: Received: from giant.haxx.se (mail [127.0.0.1]) by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id 14ELj9iS032645; Fri, 14 May 2021 23:45:14 +0200 Received: from mail.panic.com (mail.panic.com [38.103.165.36]) by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id 14ELj6kq032170 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Fri, 14 May 2021 23:45:07 +0200 Received: from imac.localdomain (c-24-21-106-205.hsd1.or.comcast.net [24.21.106.205]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.panic.com (Postfix) with ESMTPSA id 6064480046 for ; Fri, 14 May 2021 14:45:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=panic.com; s=default; t=1621028701; bh=S6x/84heT7LvWkipW9yMfHNd4hf7Zmv+buVSaausmIg=; h=From:Subject:Date:References:To:In-Reply-To; b=TYQNUFv7rvGCp/LbqPkklSAMspj9uZojo/Z/4cNziVZjst3ZIPckzdi5b5+jp9r4e TVYJuCa6XGQh3OLXBNuJWufqycuY7ECktX6dFlGAfd/XgJa7OH+Vpr2HOtsZqLhEF7 yY8q7ROToqNIP8r4Su8uW2On+zEuBWnXEuU64S0Q= From: Will Cosgrove Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.6\)) Subject: Re: 1.9.1 release pending, please give it a look Date: Fri, 14 May 2021 14:45:00 -0700 References: <2DF27D7C-8B9A-47A0-B4E0-9DE041A95066@panic.com> To: libssh2 development In-Reply-To: Message-Id: <563B21ED-3EA5-4CC4-B1B0-A9AA0A4331B7@panic.com> X-Mailer: Apple Mail (2.3608.120.23.2.6) X-MIME-Autoconverted: from quoted-printable to 8bit by giant.haxx.se id 14ELj6kq032170 X-BeenThere: libssh2-devel@cool.haxx.se X-Mailman-Version: 2.1.22 Precedence: list List-Id: libssh2 development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: libssh2 development Content-Type: text/plain; charset="utf-8" Errors-To: libssh2-devel-bounces@cool.haxx.se Sender: "libssh2-devel" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id 14ELj9iS032645 Yup, sure. There are some features added so that makes sense. I’ll update the change logs PR to refer to 1.10. Will > On May 14, 2021, at 2:37 PM, Daniel Stenberg wrote: > > On Wed, 12 May 2021, Will Cosgrove wrote: > >> We are pulling together the 1.9.1 release and I’d request, if you haven’t already, give the main branch a sanity pass with your existing code and get any last minute issues submitted ASAP. > > There are a few changes and improvementslanded since 1.9.0 though, shouldn't the next release from master than perhaps rather be called 1.10.0 ? > > -- > > / daniel.haxx.se_______________________________________________ > libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel _______________________________________________ libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel From libssh2-devel-bounces@cool.haxx.se Mon May 17 11:38:35 2021 Return-Path: Received: from giant.haxx.se (mail [127.0.0.1]) by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id 14H9buYF019313; Mon, 17 May 2021 11:38:21 +0200 Received: from smtp-outgoing-2001.laposte.net (smtp-outgoing-2001.laposte.net [160.92.124.108]) by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id 14H9bsdB019308 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 17 May 2021 11:37:55 +0200 X-mail-filterd: {"version":"1.2.2", "queueID":"4FkDZP4fHpzgY7n", "contextId":"ab438a50-eb3e-4966-a8aa-9ed2fd25d074"} Received: from outgoing-mail.laposte.net (localhost.localdomain [127.0.0.1]) by mlpnf0104.laposte.net (SMTP Server) with ESMTP id 4FkDZP4fHpzgY7n for ; Mon, 17 May 2021 11:37:49 +0200 (CEST) X-mail-filterd: {"version":"1.2.2", "queueID":"4FkDZP3V1KzgY7m", "contextId":"205e4ec5-1919-4d74-aea8-af0224f63b73"} X-lpn-mailing: LEGIT X-lpn-spamrating: 36 X-lpn-spamlevel: not-spam X-lpn-spamcause: OK, (-100)(0000)gggruggvucftvghtrhhoucdtuddrgeduledrvdeihedgudekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecunfetrffquffvgfdpqfgfvfdpggftfghnshhusghstghrihgsvgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepfffhvffukfhfgggtugfgjgesthekredttddtjeenucfhrhhomhepnfgruhhrvghnthcuufhtrggtuhhluceolhgruhhrvghnthdrshhtrggtuhhlsehlrghpohhsthgvrdhnvghtqeenucggtffrrghtthgvrhhnpedvkeevhfduuddvudefhfejleehteeuheehgeffueetvddtvdeivddtkeevkefhudenucffohhmrghinheplhhisghsshhhvddrohhrghdphhgrgiigrdhsvgenucfkphepledtrdekrddvgeejrddvgeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehhvghlohepshgrthhurhhnvgdrhhhomhgvpdhinhgvthepledtrdekrddvgeejrddvgeehpdhmrghilhhfrhhomheplhgruhhrvghnthdrshhtrggtuhhlsehlrghpohhsthgvrdhnvghtpdhrtghpthhtoheplhhisghsshhhvddquggvvhgvlhestghoohhlrdhhrgiggidrshgv Received: from saturne.home (amarseille-656-1-670-245.w90-8.abo.wanadoo.fr [90.8.247.245]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mlpnf0104.laposte.net (SMTP Server) with ESMTPSA id 4FkDZP3V1KzgY7m for ; Mon, 17 May 2021 11:37:49 +0200 (CEST) Date: Mon, 17 May 2021 11:37:44 +0200 From: Laurent Stacul To: libssh2 development Subject: Re: 1.9.1 release pending, please give it a look Message-ID: References: <2DF27D7C-8B9A-47A0-B4E0-9DE041A95066@panic.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <2DF27D7C-8B9A-47A0-B4E0-9DE041A95066@panic.com> DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=laposte.net; s=lpn-wlmd; t=1621244269; bh=GYALi45yagW+d7ouDxkH/+Hdia60XaUlS7Y5lN6hxmk=; h=Date:From:To:Subject:Message-ID:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:Content-Transfer-Encoding; b=l8GJ4mDbIgQCH4R38vTP/Z/tw8rKhtrVcH40f+TkYXd5Kia7Iq85F2aZORwexVayu/oetafQFA97RI6NH24Wbu1nbMvfpIXoonZUXlmxLRRPVhOGogVOEcoa/HtXjIP87s5qBl9UtDI1WlNic2/ehC+zwsU3wg+e99J3966a7GxkwAXNoNtPqK4DZnDN6OZFQLfTIW8J3mfMzSiOAQ7IV10R5FhYRNPkwyN5b3xWepV92izmaGlQ9H5k2TfkcP2dzdyHdJFxRW2B0Fgzb1Gn+MNNPT/OhSawby5qkLtvL9uvpI5FrEvY1wzQCpM7l86IbPpmGiyvEi9tTsLe67nl8g==; X-MIME-Autoconverted: from quoted-printable to 8bit by giant.haxx.se id 14H9bsdB019308 X-BeenThere: libssh2-devel@cool.haxx.se X-Mailman-Version: 2.1.22 Precedence: list List-Id: libssh2 development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: libssh2 development Content-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: libssh2-devel-bounces@cool.haxx.se Sender: "libssh2-devel" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id 14H9buYF019313 Hello, I am giving a try to libssh2 1.10.0. I tool the snapshot of 20210517 (https://libssh2.org/snapshots/libssh2-1.9.0-20210517.tar.gz). Build with CMake is ok but running the tests fails: + ctest --output-on-failure Test project /home/docker/development/opensource-pack-builder/components/ssh2/BUILD/libssh2-1.9.0-20210517/_build_shared Start 1: test_hostkey 1/14 Test #1: test_hostkey ....................................................***Failed 0.21 sec Error running command 'docker build -t libssh2/openssh_server openssh_server' (exit 256): Sending build context to Docker daemon 10.75kB Step 1/32 : FROM debian:jessie ---> 3aaeab7a4777 Step 2/32 : RUN apt-get update && apt-get install -y openssh-server && apt-get clean && rm -rf /var/lib/apt/lists/* ---> Using cache ---> 396dccb5e4e3 Step 3/32 : RUN mkdir /var/run/sshd ---> Using cache ---> 08b0b21b084b Step 4/32 : COPY ssh_host_rsa_key /tmp/etc/ssh/ssh_host_rsa_key ---> Using cache ---> 5ce3c9d315c9 Step 5/32 : RUN mv /tmp/etc/ssh/ssh_host_rsa_key /etc/ssh/ssh_host_rsa_key ---> Using cache ---> bae8bc7d29f0 Step 6/32 : RUN chmod 600 /etc/ssh/ssh_host_rsa_key ---> Using cache ---> 7597e217b7a9 Step 7/32 : COPY ssh_host_ecdsa_key /tmp/etc/ssh/ssh_host_ecdsa_key COPY failed: file not found in build context or excluded by .dockerignore: stat ssh_host_ecdsa_key: file does not exist Failed to build docker image I think those distribution extra files are missing in the automake config. Regards, Stac On Wed, May 12, 2021 at 09:17:59AM -0700, Will Cosgrove wrote: >Hi All, >We are pulling together the 1.9.1 release and I’d request, if you haven’t already, give the main branch a sanity pass with your existing code and get any last minute issues submitted ASAP. > >Thanks! > >Will >_______________________________________________ >libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel _______________________________________________ libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel From libssh2-devel-bounces@cool.haxx.se Tue May 18 10:58:17 2021 Return-Path: Received: from giant.haxx.se (mail [127.0.0.1]) by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id 14I8vjjs006024; Tue, 18 May 2021 10:58:09 +0200 Received: from smtp-outgoing-2003.laposte.net (smtp-outgoing-2003.laposte.net [160.92.124.110]) by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id 14I8vhug006009 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 18 May 2021 10:57:43 +0200 X-mail-filterd: {"version":"1.2.2", "queueID":"4FkqdW4mF3zdZLl", "contextId":"3447c8e5-5232-416a-8734-38b48ae06f5c"} Received: from outgoing-mail.laposte.net (localhost.localdomain [127.0.0.1]) by mlpnf0106.laposte.net (SMTP Server) with ESMTP id 4FkqdW4mF3zdZLl for ; Tue, 18 May 2021 10:57:35 +0200 (CEST) X-mail-filterd: {"version":"1.2.2", "queueID":"4FkqdW388gzdZLZ", "contextId":"245ff604-ecae-4899-894b-51d631ef14a6"} X-lpn-mailing: LEGIT X-lpn-spamrating: 36 X-lpn-spamlevel: not-spam X-lpn-spamcause: OK, (-100)(0000)gggruggvucftvghtrhhoucdtuddrgeduledrvdeijedgtdelucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecunfetrffquffvgfdpqfgfvfdpggftfghnshhusghstghrihgsvgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepfffhvffukfhfgggtugfgjgesthekredttddtjeenucfhrhhomhepnfgruhhrvghnthcuufhtrggtuhhluceolhgruhhrvghnthdrshhtrggtuhhlsehlrghpohhsthgvrdhnvghtqeenucggtffrrghtthgvrhhnpeeitdefvdeutedtveeikeetfedvueefuedvteejleeujefhueelheeludduteelveenucffohhmrghinheplhhisghsshhhvddrohhrghdpghhithhhuhgsrdgtohhmpdhhrgiggidrshgvnecukfhppeeltddrkedrvdegjedrvdegheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhephhgvlhhopehsrghtuhhrnhgvrdhhohhmvgdpihhnvghtpeeltddrkedrvdegjedrvdeghedpmhgrihhlfhhrohhmpehlrghurhgvnhhtrdhsthgrtghulheslhgrphhoshhtvgdrnhgvthdprhgtphhtthhopehlihgsshhshhdvqdguvghvvghlsegtohholhdrhhgrgiigrdhsvg Received: from saturne.home (amarseille-656-1-670-245.w90-8.abo.wanadoo.fr [90.8.247.245]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mlpnf0106.laposte.net (SMTP Server) with ESMTPSA id 4FkqdW388gzdZLZ for ; Tue, 18 May 2021 10:57:35 +0200 (CEST) Date: Tue, 18 May 2021 10:57:31 +0200 From: Laurent Stacul To: libssh2 development Subject: Re: 1.9.1 release pending, please give it a look Message-ID: Mail-Followup-To: libssh2 development References: <2DF27D7C-8B9A-47A0-B4E0-9DE041A95066@panic.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <2DF27D7C-8B9A-47A0-B4E0-9DE041A95066@panic.com> DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=laposte.net; s=lpn-wlmd; t=1621328258; bh=WndmnN45b4fYLeciXfBUfsrCR4UYqWz82qCj2nSd8yE=; h=Date:From:To:Subject:Message-ID:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:Content-Transfer-Encoding; b=J0HnszW42Leftk7uTuKCkvzG9ffN2k/QGwNuVOZHGaBHM4pP+ZYVRF37tVX9u72aZvAkC4O5DSNvckVal4Ij4FQQXekMZB3LOBxWtIvHIH9bJakitXLGhCzW189jLlSYh9ceJXuApQ7m4up+CfK/u1bksWljX0FeM7GLzHphSqatDKuLChmnOLxGtE8vxXsAHcaqZA18B6UBUZUB2xOZlNaTxbuj9yXirVjZZzhsxJwQGtC7eJsyAeRCzELDsAPWgojsSEkmj2k+FWDhvH7FRsV/g5JnT//wHPczVWRCypEfsK15iO1oNbVn6dSsDTV2HO42whU9P/ECzfOyBYFojg==; X-MIME-Autoconverted: from quoted-printable to 8bit by giant.haxx.se id 14I8vhug006009 X-BeenThere: libssh2-devel@cool.haxx.se X-Mailman-Version: 2.1.22 Precedence: list List-Id: libssh2 development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: libssh2 development Content-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: libssh2-devel-bounces@cool.haxx.se Sender: "libssh2-devel" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id 14I8vjjs006024 Hello, In fact, there was still some missing file in the daily tarball (https://libssh2.org/snapshots/libssh2-1.9.0-20210518.tar.gz). I provided a PR to solve this (https://github.com/libssh2/libssh2/pull/604). I was also wondering if you would mind integrating the PRs I did to be able to the the tests inside an OCI container: - https://github.com/libssh2/libssh2/pull/557 - https://github.com/libssh2/libssh2/pull/560 - https://github.com/libssh2/libssh2/pull/559 As these PRs only touch tests (and more particularly the ones run when using CMake), I don't think it would hurt. Thanks in advance for your answers. Regards, Laurent On Wed, May 12, 2021 at 09:17:59AM -0700, Will Cosgrove wrote: >Hi All, >We are pulling together the 1.9.1 release and I’d request, if you haven’t already, give the main branch a sanity pass with your existing code and get any last minute issues submitted ASAP. > >Thanks! > >Will >_______________________________________________ >libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel _______________________________________________ libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel From libssh2-devel-bounces@cool.haxx.se Tue May 18 19:48:52 2021 Return-Path: Received: from giant.haxx.se (mail [127.0.0.1]) by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id 14IHmGwu032170; Tue, 18 May 2021 19:48:41 +0200 Received: from relay.yourmailgateway.de (relay.yourmailgateway.de [188.68.63.97]) by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id 14IHmF9s032161 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 18 May 2021 19:48:15 +0200 Received: from mors-relay-2501.netcup.net (localhost [127.0.0.1]) by mors-relay-2501.netcup.net (Postfix) with ESMTPS id 4Fl3Pq3r6nz5Fl6 for ; Tue, 18 May 2021 19:48:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=marc-hoersken.de; s=key2; t=1621360095; bh=9ev2PLjSB5+XX8UeazHtXvUXSHUH3zY6CxAhJpUVC5Q=; h=Subject:To:References:From:Date:In-Reply-To:From; b=H9VinsQhXOyGfoW1ParLNFETTi1IejOM7ITSLaTpOi5b1fS/cgvVb739y5xvJ00Sy sU8tvbHghf6SjXXl8OlEnxlJP7mkGamoakW/UKCXgJyKByWeLPPyqs2luWdZ3/Plte ZY+MewiigRRyXYTH7spk625lVlNjHqAYhRClm4dx1i1kpR5tBBMHxRPbGMwQbRRVtb 0UJz1m0eZlrk2XH+/0LlYDpmlt/lRepqW9/ciJn/UJ/BZPcnRmDpF7xKQlkDML3cPd mPaSOcydFmcr0nHqXjEejaiRniQpmn15ZQROid1kyS8Rn2GZOdSijAFFdEOZgkmKtW klB40X+xMfZSw== Received: from policy01-mors.netcup.net (unknown [46.38.225.35]) by mors-relay-2501.netcup.net (Postfix) with ESMTPS id 4Fl3Pq3RRgz5FHf for ; Tue, 18 May 2021 19:48:15 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at policy01-mors.netcup.net X-Spam-Flag: NO X-Spam-Score: -3.1 X-Spam-Level: X-Spam-Status: No, score=-3.1 required=6.31 tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no Received: from mx2f80.netcup.net (unknown [10.243.12.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by policy01-mors.netcup.net (Postfix) with ESMTPS id 4Fl3Pl2k9Vz8tsp for ; Tue, 18 May 2021 19:48:11 +0200 (CEST) Received: from localhost (v220201141477133635.uxnr.de [45.132.245.196]) by mx2f80.netcup.net (Postfix) with ESMTPSA id B3510625BC for ; Tue, 18 May 2021 19:48:10 +0200 (CEST) Authentication-Results: mx2f80; spf=pass (sender IP is 45.132.245.196) smtp.mailfrom=info@marc-hoersken.de smtp.helo=localhost Received-SPF: pass (mx2f80: connection is authenticated) Received: by mxdkim.uxnr.de (smtp-dkim-signer) with ESMTPSA id E5C54DF9C5; Tue, 18 May 2021 17:48:10 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=9ev2PLjSB5+XX8UeazHtXvUXSHUH3zY6CxAhJpUVC5 Q=; c=relaxed/simple; d=marc-hoersken.de; h=From:Reply-To:Subject:Date:To:C c:In-Reply-To:References:Message-ID:Resent-Date:Resent-From:Resent-To:Resen t-Cc; s=picard; t=1621360090; v=1; b=j9yy7BOyfqZg+wqDV4iC9iUHkYgFf2DG4kEFLd YcokjwnjNG3MA5xOzGZU9UpyIw4nIJ+LrW/Ehon0Ijmb6PoVTFNPraYqcAAVEwoojz+XTBhiEjj TMmrMe35o38bYKOFVSCmMfoXShgtFM9fQqCJGel3um5GZJLODJKUdDWsEg=; Subject: Re: 1.9.1 release pending, please give it a look To: libssh2-devel@cool.haxx.se References: <2DF27D7C-8B9A-47A0-B4E0-9DE041A95066@panic.com> From: Marc Hoersken Message-ID: <88884e93-d115-6d09-ae85-497b77d624cb@marc-hoersken.de> Date: Tue, 18 May 2021 19:48:05 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 MIME-Version: 1.0 In-Reply-To: Content-Language: en-GB X-PPP-Message-ID: <162136009106.10438.223039649069730507@mx2f80.netcup.net> X-PPP-Vhost: marc-hoersken.de X-NC-CID: McTTxmwBAATOs57yFV7M8b6W2J7PiF8xHAl5MJNoBbwhiQK1hg== X-BeenThere: libssh2-devel@cool.haxx.se X-Mailman-Version: 2.1.22 Precedence: list List-Id: libssh2 development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: libssh2 development Content-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: libssh2-devel-bounces@cool.haxx.se Sender: "libssh2-devel" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id 14IHmGwu032170 Hello, Am 18.05.2021 um 10:57 schrieb Laurent Stacul: > I was also wondering if you would mind integrating the PRs I did to be > able to the the tests inside an OCI container: > > - https://github.com/libssh2/libssh2/pull/557 > - https://github.com/libssh2/libssh2/pull/560 > - https://github.com/libssh2/libssh2/pull/559 > > As these PRs only touch tests (and more particularly the ones run when > using CMake), I don't think it would hurt. I am currently working on making the tests work again on AppVeyor and would like to merge your changes after that to see if they break anything there. This will hopefully happen during this week or on the weekend, but I am not sure if this will be in time for the release. Best regards, Marc _______________________________________________ libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel From libssh2-devel-bounces@cool.haxx.se Wed May 19 16:23:18 2021 Return-Path: Received: from giant.haxx.se (mail [127.0.0.1]) by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id 14JEMh9b004597; Wed, 19 May 2021 16:23:08 +0200 Received: from smtp-outgoing-1701.laposte.net (smtp-outgoing-1701.laposte.net [160.92.124.99]) by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id 14JEMf9N004580 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 19 May 2021 16:22:42 +0200 X-mail-filterd: {"version":"1.2.2", "queueID":"4FlZp311nbzPjdF", "contextId":"11c1b800-16e2-4d0d-83e2-19ac432dec89"} Received: from outgoing-mail.laposte.net (localhost.localdomain [127.0.0.1]) by mlpnf0117.laposte.net (SMTP Server) with ESMTP id 4FlZp311nbzPjdF for ; Wed, 19 May 2021 16:22:35 +0200 (CEST) X-mail-filterd: {"version":"1.2.2", "queueID":"4FlZp26q2czPjd8", "contextId":"d76c21b2-ca07-476b-84d2-109202f68a85"} X-lpn-mailing: LEGIT X-lpn-spamrating: 36 X-lpn-spamlevel: not-spam X-lpn-spamcause: OK, (-100)(0000)gggruggvucftvghtrhhoucdtuddrgeduledrvdeiledgjeegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecunfetrffquffvgfdpqfgfvfdpggftfghnshhusghstghrihgsvgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepfffhvffukfhfgggtugfgjgesthekredttddtjeenucfhrhhomhepnfgruhhrvghnthcuufhtrggtuhhluceolhgruhhrvghnthdrshhtrggtuhhlsehlrghpohhsthgvrdhnvghtqeenucggtffrrghtthgvrhhnpedvkeevhfduuddvudefhfejleehteeuheehgeffueetvddtvdeivddtkeevkefhudenucffohhmrghinheplhhisghsshhhvddrohhrghdphhgrgiigrdhsvgenucfkphepledtrdekrddvgeejrddvgeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehhvghlohepshgrthhurhhnvgdrhhhomhgvpdhinhgvthepledtrdekrddvgeejrddvgeehpdhmrghilhhfrhhomheplhgruhhrvghnthdrshhtrggtuhhlsehlrghpohhsthgvrdhnvghtpdhrtghpthhtoheplhhisghsshhhvddquggvvhgvlhestghoohhlrdhhrgiggidrshgv Received: from saturne.home (amarseille-656-1-670-245.w90-8.abo.wanadoo.fr [90.8.247.245]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mlpnf0117.laposte.net (SMTP Server) with ESMTPSA id 4FlZp26q2czPjd8 for ; Wed, 19 May 2021 16:22:34 +0200 (CEST) Date: Wed, 19 May 2021 16:22:18 +0200 From: Laurent Stacul To: libssh2 development Subject: Re: 1.9.1 release pending, please give it a look Message-ID: Mail-Followup-To: libssh2 development References: <2DF27D7C-8B9A-47A0-B4E0-9DE041A95066@panic.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <2DF27D7C-8B9A-47A0-B4E0-9DE041A95066@panic.com> DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=laposte.net; s=lpn-wlmd; t=1621434157; bh=AanH9Uy0a+0vvHQ9nDVl2ScrHLSlJh/SAR9lPDTgYHs=; h=Date:From:To:Subject:Message-ID:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:Content-Transfer-Encoding; b=iAvjjV0YQg/p/JCG/AEWgZGlWvsiwFtamDs8KjcIvv6A2iy6hKw9umrMUjBCIrFOgrre9CuYVLiqxass/QrGVFc0ICQngNOdpsbZVFpXFacS99uiwLrPYEhZ2j0RZ9WuYnrwCRdvVtkm0e7jRl4h3DEpo5y/l41HF6/4dL/h+IfA62yfQXYASvzu4NX2Dbwmq/anaPRhZ/wnm0GcWfKduYfW55g5muFLfSn5n8hWRIR9LcSQXpNhLE562X5sE3muf1HmkZHiJIMSpR/GBkySh/e1VAaVEJXFj28ynlKWF6MfpIDe8j0x543UzE4GjE8sq27etSJ2zbQJS9N/dxPt1w==; X-MIME-Autoconverted: from quoted-printable to 8bit by giant.haxx.se id 14JEMf9N004580 X-BeenThere: libssh2-devel@cool.haxx.se X-Mailman-Version: 2.1.22 Precedence: list List-Id: libssh2 development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: libssh2 development Content-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: libssh2-devel-bounces@cool.haxx.se Sender: "libssh2-devel" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id 14JEMh9b004597 Hello, The latest tarball (https://www.libssh2.org/snapshots/libssh2-1.9.0-20210519.tar.gz) is working fine. Thanks for the quick merges. Regards, Laurent On Wed, May 12, 2021 at 09:17:59AM -0700, Will Cosgrove wrote: >Hi All, >We are pulling together the 1.9.1 release and I’d request, if you haven’t already, give the main branch a sanity pass with your existing code and get any last minute issues submitted ASAP. > >Thanks! > >Will >_______________________________________________ >libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel _______________________________________________ libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel From libssh2-devel-bounces@cool.haxx.se Wed May 19 18:56:58 2021 Return-Path: Received: from giant.haxx.se (mail [127.0.0.1]) by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id 14JGuWWw032519; Wed, 19 May 2021 18:56:50 +0200 Received: from p3plwbeout15-01.prod.phx3.secureserver.net (p3plsmtp15-01-2.prod.phx3.secureserver.net [173.201.193.34]) by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id 14JGuScS032504 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 19 May 2021 18:56:29 +0200 Received: from p3plgemwbe15-01.prod.phx3.secureserver.net ([173.201.193.7]) by :WBEOUT: with SMTP id jPUdlnNjv5L1YjPUdlgBwH; Wed, 19 May 2021 09:56:23 -0700 X-CMAE-Analysis: v=2.4 cv=MdmpB7zf c=1 sm=1 tr=0 ts=60a54337 a=juA+L1ol8AAG8pmebQJ39A==:117 a=OksbkqWP67cA:10 a=fRq9-AMryUcA:10 a=IkcTkHD0fZMA:10 a=5FLXtPjwQuUA:10 a=oeppcwj8AAAA:8 a=TSbVqHtbAAAA:8 a=nar8ntqeAAAA:8 a=HU1OPnRnAAAA:8 a=T2S_br5KaWhYNlPiMYoA:9 a=9cb8bxdbyx7-014Y:21 a=_W_S_7VecoQA:10 a=QEXdDO2ut3YA:10 a=EbX5vdCAct3xugfmopdr:22 a=NJcUIoPEKLAEIzHnl83t:22 a=RptMqvEBejqe73AKBt4K:22 a=vQ5cN67eHy2kcvnFvKcb:22 X-SECURESERVER-ACCT: libssh@bentleyemail.net X-SID: jPUdlnNjv5L1Y Received: (qmail 20839 invoked by uid 99); 19 May 2021 16:56:23 -0000 X-Originating-IP: 24.160.169.189 User-Agent: Workspace Webmail 6.12.7 Message-Id: <20210519095622.13c3649ac450636e4bd7e872c6c81713.136fc48bd9.wbe@email15.godaddy.com> From: To: "libssh2-devel@cool.haxx.se" Subject: error: Corrupted MAC on input. [preauth] Date: Wed, 19 May 2021 09:56:22 -0700 Mime-Version: 1.0 X-CMAE-Envelope: MS4xfCOjn4yOfMo7mw79c/O5iMElhcmFzCNha+Jo7a7fqRU93xOxkA7W99kE8H3i66Rybi7PGxxWpK3gAFSJTdm9rNuCu4q7HsLHLJRrxOSRlWmnGdfr/jy+ SjMPHsvHEkWq5UHG9FCA+/aqBSZOuMqZoXdr+H+fVF9gRl1I4CvC1k9Rs1Uzxvx3szzFESBXmreV45VgMBjCroIgti/5x/76leESBJrZAKMyD+YM8V2EwxK3 g4En55CiFeUigG+uX+nifQ== X-BeenThere: libssh2-devel@cool.haxx.se X-Mailman-Version: 2.1.22 Precedence: list List-Id: libssh2 development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: libssh2 development Content-Type: multipart/mixed; boundary="===============0540935889==" Errors-To: libssh2-devel-bounces@cool.haxx.se Sender: "libssh2-devel" --===============0540935889== Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="utf-8"
Hello,

Of note - I attempted to= search the mailing list archives but found no way of doing so from the&nbs= p;https://www.libssh2.org/mail= .cgi page, and also found the reference page https://dir.gmane.org/gmane.ne= twork.ssh.libssh2.devel results in a 522 timeout error.
I have an embedded linux project using buildroot which I've include= d libssh2 in.  The current configuration also is using dropbear. =  
I am attempting to use curl with scp to retrieve a file stream but = am getting an error.

I've verified the curl format with an Ubuntu<-= >Ubuntu transfer and it succeeds.  When I try with curl on my embed= ded system, I get:

# curl scp://192.168.1.12= 3/var/ftp/pub/1bytefile -o /tmp/1bytefile -u eric:password
  % Total    % Received % Xferd  Average Speed =  Time    Time     Time  Current<= /font>
                  =                Dload  Upload&n= bsp;  Total   Spent    Left  Speed
  0     0    0     0&= nbsp;   0     0      0    &nbs= p; 0 --:--:-- --:--:-- --:--:--     0
&nb= sp; 0     0    0     0   = 0     0      0      0 --:--:-= - --:--:-- --:--:--     0
curl: (2) Failu= re establishing ssh session: -43, 

I turn= ed sshd debug up to level 3 and see: the error 
Corrupte= d MAC on input. [preauth]  (full error log at end of this post)

I confirmed I can use s= cp directly successfully (but this uses dropbear which does not appear= to use libssh2 - at least not according to the sshd log: May 18 15:42:08 eric-Precision-= 7520 sshd[444608]: debug1: no match: dropbear_2018.76)

I replaced dr= opbear with Openssh and created keys with same which also generated the ~/.= ssh directory structure.  I did an scp again so known_hosts is populat= ed and attempted curl again with the same error.

Can you tell me how I can corre= ct libssh2's behavior with curl?

Thanks in advance.

-Eric

May 18 14:03:13 eric-Precision-7520 sshd[36= 0940]: debug1: Bind to port 22 on 0.0.0.0.
May 18 14:03:13 eric-Precision-7520 s= shd[360940]: Server listening on 0.0.0.0 port 22.
May 18 14:03:13 eric-Precision= -7520 sshd[360940]: debug2: fd 4 setting O_NONBLOCK
May 18 14:03:13 eric-Precis= ion-7520 sshd[360940]: debug3: sock_set_v6only: set socket 4 IPV6_V6ONLY
May 18 = 14:03:13 eric-Precision-7520 sshd[360940]: debug1: Bind to port 22 on ::.
May 18= 14:03:13 eric-Precision-7520 sshd[360940]: Server listening on :: port 22.=
May = 18 14:03:13 eric-Precision-7520 sudo[360936]: pam_unix(sudo:session): sessi= on closed for user root
May 18 14:03:17 eric-Precision-7520 sudo[361071]:  =    eric : TTY=3Dpts/10 ; PWD=3D/home/eric/projects/alcon/build.la= ird/buildroot/output/ngpvsd/images ; USER=3Droot ; COMMAND=3D/usr/bin/syste= mctl status sshd.service
May 18 14:03:17 eric-Precision-7520 sudo[361071]: pam_u= nix(sudo:session): session opened for user root by (uid=3D0)
May 18 14:03:17 eri= c-Precision-7520 sudo[361071]: pam_unix(sudo:session): session closed for u= ser root
May 18 14:03:37 eric-Precision-7520 sshd[360940]: debug3: fd 5 is not= O_NONBLOCK
May 18 14:03:37 eric-Precision-7520 systemd-journald[409]: Forwardin= g to syslog missed 24 messages.
May 18 14:03:37 eric-Precision-7520 sshd[360940]= : debug1: Forked child 361421.
May 18 14:03:37 eric-Precision-7520 sshd[360940]:= debug3: send_rexec_state: entering fd =3D 8 config len 330
May 18 14:03:37 eric= -Precision-7520 sshd[360940]: debug3: ssh_msg_send: type 0May 18 14:03:37 eric-= Precision-7520 sshd[360940]: debug3: send_rexec_state: doneMay 18 14:03:37 eric= -Precision-7520 sshd[361421]: debug3: oom_adjust_restore
May 18 14:03:37 eric-Pr= ecision-7520 sshd[361421]: debug1: Set /proc/self/oom_score_adj to 0=
May 18 14:0= 3:37 eric-Precision-7520 sshd[361421]: debug1: rexec start in 5 out 5 newso= ck 5 pipe 7 sock 8
May 18 14:03:37 eric-Precision-7520 sshd[361421]: debug1: ine= td sockets after dupping: 4, 4
May 18 14:03:37 eric-Precision-7520 sshd[361421]:= Connection from 192.168.1.224 port 41650 on 192.168.1.123 port 22 rdomain = ""
Ma= y 18 14:03:37 eric-Precision-7520 sshd[361421]: debug1: Local version strin= g SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.2
May 18 14:03:37 eric-Precision-7520 ss= hd[361421]: debug1: Remote protocol version 2.0, remote software version li= bssh2_1.9.0
May 18 14:03:37 eric-Precision-7520 sshd[361421]: debug1: no match: = libssh2_1.9.0
May 18 14:03:37 eric-Precision-7520 sshd[361421]: debug2: fd 4 set= ting O_NONBLOCK
May 18 14:03:37 eric-Precision-7520 sshd[361421]: debug3: ssh_sa= ndbox_init: preparing seccomp filter sandbox
May 18 14:03:37 eric-Precision-7520= sshd[361421]: debug2: Network child is on pid 361422
May 18 14:03:37 eric-Preci= sion-7520 sshd[361421]: debug3: preauth child monitor started
<= div style=3D"">May 18 14:03:37 er= ic-Precision-7520 sshd[361421]: debug3: privsep user:group 126:65534 [preau= th]
M= ay 18 14:03:37 eric-Precision-7520 sshd[361421]: debug1: permanently_set_ui= d: 126/65534 [preauth]
May 18 14:03:37 eric-Precision-7520 sshd[361421]: debug3:= ssh_sandbox_child: setting PR_SET_NO_NEW_PRIVS [preauth]
May 18 14:03:37 eric-P= recision-7520 sshd[361421]: debug3: ssh_sandbox_child: attaching seccomp fi= lter program [preauth]
May 18 14:03:37 eric-Precision-7520 sshd[361421]: debug1:= list_hostkey_types: rsa-sha2-512,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp256,= ssh-ed25519 [preauth]
May 18 14:03:37 eric-Precision-7520 sshd[361421]: debug3: = send packet: type 20 [preauth]
May 18 14:03:37 eric-Precision-7520 sshd[361421]:= debug1: SSH2_MSG_KEXINIT sent [preauth]
May 18 14:03:37 eric-Precision-7520 ssh= d[361421]: debug3: receive packet: type 20 [preauth]
May 18 14:03:37 eric-Precis= ion-7520 sshd[361421]: debug1: SSH2_MSG_KEXINIT received [preauth]
May 18 14:03:= 37 eric-Precision-7520 sshd[361421]: debug2: local server KEXINIT proposal = [preauth]
May 18 14:03:37 eric-Precision-7520 sshd[361421]: debug2: KEX algorit= hms: curve25519-sha256,curv= e25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha= 2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha5= 12,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256 [preauth]
May 18 = 14:03:37 eric-Precision-7520 sshd[361421]: debug2: host key algorithms: rsa= -sha2-512,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp256,ssh-ed25519 [preauth]
May 18 = 14:03:37 eric-Precision-7520 sshd[361421]: debug2: ciphers ctos: chacha20-poly1305@openssh.com,ae= s128-ctr,aes192-ctr,aes256-ctr,ae= s128-gcm@openssh.com,aes256-g= cm@openssh.com [preauth]
May 18 14:03:37 eric-Precision-7520 sshd[361421]: d= ebug2: ciphers stoc: chach= a20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com [preauth]
May 18 14:03:37 eric= -Precision-7520 sshd[361421]: debug2: MACs ctos: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1 = [preauth]
May 18 14:03:37 eric-Precision-7520 sshd[361421]: debug2: MACs stoc: = umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openss= h.com,hmac-sha1-etm@openss= h.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-25= 6,hmac-sha2-512,hmac-sha1 [preauth]
May 18 14:03:37 eric-Precision-7520 sshd[36= 1421]: debug2: compression ctos: none,z= lib@openssh.com [preauth]
May 18 14:03:37 eric-Precision-7520 sshd[361421]: = debug2: compression stoc: none,zlib@ope= nssh.com [preauth]
May 18 14:03:37 eric-Precision-7520 sshd[361421]: debug2:= languages ctos:  [preauth]
May 18 14:03:37 eric-Precision-7520 sshd[361421= ]: debug2: languages stoc:  [preauth]
May 18 14:03:37 eric-Precision-7520 s= shd[361421]: debug2: first_kex_follows 0  [preauth]
May 18 14:03:37 eric-Pr= ecision-7520 sshd[361421]: debug2: reserved 0  [preauth]
<= div style=3D"">May 18 14:03:37 er= ic-Precision-7520 sshd[361421]: debug2: peer client KEXINIT proposal [preau= th]
M= ay 18 14:03:37 eric-Precision-7520 sshd[361421]: debug2: KEX algorithms: ec= dh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,curve25519-sha256,curve25519-sha256@libssh.org<= /a>,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1= ,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1 [preauth]
May 18 14:03:3= 7 eric-Precision-7520 sshd[361421]: debug2: host key algorithms: ecdsa-sha2= -nistp256 [preauth]
May 18 14:03:37 eric-Precision-7520 sshd[361421]: debug2: ci= phers ctos: aes128-ctr,aes192-ctr,aes256-ctr,aes256-cbc,rijndael-cbc@lysator.liu.se,aes192-cbc,aes1= 28-cbc,blowfish-cbc,arcfour128,arcfour,cast128-cbc,3des-cbc [preauth]
May 18 14:= 03:37 eric-Precision-7520 sshd[361421]: debug2: ciphers stoc: aes128-ctr,ae= s192-ctr,aes256-ctr,aes256-cbc,rijndael-cbc@lysator.liu.se,aes192-cbc,aes128-cbc,blowfish-cbc,arcfo= ur128,arcfour,cast128-cbc,3des-cbc [preauth]
May 18 14:03:37 eric-Precision-7520= sshd[361421]: debug2: MACs ctos: hmac-sha2-256,hmac-sha2-512,hmac-sha1,hma= c-sha1-96,hmac-md5,hmac-md5-96,hmac-ripemd160,hmac-ripemd160@openssh.com [preauth]
May 18 14:03:37 eric-P= recision-7520 sshd[361421]: debug2: MACs stoc: hmac-sha2-256,hmac-sha2-512,= hmac-sha1,hmac-sha1-96,hmac-md5,hmac-md5-96,hmac-ripemd160,hmac-ripemd160@openssh.com [preauth]
May 18 14= :03:37 eric-Precision-7520 sshd[361421]: debug2: compression ctos: none [pr= eauth]
May 18 14:03:37 eric-Precision-7520 sshd[361421]: debug2: compression sto= c: none [preauth]
May 18 14:03:37 eric-Precision-7520 sshd[361421]: debug2: lang= uages ctos:  [preauth]
May 18 14:03:37 eric-Precision-7520 sshd[361421]: de= bug2: languages stoc:  [preauth]
May 18 14:03:37 eric-Precision-7520 sshd[3= 61421]: debug2: first_kex_follows 0  [preauth]
May 18 14:03:37 eric-Precis= ion-7520 sshd[361421]: debug2: reserved 0  [preauth]
May 18 14:03:37 eric-P= recision-7520 sshd[361421]: debug1: kex: algorithm: ecdh-sha2-nistp256 [pre= auth]
May 18 14:03:37 eric-Precision-7520 sshd[361421]: debug1: kex: host key al= gorithm: ecdsa-sha2-nistp256 [preauth]
May 18 14:03:37 eric-Precision-7520 sshd[= 361421]: debug1: kex: client->server cipher: aes128-ctr MAC: hmac-sha2-2= 56 compression: none [preauth]
May 18 14:03:37 eric-Precision-7520 sshd[361421]:= debug1: kex: server->client cipher: aes128-ctr MAC: hmac-sha2-256 compr= ession: none [preauth]
May 18 14:03:37 eric-Precision-7520 sshd[361421]: debug1:= expecting SSH2_MSG_KEX_ECDH_INIT [preauth]
May 18 14:03:37 eric-Precision-7520 = sshd[361421]: debug3: receive packet: type 30 [preauth]
May 18 14:03:37 eric-Pre= cision-7520 sshd[361421]: debug3: mm_sshkey_sign entering [preauth]<= /div>
May 18 14:03= :37 eric-Precision-7520 sshd[361421]: debug3: mm_request_send entering: typ= e 6 [preauth]
May 18 14:03:37 eric-Precision-7520 sshd[361421]: debug3: mm_sshke= y_sign: waiting for MONITOR_ANS_SIGN [preauth]
= May 18 14:03:37 eric-Precision-75= 20 sshd[361421]: debug3: mm_request_receive_expect entering: type 7 [preaut= h]
Ma= y 18 14:03:37 eric-Precision-7520 sshd[361421]: debug3: mm_request_receive = entering [preauth]
May 18 14:03:37 eric-Precision-7520 sshd[361421]: debug3: mm_= request_receive entering
May 18 14:03:37 eric-Precision-7520 sshd[361421]: debug= 3: monitor_read: checking request 6
May 18 14:03:37 eric-Precision-7520 sshd[36= 1421]: debug3: mm_answer_sign
May 18 14:03:37 eric-Precision-7520 sshd[361421]: = debug3: mm_answer_sign: KEX signature 0x55c182a944e0(101)
May 18 14:03:37 eric-P= recision-7520 sshd[361421]: debug3: mm_request_send entering: type 7=
May 18 14:0= 3:37 eric-Precision-7520 sshd[361421]: debug2: monitor_read: 6 used once, d= isabling now
May 18 14:03:37 eric-Precision-7520 sshd[361421]: debug3: send pack= et: type 31 [preauth]
May 18 14:03:37 eric-Precision-7520 sshd[361421]: debug3: = send packet: type 21 [preauth]
May 18 14:03:37 eric-Precision-7520 sshd[361421]:= debug2: set_newkeys: mode 1 [preauth]
May 18 14:03:37 eric-Precision-7520 sshd[= 361421]: debug1: rekey out after 4294967296 blocks [preauth]
May 18 14:03:37 eri= c-Precision-7520 sshd[361421]: debug1: SSH2_MSG_NEWKEYS sent [preauth]
May 18 14= :03:37 eric-Precision-7520 sshd[361421]: debug1: expecting SSH2_MSG_NEWKEYS= [preauth]
May 18 14:03:37 eric-Precision-7520 sshd[361421]: debug3: receive pac= ket: type 21 [preauth]
May 18 14:03:37 eric-Precision-7520 sshd[361421]: debug1:= SSH2_MSG_NEWKEYS received [preauth]
May 18 14:03:37 eric-Precision-7520 sshd[36= 1421]: debug2: set_newkeys: mode 0 [preauth]
May 18 14:03:37 eric-Precision-7520= sshd[361421]: debug1: rekey in after 4294967296 blocks [preauth]
May 18 14:03:3= 7 eric-Precision-7520 sshd[361421]: debug1: KEX done [preauth]
=
May 18 14:03:37 e= ric-Precision-7520 sshd[361421]: Corrupted MAC on input. [preauth]
May 18 14:03:= 37 eric-Precision-7520 sshd[361421]: debug3: send packet: type 1 [preauth]<= /font>
May 1= 8 14:03:37 eric-Precision-7520 sshd[361421]: ssh_dispatch_run_fatal: Connec= tion from 192.168.1.224 port 41650: message authentication code incorrect [= preauth]
May 18 14:03:37 eric-Precision-7520 sshd[361421]: debug1: do_cleanup = [preauth]
May 18 14:03:37 eric-Precision-7520 sshd[361421]: debug3: PAM: sshpam= _thread_cleanup entering [preauth]
May 18 14:03:37 eric-Precision-7520 sshd[36= 1421]: debug1: monitor_read_log: child log fd closed
May 18 14:03:37 eric-Precis= ion-7520 sshd[361421]: debug3: mm_request_receive entering
May 18 14:03:37 eric-= Precision-7520 sshd[361421]: debug1: do_cleanup
May 18 14:03:37 eric-Precision-7= 520 sshd[361421]: debug3: PAM: sshpam_thread_cleanup entering
<= div style=3D"">May 18 14:03:37 er= ic-Precision-7520 sshd[361421]: debug1: Killing privsep child 361422=
May 18 14:0= 3:37 eric-Precision-7520 sshd[361421]: debug1: audit_event: unhandled event= 12
M= ay 18 14:03:37 eric-Precision-7520 sshd[360940]: debug1: main_sigchld_handl= er: Child exited


--===============0540935889== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KbGlic3NoMi1k ZXZlbCBodHRwczovL2Nvb2wuaGF4eC5zZS9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8vbGlic3No Mi1kZXZlbAo= --===============0540935889==-- From libssh2-devel-bounces@cool.haxx.se Wed May 19 21:20:48 2021 Return-Path: Received: from giant.haxx.se (mail [127.0.0.1]) by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id 14JJKA3w028257; Wed, 19 May 2021 21:20:35 +0200 Received: from relay.yourmailgateway.de (relay.yourmailgateway.de [188.68.61.102]) by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id 14JJK9WW028252 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 19 May 2021 21:20:09 +0200 Received: from mors-relay-8403.netcup.net (localhost [127.0.0.1]) by mors-relay-8403.netcup.net (Postfix) with ESMTPS id 4FljPP451hz8ZQW for ; Wed, 19 May 2021 21:20:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=marc-hoersken.de; s=key2; t=1621452009; bh=ag5SoVaM6isRIRY0nAfwciiTeMIOK3ZMLxTYDd3m49g=; h=Subject:To:References:From:Date:In-Reply-To:From; b=koIDbyPWiAjAlRmh1pPbnUqSXyrpI1e+PyQmwYoXbCgkP550X5XhmK3BkShx0NTpO Ac8fRjopgje6Xj8Aq7WKKWARFb1hkKUAK4UJNRpcNYNRoiuTQTlv5XYTMHa+KcrGKP exfopMasfG1UhPLtyBGqS/U+UXGriVaDVjph6k+AiRjKfvONrw6lsf0BRmoNRDdidA vtOUeho/NxbFqqmUgWq8LdMrRvAhUYfyeLJTRoMw8mGFXXarOUJyM7Ebt+p9HMkqzD XCtq4oQGGXitDieHiSndzmFUZHExFz/d6TLi5fHQlI7j3ck000AFB4RL5UrgiBRET6 k4JCgf19C8i9g== Received: from policy01-mors.netcup.net (unknown [46.38.225.35]) by mors-relay-8403.netcup.net (Postfix) with ESMTPS id 4FljPP3jMGz8ZPy for ; Wed, 19 May 2021 21:20:09 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at policy01-mors.netcup.net X-Spam-Flag: NO X-Spam-Score: -1.201 X-Spam-Level: X-Spam-Status: No, score=-1.201 required=6.31 tests=[ALL_TRUSTED=-1, BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no Received: from mx2f80.netcup.net (unknown [10.243.12.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by policy01-mors.netcup.net (Postfix) with ESMTPS id 4FljPN5kvQz8tsf for ; Wed, 19 May 2021 21:20:08 +0200 (CEST) Received: from localhost (v220201141477133634.uxnr.de [194.36.146.149]) by mx2f80.netcup.net (Postfix) with ESMTPSA id 0F263626AD for ; Wed, 19 May 2021 21:20:08 +0200 (CEST) Authentication-Results: mx2f80; spf=pass (sender IP is 194.36.146.149) smtp.mailfrom=info@marc-hoersken.de smtp.helo=localhost Received-SPF: pass (mx2f80: connection is authenticated) Received: by mxdkim.uxnr.de (smtp-dkim-signer) with ESMTPSA id D5FA6AE233; Wed, 19 May 2021 19:20:08 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=ag5SoVaM6isRIRY0nAfwciiTeMIOK3ZMLxTYDd3m49 g=; c=relaxed/simple; d=marc-hoersken.de; h=From:Reply-To:Subject:Date:To:C c:In-Reply-To:References:Message-ID:Resent-Date:Resent-From:Resent-To:Resen t-Cc; s=picard; t=1621452008; v=1; b=l7yuR/xDL+B5eQnDnlslIqW6WB0eLrv/6V8TfZ swt+C1YD6BkOVzbP91b0ER7lShKZYPyyT6ZlDwUZot+VtJ5QnNXA1FP0eE8SR7nTeWuWW3wLjkx 4QbR7WDa9NMVw8LLdGgGHbGw6J9pC9PPiEWJJmI7EUpHV+AUv57Pg1biUs=; Subject: Re: 1.9.1 release pending, please give it a look To: libssh2-devel@cool.haxx.se References: <2DF27D7C-8B9A-47A0-B4E0-9DE041A95066@panic.com> <88884e93-d115-6d09-ae85-497b77d624cb@marc-hoersken.de> From: Marc Hoersken Message-ID: <7def10ba-8e36-378e-8a6d-cfd8ddff84e2@marc-hoersken.de> Date: Wed, 19 May 2021 21:20:06 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 MIME-Version: 1.0 In-Reply-To: <88884e93-d115-6d09-ae85-497b77d624cb@marc-hoersken.de> Content-Language: en-GB X-PPP-Message-ID: <162145200844.12988.16856939736220712461@mx2f80.netcup.net> X-PPP-Vhost: marc-hoersken.de X-NC-CID: xAUgGLfQs5U3BttWhJ0XgNMbESS+j+n/W4IAQxDSjqI+tkQ8LQ== X-BeenThere: libssh2-devel@cool.haxx.se X-Mailman-Version: 2.1.22 Precedence: list List-Id: libssh2 development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: libssh2 development Content-Type: text/plain; charset="utf-8"; Format="flowed" Errors-To: libssh2-devel-bounces@cool.haxx.se Sender: "libssh2-devel" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id 14JJKA3w028257 > I am currently working on making the tests work again on AppVeyor and > would like to merge your changes after that to see if they break > anything there. Good progress can be found here: https://ci.appveyor.com/project/mback2k/libssh2/build/job/dtp4y5s7p8fk1cdm The Docker container is now being run on GitHub Actions instead of DigitalOcean, so we don't rely on someone paying that. @alamaison did that for us in the past, but that changed some time ago. Thanks again to him for doing that for a long time! _______________________________________________ libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel From libssh2-devel-bounces@cool.haxx.se Wed May 19 22:24:21 2021 Return-Path: Received: from giant.haxx.se (mail [127.0.0.1]) by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id 14JKNu1C007783; Wed, 19 May 2021 22:24:14 +0200 Received: from foo.stuge.se (foo.stuge.se [212.116.89.98]) by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id 14JKNs9h007770 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 19 May 2021 22:23:55 +0200 Received: (qmail 6760 invoked by uid 1000); 19 May 2021 20:23:47 -0000 Message-ID: <20210519202347.6759.qmail@stuge.se> Date: Wed, 19 May 2021 20:23:47 +0000 From: Peter Stuge To: libssh2-devel@cool.haxx.se Subject: Re: error: Corrupted MAC on input. [preauth] References: <20210519095622.13c3649ac450636e4bd7e872c6c81713.136fc48bd9.wbe@email15.godaddy.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210519095622.13c3649ac450636e4bd7e872c6c81713.136fc48bd9.wbe@email15.godaddy.com> X-BeenThere: libssh2-devel@cool.haxx.se X-Mailman-Version: 2.1.22 Precedence: list List-Id: libssh2 development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: libssh2 development Content-Type: text/plain; charset="utf-8" Errors-To: libssh2-devel-bounces@cool.haxx.se Sender: "libssh2-devel" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id 14JKNu1C007783 Hi Eric, libssh@bentleyemail.net wrote: > I have an embedded linux project using buildroot which I've included > libssh2 in. The current configuration also is using dropbear. > I am attempting to use curl with scp to retrieve a file stream but am > getting an error. Thank you for reporting! If master still has this issue we need to fix it before release, which should be quite soon. > curl: (2) Failure establishing ssh session: -43, > I turned sshd debug up to level 3 and see: the error > Corrupted MAC on input. [preauth] (full error log at end of this post) .. > sshd[361421]: debug1: kex: client->server cipher: aes128-ctr MAC: hmac-sha2-256 compression: none [preauth] .. > sshd[361421]: debug1: SSH2_MSG_NEWKEYS received [preauth] > sshd[361421]: debug2: set_newkeys: mode 0 [preauth] > sshd[361421]: debug1: rekey in after 4294967296 blocks [preauth] > sshd[361421]: debug1: KEX done [preauth] > sshd[361421]: Corrupted MAC on input. [preauth] Please provide us with more information: What processor does your embedded system have? In particular endianess and native bit size (32/64?) What MAC is negotiated by the dropbear and OpenSSH clients you tested? Are results identical with a server running an unpatched upstream OpenSSH? Thank you and kind regards //Peter _______________________________________________ libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel From libssh2-devel-bounces@cool.haxx.se Wed May 19 23:29:27 2021 Return-Path: Received: from giant.haxx.se (mail [127.0.0.1]) by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id 14JLSukS019874; Wed, 19 May 2021 23:29:15 +0200 Received: from p3plwbeout15-04.prod.phx3.secureserver.net (p3plsmtp15-04-2.prod.phx3.secureserver.net [173.201.193.40]) by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id 14JLSrTS019858 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 19 May 2021 23:28:55 +0200 Received: from p3plgemwbe15-03.prod.phx3.secureserver.net ([173.201.193.9]) by :WBEOUT: with SMTP id jTkGlSdqXmDxmjTkGlHVJ4; Wed, 19 May 2021 14:28:48 -0700 X-CMAE-Analysis: v=2.4 cv=V9O4bcri c=1 sm=1 tr=0 ts=60a58311 a=oO6bOKnQakL8KJo68zfLlA==:117 a=OksbkqWP67cA:10 a=fRq9-AMryUcA:10 a=IkcTkHD0fZMA:10 a=5FLXtPjwQuUA:10 a=gDrM6OpmAAAA:8 a=nar8ntqeAAAA:8 a=HU1OPnRnAAAA:8 a=AfVJBfpoCm295XQ7yioA:9 a=drrxt3IMtRDI6WwT:21 a=_W_S_7VecoQA:10 a=QEXdDO2ut3YA:10 a=qB8ReIOInTRWesbmamRj:22 a=RptMqvEBejqe73AKBt4K:22 a=vQ5cN67eHy2kcvnFvKcb:22 X-SECURESERVER-ACCT: libssh@bentleyemail.net X-SID: jTkGlSdqXmDxm Received: (qmail 21091 invoked by uid 99); 19 May 2021 21:28:48 -0000 X-Originating-IP: 24.160.169.189 User-Agent: Workspace Webmail 6.12.7 Message-Id: <20210519142847.13c3649ac450636e4bd7e872c6c81713.ec230c4fa0.wbe@email15.godaddy.com> From: To: "libssh2 development" Subject: RE: error: Corrupted MAC on input. [preauth] Date: Wed, 19 May 2021 14:28:47 -0700 Mime-Version: 1.0 X-CMAE-Envelope: MS4xfOMi2LaLTmr83L4MPbaOkAuzDuOKM9NdsVBR/8I4OvUZCoi3WBy6BHkiKZdCcU834G1fY0tBeIzipxXaZw+flE1LmMy1D71WFeP9ByzY4cwK0ustTXOp i92Pep7Q90u3EbkzuqftIjsRMndLpjCH8x1w1o+CDKp8BGB5kFilZ//hBYF9M3xX9Z7vWmj8jC6DxqFHcqYb4MYj46Vy7GIQAo5SS65PMUc9EDLxN9VvSITi ZyBbCaxr8jZpE/biPTyhOQ== X-BeenThere: libssh2-devel@cool.haxx.se X-Mailman-Version: 2.1.22 Precedence: list List-Id: libssh2 development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: libssh2 development Content-Type: multipart/mixed; boundary="===============1032996422==" Errors-To: libssh2-devel-bounces@cool.haxx.se Sender: "libssh2-devel" --===============1032996422== Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="utf-8"


Hi Peter,

I'm happy to help but my responses may be delayed as I'm getti= ng ready to head out for a few days of vacation (leaving in 12 hours)
=

-------- original mess= age --------
> Subject: Re: error: Corrupted MAC on= input. [preauth]
> From: Peter Stuge <peter@stuge.se>
>= Date: Wed, May 19, 2021 1:23 pm
> Hi Eric,
> > I= have an embedded linux project using buildroot which I've included
> > libssh2 in. The current configuration also is using= dropbear.
> > I am attempting to use curl with = scp to retrieve a file stream but am
> > getting= an error.
> Thank = you for reporting! If master still has this issue we need to fix it
> before release, which should be quite soon.
&g= t; > curl: (2) Failure establishing ssh session: -43,
> > I turned sshd debug up to level 3 and see: the error
> > Corrupted MAC on input. [preauth] (full error log at = end of this post)
> ..
> &g= t; sshd[361421]: debug1: kex: client->server cipher: aes128-ctr MAC: hma= c-sha2-256 compression: none [preauth]
> ..
> > sshd[361421]: debug1: SSH2_MSG_NEWKEYS received [pr= eauth]
> > sshd[361421]: debug2: set_newkeys: mo= de 0 [preauth]
> > sshd[361421]: debug1: rekey i= n after 4294967296 blocks [preauth]
> > sshd[361= 421]: debug1: KEX done [preauth]
> > sshd[361421= ]: Corrupted MAC on input. [preauth]
<= div style=3D"">> Please provide us with more information:
> What processor does your embedd= ed system have? In particular endianess
> and nativ= e bit size (32/64?)
# = cat /proc/cpuinfo 
processor      =  : 0
model name      : ARMv7 Proce= ssor rev 1 (v7l)
BogoMIPS        := 33.00
Features        : half thum= b fastmult vfp edsp vfpv3 vfpv3d16 tls vfpv4 
CPU= implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part&n= bsp;       : 0xc05
CPU revision  &= nbsp; : 1

Hardwar= e        : Atmel SAMA5
Revision&nb= sp;       : 0000
Serial    &n= bsp;     : 0000000000000000

<= /div>
# file /bin/busybox
/bin/busybox:= ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), statically linke= d, BuildID[sha1]=3D51f5566abbeca4cee5e53734090d7d37b33deedb, for GNU/Linux = 3.2.0, stripped

&= gt; 
> What MAC is negotiated by the dropbear = and OpenSSH clients you tested?
>
Dropbear:

M= ay 18 15:42:08 eric-Precision-7520 sshd[444608]: debug1: Remote protocol ve= rsion 2.0, remote software version dropbear_2018.76
Ma= y 18 15:42:08 eric-Precision-7520 sshd[444608]: debug1: no match: dropbear_= 2018.76
May 18 15:42:08 eric-Precision-7520 sshd[44460= 8]: debug2: fd 4 setting O_NONBLOCK
May 18 15:42:08 er= ic-Precision-7520 sshd[444608]: debug3: ssh_sandbox_init: preparing seccomp= filter sandbox
May 18 15:42:08 eric-Precision-7520 ss= hd[444608]: debug2: Network child is on pid 444609
May= 18 15:42:08 eric-Precision-7520 sshd[444608]: debug3: preauth child monito= r started
May 18 15:42:08 eric-Precision-7520 sshd[444= 608]: debug3: privsep user:group 126:65534 [preauth]
M= ay 18 15:42:08 eric-Precision-7520 sshd[444608]: debug1: permanently_set_ui= d: 126/65534 [preauth]
May 18 15:42:08 eric-Precision-= 7520 sshd[444608]: debug3: ssh_sandbox_child: setting PR_SET_NO_NEW_PRIVS [= preauth]
May 18 15:42:08 eric-Precision-7520 sshd[4446= 08]: debug3: ssh_sandbox_child: attaching seccomp filter program [preauth]<= /div>
May 18 15:42:08 eric-Precision-7520 sshd[444608]: debu= g1: list_hostkey_types: rsa-sha2-512,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp2= 56,ssh-ed25519 [preauth]
May 18 15:42:08 eric-Precisio= n-7520 sshd[444608]: debug3: send packet: type 20 [preauth]
May 18 15:42:08 eric-Precision-7520 sshd[444608]: debug1: SSH2_MSG_KE= XINIT sent [preauth]
May 18 15:42:08 eric-Precision-75= 20 sshd[444608]: debug3: receive packet: type 20 [preauth]
May 18 15:42:08 eric-Precision-7520 sshd[444608]: debug1: SSH2_MSG_KE= XINIT received [preauth]
May 18 15:42:08 eric-Precisio= n-7520 sshd[444608]: debug2: local server KEXINIT proposal [preauth]
<= div style=3D"">May 18 15:42:08 eric-Precision-7520 sshd[444608]: debug2: KE= X algorithms: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384= ,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-gro= up16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256 [pr= eauth]
May 18 15:42:08 eric-Precision-7520 sshd[444608= ]: debug2: host key algorithms: rsa-sha2-512,rsa-sha2-256,ssh-rsa,ecdsa-sha= 2-nistp256,ssh-ed25519 [preauth]
May 18 15:42:08 eric-= Precision-7520 sshd[444608]: debug2: ciphers ctos: chacha20-poly1305@openssh.com,aes128-ctr,aes19= 2-ctr,aes256-ctr,aes128-gcm@opens= sh.com,aes256-gcm@openssh.com= [preauth]
May 18 15:42:08 eric-Precision-7520 ssh= d[444608]: debug2: ciphers stoc: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,<= a href=3D"mailto:aes128-gcm@openssh.com">aes128-gcm@openssh.com,aes256-gcm@openssh.com [preauth]
May 18 15:42:08 eric-Precision-7520 sshd[444608]: debug2:= MACs ctos: umac-64-etm@openssh.= com,umac-128-etm@openssh.co= m,hmac-sha2-256-etm@op= enssh.com,hmac-sha2-51= 2-etm@openssh.com,hmac-sha= 1-etm@openssh.com,umac-64@openss= h.com,umac-128@openssh.com,= hmac-sha2-256,hmac-sha2-512,hmac-sha1 [preauth]
May 18= 15:42:08 eric-Precision-7520 sshd[444608]: debug2: MACs stoc: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-= 512,hmac-sha1 [preauth]
May 18 15:42:08 eric-Precision= -7520 sshd[444608]: debug2: compression ctos: none,zlib@openssh.com [preauth]
May 18 15:4= 2:08 eric-Precision-7520 sshd[444608]: debug2: compression stoc: none,zlib@openssh.com [preauth]
May 18 15:42:08 eric-Precision-7520 sshd[444608]: debug2: languages= ctos:  [preauth]
May 18 15:42:08 eric-Precision-= 7520 sshd[444608]: debug2: languages stoc:  [preauth]
May 18 15:42:08 eric-Precision-7520 sshd[444608]: debug2: first_kex_f= ollows 0  [preauth]
May 18 15:42:08 eric-Precisio= n-7520 sshd[444608]: debug2: reserved 0  [preauth]
May 18 15:42:08 eric-Precision-7520 sshd[444608]: debug2: peer client KEX= INIT proposal [preauth]
May 18 15:42:08 eric-Precision= -7520 sshd[444608]: debug2: KEX algorithms: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sh= a2-nistp521,ecdh-sha2-nistp384,ecdh-sha2-nistp256,diffie-hellman-group14-sh= a256,diffie-hellman-group14-sha1,kexguess2@matt.ucc.asn.au [preauth]
May 18 15:4= 2:08 eric-Precision-7520 sshd[444608]: debug2: host key algorithms: ecdsa-s= ha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-rsa [preauth]
May 18 15:42:08 eric-Precision-7520 sshd[444608]: debug2: = ciphers ctos: aes128-ctr,aes256-ctr [preauth]
May 18 1= 5:42:08 eric-Precision-7520 sshd[444608]: debug2: ciphers stoc: aes128-ctr,= aes256-ctr [preauth]
May 18 15:42:08 eric-Precision-75= 20 sshd[444608]: debug2: MACs ctos: hmac-sha1,hmac-sha2-256 [preauth]
=
May 18 15:42:08 eric-Precision-7520 sshd[444608]: debug2: M= ACs stoc: hmac-sha1,hmac-sha2-256 [preauth]
May 18 15:= 42:08 eric-Precision-7520 sshd[444608]: debug2: compression ctos: none [pre= auth]
May 18 15:42:08 eric-Precision-7520 sshd[444608]= : debug2: compression stoc: none [preauth]
May 18 15:4= 2:08 eric-Precision-7520 sshd[444608]: debug2: languages ctos:  [preau= th]
May 18 15:42:08 eric-Precision-7520 sshd[444608]: = debug2: languages stoc:  [preauth]
May 18 15:42:0= 8 eric-Precision-7520 sshd[444608]: debug2: first_kex_follows 1  [prea= uth]
May 18 15:42:08 eric-Precision-7520 sshd[444608]:= debug2: reserved 0  [preauth]
May 18 15:42:08 er= ic-Precision-7520 sshd[444608]: debug1: kex: algorithm: curve25519-sha256 [= preauth]
May 18 15:42:08 eric-Precision-7520 sshd[4446= 08]: debug1: kex: host key algorithm: ecdsa-sha2-nistp256 [preauth]
May 18 15:42:08 eric-Precision-7520 sshd[444608]: debug1: kex= : client->server cipher: aes128-ctr MAC: hmac-sha1 compression: none [pr= eauth]
May 18 15:42:08 eric-Precision-7520 sshd[444608= ]: debug1: kex: server->client cipher: aes128-ctr MAC: hmac-sha1 compres= sion: none [preauth]
May 18 15:42:08 eric-Precision-75= 20 sshd[444608]: debug2: proposal mismatch: my rsa-sha2-512 peer ecdsa-sha2= -nistp256 [preauth]
May 18 15:42:08 eric-Precision-752= 0 sshd[444608]: debug1: expecting SSH2_MSG_KEX_ECDH_INIT [preauth]
May 18 15:42:08 eric-Precision-7520 sshd[444608]: debug3: rece= ive packet: type 30 [preauth]
May 18 15:42:08 eric-Pre= cision-7520 sshd[444608]: debug2: skipped packet (type 30) [preauth]
<= div style=3D"">May 18 15:42:08 eric-Precision-7520 sshd[444608]: debug3: re= ceive packet: type 30 [preauth]
May 18 15:42:08 eric-P= recision-7520 sshd[444608]: debug3: mm_sshkey_sign entering [preauth]
=
May 18 15:42:08 eric-Precision-7520 sshd[444608]: debug3: m= m_request_send entering: type 6 [preauth]
May 18 15:42= :08 eric-Precision-7520 sshd[444608]: debug3: mm_sshkey_sign: waiting for M= ONITOR_ANS_SIGN [preauth]
May 18 15:42:08 eric-Precisi= on-7520 sshd[444608]: debug3: mm_request_receive_expect entering: type 7 [p= reauth]
May 18 15:42:08 eric-Precision-7520 sshd[44460= 8]: debug3: mm_request_receive entering [preauth]
May = 18 15:42:08 eric-Precision-7520 sshd[444608]: debug3: mm_request_receive en= tering
May 18 15:42:08 eric-Precision-7520 sshd[444608= ]: debug3: monitor_read: checking request 6
May 18 15:= 42:08 eric-Precision-7520 sshd[444608]: debug3: mm_answer_sign
May 18 15:42:08 eric-Precision-7520 sshd[444608]: debug3: mm_answe= r_sign: KEX signature 0x558f6f6bf4e0(99)
May 18 15:42:= 08 eric-Precision-7520 sshd[444608]: debug3: mm_request_send entering: type= 7
May 18 15:42:08 eric-Precision-7520 sshd[444608]: d= ebug2: monitor_read: 6 used once, disabling now
May 18= 15:42:08 eric-Precision-7520 sshd[444608]: debug3: send packet: type 31 [p= reauth]
May 18 15:42:08 eric-Precision-7520 sshd[44460= 8]: debug3: send packet: type 21 [preauth]
May 18 15:4= 2:08 eric-Precision-7520 sshd[444608]: debug2: set_newkeys: mode 1 [preauth= ]
May 18 15:42:08 eric-Precision-7520 sshd[444608]: de= bug1: rekey out after 4294967296 blocks [preauth]
May = 18 15:42:08 eric-Precision-7520 sshd[444608]: debug1: SSH2_MSG_NEWKEYS sent= [preauth]
May 18 15:42:08 eric-Precision-7520 sshd[44= 4608]: debug1: expecting SSH2_MSG_NEWKEYS [preauth]
Ma= y 18 15:42:08 eric-Precision-7520 sshd[444608]: debug3: receive packet: typ= e 21 [preauth]
May 18 15:42:08 eric-Precision-7520 ssh= d[444608]: debug1: SSH2_MSG_NEWKEYS received [preauth]
May 18 15:42:08 eric-Precision-7520 sshd[444608]: debug2: set_newkeys: mod= e 0 [preauth]
May 18 15:42:08 eric-Precision-7520 sshd= [444608]: debug1: rekey in after 4294967296 blocks [preauth]
May 18 15:42:08 eric-Precision-7520 sshd[444608]: debug1: KEX done [= preauth]


OpenSSH:

<= /div>
May 19 17:24:01 eric-Precision-7520 sshd[3355904]: deb= ug1: Remote protocol version 2.0, remote software version OpenSSH_8.5
=
May 19 17:24:01 eric-Precision-7520 sshd[3355904]: debug1: = match: OpenSSH_8.5 pat OpenSSH* compat 0x04000000
May = 19 17:24:01 eric-Precision-7520 sshd[3355904]: debug2: fd 4 setting O_NONBL= OCK
May 19 17:24:01 eric-Precision-7520 sshd[3355904]:= debug3: ssh_sandbox_init: preparing seccomp filter sandbox
May 19 17:24:01 eric-Precision-7520 sshd[3355904]: debug2: Network ch= ild is on pid 3355910
May 19 17:24:01 eric-Precision-7= 520 sshd[3355904]: debug3: preauth child monitor started
May 19 17:24:01 eric-Precision-7520 sshd[3355904]: debug3: privsep user:= group 126:65534 [preauth]
May 19 17:24:01 eric-Precisi= on-7520 sshd[3355904]: debug1: permanently_set_uid: 126/65534 [preauth]
May 19 17:24:01 eric-Precision-7520 sshd[3355904]: debug3= : ssh_sandbox_child: setting PR_SET_NO_NEW_PRIVS [preauth]
May 19 17:24:01 eric-Precision-7520 sshd[3355904]: debug3: ssh_sandbo= x_child: attaching seccomp filter program [preauth]
Ma= y 19 17:24:01 eric-Precision-7520 sshd[3355904]: debug1: list_hostkey_types= : rsa-sha2-512,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp256,ssh-ed25519 [preaut= h]
May 19 17:24:01 eric-Precision-7520 sshd[3355904]: = debug3: send packet: type 20 [preauth]
May 19 17:24:01= eric-Precision-7520 sshd[3355904]: debug1: SSH2_MSG_KEXINIT sent [preauth]=
May 19 17:24:01 eric-Precision-7520 sshd[3355904]: de= bug3: receive packet: type 20 [preauth]
May 19 17:24:0= 1 eric-Precision-7520 sshd[3355904]: debug1: SSH2_MSG_KEXINIT received [pre= auth]
May 19 17:24:01 eric-Precision-7520 sshd[3355904= ]: debug2: local server KEXINIT proposal [preauth]
May= 19 17:24:01 eric-Precision-7520 sshd[3355904]: debug2: KEX algorithms: cur= ve25519-sha256,curve25519-s= ha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp5= 21,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffi= e-hellman-group18-sha512,diffie-hellman-group14-sha256 [preauth]
May 19 17:24:01 eric-Precision-7520 sshd[3355904]: debug2: host = key algorithms: rsa-sha2-512,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp256,ssh-e= d25519 [preauth]
May 19 17:24:01 eric-Precision-7520 s= shd[3355904]: debug2: ciphers ctos: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ct= r,aes128-gcm@openssh.com,aes256-gcm@openssh.com [preauth]<= /div>
May 19 17:24:01 eric-Precision-7520 sshd[3355904]: deb= ug2: ciphers stoc: chacha2= 0-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com [preauth]
May 19 17:24:01 eric-Precision-7520 sshd[3355904]: debug2: MACs ctos:= umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@opens= sh.com,hmac-sha1-etm@opens= sh.com,umac-64@openssh.com,<= a href=3D"mailto:umac-128@openssh.com">umac-128@openssh.com,hmac-sha2-2= 56,hmac-sha2-512,hmac-sha1 [preauth]
May 19 17:24:01 e= ric-Precision-7520 sshd[3355904]: debug2: MACs stoc: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-s= ha1 [preauth]
May 19 17:24:01 eric-Precision-7520 sshd= [3355904]: debug2: compression ctos: none,zlib@openssh.com [preauth]
May 19 17:24:01 eric= -Precision-7520 sshd[3355904]: debug2: compression stoc: none,zlib@openssh.com [preauth]
= May 19 17:24:01 eric-Precision-7520 sshd[3355904]: debug2: languages ctos:&= nbsp; [preauth]
May 19 17:24:01 eric-Precision-7520 ss= hd[3355904]: debug2: languages stoc:  [preauth]
M= ay 19 17:24:01 eric-Precision-7520 sshd[3355904]: debug2: first_kex_follows= 0  [preauth]
May 19 17:24:01 eric-Precision-7520= sshd[3355904]: debug2: reserved 0  [preauth]
May= 19 17:24:01 eric-Precision-7520 sshd[3355904]: debug2: peer client KEXINIT= proposal [preauth]
May 19 17:24:01 eric-Precision-752= 0 sshd[3355904]: debug2: KEX algorithms: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-= nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchang= e-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie= -hellman-group14-sha256,ext-info-c [preauth]
May 19 17:24:01 eric-Precision-7520 sshd[3355904]: debug2: ciph= ers ctos: chacha20-poly130= 5@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com [preauth]
May 1= 9 17:24:01 eric-Precision-7520 sshd[3355904]: debug2: ciphers stoc: chacha20-poly1305@openssh.com= ,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes25= 6-gcm@openssh.com [preauth]
May 19 17:24:01 eric-P= recision-7520 sshd[3355904]: debug2: MACs ctos: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1 [= preauth]
May 19 17:24:01 eric-Precision-7520 sshd[3355= 904]: debug2: MACs stoc: umac-64= -etm@openssh.com,umac-128-e= tm@openssh.com,hmac-sh= a2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,u= mac-64@openssh.com,umac-128@ope= nssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1 [preauth]
May 19 17:24:01 eric-Precision-7520 sshd[3355904]: debug2: compressi= on ctos: none,zlib@openssh.com,zlib= [preauth]
May 19 17:24:01 eric-Precision-7520 sshd[33= 55904]: debug2: compression stoc: none,= zlib@openssh.com,zlib [preauth]
May 19 17:24:01 er= ic-Precision-7520 sshd[3355904]: debug2: languages ctos:  [preauth]
May 19 17:24:01 eric-Precision-7520 sshd[3355904]: debug= 2: languages stoc:  [preauth]
May 19 17:24:01 eri= c-Precision-7520 sshd[3355904]: debug2: first_kex_follows 0  [preauth]=
May 19 17:24:01 eric-Precision-7520 sshd[3355904]: de= bug2: reserved 0  [preauth]
May 19 17:24:01 eric-= Precision-7520 sshd[3355904]: debug1: kex: algorithm: curve25519-sha256 [pr= eauth]
May 19 17:24:01 eric-Precision-7520 sshd[335590= 4]: debug1: kex: host key algorithm: ssh-ed25519 [preauth]
May 19 17:24:01 eric-Precision-7520 sshd[3355904]: debug1: kex: clien= t->server cipher: chach= a20-poly1305@openssh.com MAC: <implicit> compression: none [preau= th]
May 19 17:24:01 eric-Precision-7520 sshd[3355904]:= debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compr= ession: none [preauth]
May 19 17:24:01 eric-Precision-= 7520 sshd[3355904]: debug1: expecting SSH2_MSG_KEX_ECDH_INIT [preauth]
May 19 17:24:01 eric-Precision-7520 sshd[3355904]: debug3:= receive packet: type 30 [preauth]
May 19 17:24:01 eri= c-Precision-7520 sshd[3355904]: debug3: mm_sshkey_sign entering [preauth]
May 19 17:24:01 eric-Precision-7520 sshd[3355904]: debu= g3: mm_request_send entering: type 6 [preauth]
May 19 = 17:24:01 eric-Precision-7520 sshd[3355904]: debug3: mm_sshkey_sign: waiting= for MONITOR_ANS_SIGN [preauth]
May 19 17:24:01 eric-P= recision-7520 sshd[3355904]: debug3: mm_request_receive_expect entering: ty= pe 7 [preauth]
May 19 17:24:01 eric-Precision-7520 ssh= d[3355904]: debug3: mm_request_receive entering [preauth]
May 19 17:24:01 eric-Precision-7520 sshd[3355904]: debug3: mm_request= _receive entering
May 19 17:24:01 eric-Precision-7520 = sshd[3355904]: debug3: monitor_read: checking request 6
May 19 17:24:01 eric-Precision-7520 sshd[3355904]: debug3: mm_answer_sign=
May 19 17:24:01 eric-Precision-7520 sshd[3355904]: de= bug3: mm_answer_sign: KEX signature 0x561a4dcd9d10(83)
May 19 17:24:01 eric-Precision-7520 sshd[3355904]: debug3: mm_request_send= entering: type 7
May 19 17:24:01 eric-Precision-7520 = sshd[3355904]: debug2: monitor_read: 6 used once, disabling now
May 19 17:24:01 eric-Precision-7520 sshd[3355904]: debug3: send p= acket: type 31 [preauth]
May 19 17:24:01 eric-Precisio= n-7520 sshd[3355904]: debug3: send packet: type 21 [preauth]
May 19 17:24:01 eric-Precision-7520 sshd[3355904]: debug2: set_newke= ys: mode 1 [preauth]
May 19 17:24:01 eric-Precision-75= 20 sshd[3355904]: debug1: rekey out after 134217728 blocks [preauth]
<= div style=3D"">May 19 17:24:01 eric-Precision-7520 sshd[3355904]: debug1: S= SH2_MSG_NEWKEYS sent [preauth]
May 19 17:24:01 eric-Pr= ecision-7520 sshd[3355904]: debug1: Sending SSH2_MSG_EXT_INFO [preauth]
May 19 17:24:01 eric-Precision-7520 sshd[3355904]: debug3= : send packet: type 7 [preauth]
May 19 17:24:01 eric-P= recision-7520 sshd[3355904]: debug1: expecting SSH2_MSG_NEWKEYS [preauth]
May 19 17:24:01 eric-Precision-7520 sshd[3355904]: debu= g3: receive packet: type 21 [preauth]
May 19 17:24:01 = eric-Precision-7520 sshd[3355904]: debug1: SSH2_MSG_NEWKEYS received [preau= th]
May 19 17:24:01 eric-Precision-7520 sshd[3355904]:= debug2: set_newkeys: mode 0 [preauth]
May 19 17:24:01= eric-Precision-7520 sshd[3355904]: debug1: rekey in after 134217728 blocks= [preauth]
May 19 17:24:01 eric-Precision-7520 sshd[33= 55904]: debug1: KEX done [preauth]



> Are results identical with a server running an unpatc= hed upstream OpenSSH?
= Unfortunately, I do not have a server running this version.  My sshd s= erver is


OpenSSH_8.2p1 Ubuntu-4ubuntu0.2, OpenSSL 1.1.1= f  31 Mar 2020

-Eric

--===============1032996422== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KbGlic3NoMi1k ZXZlbCBodHRwczovL2Nvb2wuaGF4eC5zZS9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8vbGlic3No Mi1kZXZlbAo= --===============1032996422==-- From libssh2-devel-bounces@cool.haxx.se Thu May 20 01:18:02 2021 Return-Path: Received: from giant.haxx.se (mail [127.0.0.1]) by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id 14JNHWfi006996; Thu, 20 May 2021 01:17:53 +0200 Received: from foo.stuge.se (foo.stuge.se [212.116.89.98]) by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id 14JNHV6h006976 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 20 May 2021 01:17:31 +0200 Received: (qmail 8655 invoked by uid 1000); 19 May 2021 23:17:25 -0000 Message-ID: <20210519231725.8654.qmail@stuge.se> Date: Wed, 19 May 2021 23:17:25 +0000 From: Peter Stuge To: libssh2-devel@cool.haxx.se Subject: Re: error: Corrupted MAC on input. [preauth] References: <20210519142847.13c3649ac450636e4bd7e872c6c81713.ec230c4fa0.wbe@email15.godaddy.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210519142847.13c3649ac450636e4bd7e872c6c81713.ec230c4fa0.wbe@email15.godaddy.com> X-BeenThere: libssh2-devel@cool.haxx.se X-Mailman-Version: 2.1.22 Precedence: list List-Id: libssh2 development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: libssh2 development Content-Type: text/plain; charset="utf-8" Errors-To: libssh2-devel-bounces@cool.haxx.se Sender: "libssh2-devel" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id 14JNHWfi006996 Hi Eric, libssh@bentleyemail.net wrote: > I'm happy to help but my responses may be delayed as I'm getting ready > to head out for a few days of vacation (leaving in 12 hours) Oh that sounds amazing! I hope you have a good time. > > > sshd[361421]: debug1: kex: client->server cipher: aes128-ctr MAC: > hmac-sha2-256 compression: none [preauth] .. > > What processor does your embedded system have? In particular endianess > > and native bit size (32/64?) > model name : ARMv7 Processor rev 1 (v7l) > Hardware : Atmel SAMA5 > /bin/busybox: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), > statically linked, BuildID[sha1]=51f5566abbeca4cee5e53734090d7d37b33deedb, > for GNU/Linux 3.2.0, stripped Thanks, little endian ARM. > > What MAC is negotiated by the dropbear and OpenSSH clients you tested? > > Dropbear: .. > May 18 15:42:08 eric-Precision-7520 sshd[444608]: debug1: kex: > client->server cipher: aes128-ctr MAC: hmac-sha1 compression: none [preauth] > OpenSSH: .. > May 19 17:24:01 eric-Precision-7520 sshd[3355904]: debug1: kex: > client->server cipher: [86]chacha20-poly1305@openssh.com MAC: > compression: none [preauth] This is interesting and provides some clues. All three clients end up using different ciphers/MACs with only libssh2 using hmac-sha2-256. It would be great if you could try OpenSSH with the same cipher+MAC as libssh2 and provide the server debug log also for that connection: ssh -oCiphers=aes128-ctr -oMACs=hmac-sha2-256 server > > Are results identical with a server running an unpatched upstream OpenSSH? > > Unfortunately, I do not have a server running this version. My sshd > server is > > OpenSSH_8.2p1 Ubuntu-4ubuntu0.2, OpenSSL 1.1.1f 31 Mar 2020 Okay. The upstream source code is fairly easy to build but I understand that you're leaving literally in hours. If you can try the OpenSSH client with specific cipher and mac that log would be very helpful. Thanks //Peter _______________________________________________ libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel From libssh2-devel-bounces@cool.haxx.se Thu May 20 02:37:43 2021 Return-Path: Received: from giant.haxx.se (mail [127.0.0.1]) by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id 14K0bJqA028906; Thu, 20 May 2021 02:37:38 +0200 Received: from p3plwbeout15-04.prod.phx3.secureserver.net (p3plsmtp15-04-2.prod.phx3.secureserver.net [173.201.193.40]) by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id 14K0bFRZ028890 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 20 May 2021 02:37:16 +0200 Received: from p3plgemwbe15-07.prod.phx3.secureserver.net ([173.201.193.13]) by :WBEOUT: with SMTP id jWgZlSoMxmDxmjWgZlHX03; Wed, 19 May 2021 17:37:11 -0700 X-CMAE-Analysis: v=2.4 cv=V9O4bcri c=1 sm=1 tr=0 ts=60a5af37 a=6lAByLg0dmg6q4aZrg5TuA==:117 a=OksbkqWP67cA:10 a=fRq9-AMryUcA:10 a=IkcTkHD0fZMA:10 a=5FLXtPjwQuUA:10 a=HU1OPnRnAAAA:8 a=nar8ntqeAAAA:8 a=5fRQ-UeVudM24JktuqsA:9 a=1sw4Ih9KjHB1B9L5:21 a=_W_S_7VecoQA:10 a=QEXdDO2ut3YA:10 a=vQ5cN67eHy2kcvnFvKcb:22 a=RptMqvEBejqe73AKBt4K:22 X-SECURESERVER-ACCT: libssh@bentleyemail.net X-SID: jWgZlSoMxmDxm Received: (qmail 18086 invoked by uid 99); 20 May 2021 00:37:11 -0000 X-Originating-IP: 24.160.169.189 User-Agent: Workspace Webmail 6.12.7 Message-Id: <20210519173710.13c3649ac450636e4bd7e872c6c81713.8f07b3e6ff.wbe@email15.godaddy.com> From: To: "libssh2 development" Subject: RE: error: Corrupted MAC on input. [preauth] Date: Wed, 19 May 2021 17:37:10 -0700 Mime-Version: 1.0 X-CMAE-Envelope: MS4xfFdLUwzRGml76cis1TPG46beIzlp+kzLnfHnKz+D7BpWm3O2KlP4SLLsU5omqmXzV8a5Qgzz1dW/Cugy1sFWlMS6gOEf+1dpVYOO3NWU/cadDSE2Lu/X eoPK0hRSCrqJRMytiPgUcSTStv6kEM9GhmG1MeNMRbLZdStt0eBl0hQ9yIuzQEp1iTeZBuhN8bnHIwUzUSxYQAJmvz7VqVFj3Ozer2D+W+NQdwlp2pk8Hxnh MjAPl1dhiwb4m89k/ZTIqA== X-BeenThere: libssh2-devel@cool.haxx.se X-Mailman-Version: 2.1.22 Precedence: list List-Id: libssh2 development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: libssh2 development Content-Type: multipart/mixed; boundary="===============0853972511==" Errors-To: libssh2-devel-bounces@cool.haxx.se Sender: "libssh2-devel" --===============0853972511== Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="utf-8"
Hi Peter,

> > I'm happy to help but my responses may be delayed a= s I'm getting ready
> > to head out for a few da= ys of vacation (leaving in 12 hours)
>
> Oh that sounds amazing! I hope you have a good time.
>
>
> > = > > sshd[361421]: debug1: kex: client->server cipher: aes128-ctr M= AC:
> > hmac-sha2-256 compression: none [preauth= ]
> ..
>
> > > What processor does your embedded system have? In particu= lar endianess
> > > and native bit size (32/6= 4?)
>
> > model name : A= RMv7 Processor rev 1 (v7l)
> > Hardware : Atmel = SAMA5
>
> > /bin/busybox= : ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux),
> > statically linked, BuildID[sha1]=3D51f5566abbeca4cee5e53734= 090d7d37b33deedb,
> > for GNU/Linux 3.2.0, strip= ped
>
> Thanks, little endi= an ARM.
>
>
> > > What MAC is negotiated by the dropbear and OpenSSH cli= ents you tested?
> >
> &= gt; Dropbear:
> ..
> > M= ay 18 15:42:08 eric-Precision-7520 sshd[444608]: debug1: kex:
> > client->server cipher: aes128-ctr MAC: hmac-sha1 compr= ession: none [preauth]
>
><= /div>
> > OpenSSH:
> ..
<= div style=3D"">> > May 19 17:24:01 eric-Precision-7520 sshd[3355904]:= debug1: kex:
> > client->server cipher: [86]= chacha20-poly1305@openssh.= com MAC:
> > <implicit> compression: n= one [preauth]
>
> This is i= nteresting and provides some clues. All three clients end up
> using different ciphers/MACs with only libssh2 using hmac-sha2-= 256.
>
>
> It would be great if you could try OpenSSH with the same cipher+MAC=
> as libssh2 and provide the server debug log also= for that connection:
>
> s= sh -oCiphers=3Daes128-ctr -oMACs=3Dhmac-sha2-256 server
>
>
> > > Are re= sults identical with a server running an unpatched upstream OpenSSH?
<= div style=3D"">> >
> > Unfortunately, I do= not have a server running this version. My sshd
> = > server is
> >
> >= ; OpenSSH_8.2p1 Ubuntu-4ubuntu0.2, OpenSSL 1.1.1f 31 Mar 2020
>
> Okay. The upstream source code is fa= irly easy to build but I understand
> that you're l= eaving literally in hours. If you can try the OpenSSH
= > client with specific cipher and mac that log would be very helpful.

# ssh -V
OpenSSH_8.5p1, OpenSSL 1.1.1k  25 Mar 2021
# ssh -v -oCiphers=3Daes128-ctr -oMACs=3Dhmac-sha2-256 192.168.1.123<= /div>
OpenSSH_8.5p1, OpenSSL 1.1.1k  25 Mar 2021
<= div style=3D"">debug1: Reading configuration data /etc/ssh/ssh_config
=
debug1: Authenticator provider $SSH_SK_PROVIDER did not res= olve; disabling
debug1: Connecting to 192.168.1.123 [1= 92.168.1.123] port 22.
debug1: Connection established.=
debug1: identity file /root/.ssh/id_rsa type -1
=
debug1: identity file /root/.ssh/id_rsa-cert type -1
<= div style=3D"">debug1: identity file /root/.ssh/id_dsa type -1
debug1: identity file /root/.ssh/id_dsa-cert type -1
debug1: identity file /root/.ssh/id_ecdsa type -1
debug1: identity file /root/.ssh/id_ecdsa-cert type -1
debug1: identity file /root/.ssh/id_ecdsa_sk type -1
debug1: identity file /root/.ssh/id_ecdsa_sk-cert type -1
debug1: identity file /root/.ssh/id_ed25519 type -1
debug1: identity file /root/.ssh/id_ed25519-cert type -1
debug1: identity file /root/.ssh/id_ed25519_sk type -1
debug1: identity file /root/.ssh/id_ed25519_sk-cert type -1
debug1: identity file /root/.ssh/id_xmss type -1
debug1: identity file /root/.ssh/id_xmss-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_8.5
debug1: Remote protocol version 2.0, remote software version OpenSS= H_8.2p1 Ubuntu-4ubuntu0.2
debug1: compat_banner: match= : OpenSSH_8.2p1 Ubuntu-4ubuntu0.2 pat OpenSSH* compat 0x04000000
debug1: Authenticating to 192.168.1.123:22 as 'root'
debug1: load_hostkeys: fopen /root/.ssh/known_hosts2: No such fil= e or directory
debug1: load_hostkeys: fopen /etc/ssh/s= sh_known_hosts: No such file or directory
debug1: load= _hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory
=
debug1: SSH2_MSG_KEXINIT sent
debug1: = SSH2_MSG_KEXINIT received
debug1: kex: algorithm: curv= e25519-sha256
debug1: kex: host key algorithm: ssh-ed2= 5519
debug1: kex: server->client cipher: aes128-ctr= MAC: hmac-sha2-256 compression: none
debug1: kex: cli= ent->server cipher: aes128-ctr MAC: hmac-sha2-256 compression: none
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug1: SSH2_MSG_KEX_ECDH_REPLY received
debug1:= Server host key: ssh-ed25519 SHA256:NgW5tO4qOstp1cHvompAmFce85z6T+MB3rW92d= 4FJiM
debug1: load_hostkeys: fopen /root/.ssh/known_ho= sts2: No such file or directory
debug1: load_hostkeys:= fopen /etc/ssh/ssh_known_hosts: No such file or directory
debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file = or directory
debug1: Host '192.168.1.123' is known and= matches the ED25519 host key.
debug1: Found key in /r= oot/.ssh/known_hosts:1
ssh_dispatch_run_fatal: Connect= ion to 192.168.1.123 port 22: error in libcrypto


Server= log:
May 19 20:22:49 eric-Precision-7520 sshd[360940]= : debug3: fd 5 is not O_NONBLOCK
May 19 20:22:49 eric-= Precision-7520 systemd-journald[409]: Forwarding to syslog missed 310 messa= ges.
May 19 20:22:49 eric-Precision-7520 sshd[360940]:= debug1: Forked child 3508801.
May 19 20:22:49 eric-Pr= ecision-7520 sshd[360940]: debug3: send_rexec_state: entering fd =3D 8 conf= ig len 330
May 19 20:22:49 eric-Precision-7520 sshd[36= 0940]: debug3: ssh_msg_send: type 0
May 19 20:22:49 er= ic-Precision-7520 sshd[360940]: debug3: send_rexec_state: done
May 19 20:22:49 eric-Precision-7520 sshd[3508801]: debug3: oom_adj= ust_restore
May 19 20:22:49 eric-Precision-7520 sshd[3= 508801]: debug1: Set /proc/self/oom_score_adj to 0
May= 19 20:22:49 eric-Precision-7520 sshd[3508801]: debug1: rexec start in 5 ou= t 5 newsock 5 pipe 7 sock 8
May 19 20:22:49 eric-Preci= sion-7520 sshd[3508801]: debug1: inetd sockets after dupping: 4, 4
May 19 20:22:49 eric-Precision-7520 sshd[3508801]: Connection = from 192.168.1.208 port 37310 on 192.168.1.123 port 22 rdomain ""
May 19 20:22:49 eric-Precision-7520 sshd[3508801]: debug1: Loca= l version string SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.2
May 19 20:22:49 eric-Precision-7520 sshd[3508801]: debug1: Remote protoc= ol version 2.0, remote software version OpenSSH_8.5
Ma= y 19 20:22:49 eric-Precision-7520 sshd[3508801]: debug1: match: OpenSSH_8.5= pat OpenSSH* compat 0x04000000
May 19 20:22:49 eric-P= recision-7520 sshd[3508801]: debug2: fd 4 setting O_NONBLOCK
May 19 20:22:49 eric-Precision-7520 sshd[3508801]: debug3: ssh_sandb= ox_init: preparing seccomp filter sandbox
May 19 20:22= :49 eric-Precision-7520 sshd[3508801]: debug2: Network child is on pid 3508= 802
May 19 20:22:49 eric-Precision-7520 sshd[3508801]:= debug3: preauth child monitor started
May 19 20:22:49= eric-Precision-7520 sshd[3508801]: debug3: privsep user:group 126:65534 [p= reauth]
May 19 20:22:49 eric-Precision-7520 sshd[35088= 01]: debug1: permanently_set_uid: 126/65534 [preauth]
= May 19 20:22:49 eric-Precision-7520 sshd[3508801]: debug3: ssh_sandbox_chil= d: setting PR_SET_NO_NEW_PRIVS [preauth]
May 19 20:22:= 49 eric-Precision-7520 sshd[3508801]: debug3: ssh_sandbox_child: attaching = seccomp filter program [preauth]
May 19 20:22:49 eric-= Precision-7520 sshd[3508801]: debug1: list_hostkey_types: rsa-sha2-512,rsa-= sha2-256,ssh-rsa,ecdsa-sha2-nistp256,ssh-ed25519 [preauth]
May 19 20:22:49 eric-Precision-7520 sshd[3508801]: debug3: send packe= t: type 20 [preauth]
May 19 20:22:49 eric-Precision-75= 20 sshd[3508801]: debug1: SSH2_MSG_KEXINIT sent [preauth]
May 19 20:22:49 eric-Precision-7520 sshd[3508801]: debug3: receive pa= cket: type 20 [preauth]
May 19 20:22:49 eric-Precision= -7520 sshd[3508801]: debug1: SSH2_MSG_KEXINIT received [preauth]
May 19 20:22:49 eric-Precision-7520 sshd[3508801]: debug2: local= server KEXINIT proposal [preauth]
May 19 20:22:49 eri= c-Precision-7520 sshd[3508801]: debug2: KEX algorithms: curve25519-sha256,<= a href=3D"mailto:curve25519-sha256@libssh.org">curve25519-sha256@libssh.org= ,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellma= n-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group1= 8-sha512,diffie-hellman-group14-sha256 [preauth]
May 1= 9 20:22:49 eric-Precision-7520 sshd[3508801]: debug2: host key algorithms: = rsa-sha2-512,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp256,ssh-ed25519 [preauth]=
May 19 20:22:49 eric-Precision-7520 sshd[3508801]: de= bug2: ciphers ctos: chacha= 20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com [preauth]
May 19 20:22:49 eric-Precision-7520 sshd[3508801]: debug2: ciphers st= oc: chacha20-poly1305@open= ssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com [preauth]
May 19 20:2= 2:49 eric-Precision-7520 sshd[3508801]: debug2: MACs ctos: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,= hmac-sha1 [preauth]
May 19 20:22:49 eric-Precision-752= 0 sshd[3508801]: debug2: MACs stoc: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,u= mac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1 [preauth]
May 19 20:22:49 eric-Precision-7520 sshd[3508801]: debug2= : compression ctos: none,zlib@openssh.c= om [preauth]
May 19 20:22:49 eric-Precision-7520 s= shd[3508801]: debug2: compression stoc: none,zlib@openssh.com [preauth]
May 19 20:22:49 e= ric-Precision-7520 sshd[3508801]: debug2: languages ctos:  [preauth]
May 19 20:22:49 eric-Precision-7520 sshd[3508801]: debu= g2: languages stoc:  [preauth]
May 19 20:22:49 er= ic-Precision-7520 sshd[3508801]: debug2: first_kex_follows 0  [preauth= ]
May 19 20:22:49 eric-Precision-7520 sshd[3508801]: d= ebug2: reserved 0  [preauth]
May 19 20:22:49 eric= -Precision-7520 sshd[3508801]: debug2: peer client KEXINIT proposal [preaut= h]
May 19 20:22:49 eric-Precision-7520 sshd[3508801]: = debug2: KEX algorithms: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha= 2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-h= ellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-= sha256,ext-info-c [preauth]
May 1= 9 20:22:49 eric-Precision-7520 sshd[3508801]: debug2: ciphers ctos: aes128-= ctr [preauth]
May 19 20:22:49 eric-Precision-7520 sshd= [3508801]: debug2: ciphers stoc: aes128-ctr [preauth]
= May 19 20:22:49 eric-Precision-7520 sshd[3508801]: debug2: MACs ctos: hmac-= sha2-256 [preauth]
May 19 20:22:49 eric-Precision-7520= sshd[3508801]: debug2: MACs stoc: hmac-sha2-256 [preauth]
May 19 20:22:49 eric-Precision-7520 sshd[3508801]: debug2: compressio= n ctos: none,zlib@openssh.com,zlib = [preauth]
May 19 20:22:49 eric-Precision-7520 sshd[350= 8801]: debug2: compression stoc: none,z= lib@openssh.com,zlib [preauth]
May 19 20:22:49 eri= c-Precision-7520 sshd[3508801]: debug2: languages ctos:  [preauth]
May 19 20:22:49 eric-Precision-7520 sshd[3508801]: debug2= : languages stoc:  [preauth]
May 19 20:22:49 eric= -Precision-7520 sshd[3508801]: debug2: first_kex_follows 0  [preauth]<= /div>
May 19 20:22:49 eric-Precision-7520 sshd[3508801]: deb= ug2: reserved 0  [preauth]
May 19 20:22:49 eric-P= recision-7520 sshd[3508801]: debug1: kex: algorithm: curve25519-sha256 [pre= auth]
May 19 20:22:49 eric-Precision-7520 sshd[3508801= ]: debug1: kex: host key algorithm: ssh-ed25519 [preauth]
May 19 20:22:49 eric-Precision-7520 sshd[3508801]: debug1: kex: clien= t->server cipher: aes128-ctr MAC: hmac-sha2-256 compression: none [preau= th]
May 19 20:22:49 eric-Precision-7520 sshd[3508801]:= debug1: kex: server->client cipher: aes128-ctr MAC: hmac-sha2-256 compr= ession: none [preauth]
May 19 20:22:49 eric-Precision-= 7520 sshd[3508801]: debug1: expecting SSH2_MSG_KEX_ECDH_INIT [preauth]
May 19 20:22:49 eric-Precision-7520 sshd[3508801]: debug3:= receive packet: type 30 [preauth]
May 19 20:22:49 eri= c-Precision-7520 sshd[3508801]: debug3: mm_sshkey_sign entering [preauth]
May 19 20:22:49 eric-Precision-7520 sshd[3508801]: debu= g3: mm_request_send entering: type 6 [preauth]
May 19 = 20:22:49 eric-Precision-7520 sshd[3508801]: debug3: mm_sshkey_sign: waiting= for MONITOR_ANS_SIGN [preauth]
May 19 20:22:49 eric-P= recision-7520 sshd[3508801]: debug3: mm_request_receive_expect entering: ty= pe 7 [preauth]
May 19 20:22:49 eric-Precision-7520 ssh= d[3508801]: debug3: mm_request_receive entering [preauth]
May 19 20:22:49 eric-Precision-7520 sshd[3508801]: debug3: mm_request= _receive entering
May 19 20:22:49 eric-Precision-7520 = sshd[3508801]: debug3: monitor_read: checking request 6
May 19 20:22:49 eric-Precision-7520 sshd[3508801]: debug3: mm_answer_sign=
May 19 20:22:49 eric-Precision-7520 sshd[3508801]: de= bug3: mm_answer_sign: KEX signature 0x564fca8d1d10(83)
May 19 20:22:49 eric-Precision-7520 sshd[3508801]: debug3: mm_request_send= entering: type 7
May 19 20:22:49 eric-Precision-7520 = sshd[3508801]: debug2: monitor_read: 6 used once, disabling now
May 19 20:22:49 eric-Precision-7520 sshd[3508801]: debug3: send p= acket: type 31 [preauth]
May 19 20:22:49 eric-Precisio= n-7520 sshd[3508801]: debug3: send packet: type 21 [preauth]
May 19 20:22:49 eric-Precision-7520 sshd[3508801]: debug2: set_newke= ys: mode 1 [preauth]
May 19 20:22:49 eric-Precision-75= 20 sshd[3508801]: debug1: rekey out after 4294967296 blocks [preauth]
=
May 19 20:22:49 eric-Precision-7520 sshd[3508801]: debug1: = SSH2_MSG_NEWKEYS sent [preauth]
May 19 20:22:49 eric-P= recision-7520 sshd[3508801]: debug1: Sending SSH2_MSG_EXT_INFO [preauth]
May 19 20:22:49 eric-Precision-7520 sshd[3508801]: debug= 3: send packet: type 7 [preauth]
May 19 20:22:49 eric-= Precision-7520 sshd[3508801]: debug1: expecting SSH2_MSG_NEWKEYS [preauth]<= /div>
May 19 20:22:50 eric-Precision-7520 sshd[3508801]: Con= nection closed by 192.168.1.208 port 37310 [preauth]
M= ay 19 20:22:50 eric-Precision-7520 sshd[3508801]: debug1: do_cleanup [preau= th]
May 19 20:22:50 eric-Precision-7520 sshd[3508801]:= debug3: PAM: sshpam_thread_cleanup entering [preauth]
May 19 20:22:50 eric-Precision-7520 sshd[3508801]: debug1: monitor_read_lo= g: child log fd closed
May 19 20:22:50 eric-Precision-= 7520 sshd[3508801]: debug3: mm_request_receive entering
May 19 20:22:50 eric-Precision-7520 sshd[3508801]: debug1: do_cleanup
May 19 20:22:50 eric-Precision-7520 sshd[3508801]: debug3= : PAM: sshpam_thread_cleanup entering
May 19 20:22:50 = eric-Precision-7520 sshd[3508801]: debug1: Killing privsep child 3508802
May 19 20:22:50 eric-Precision-7520 sshd[3508801]: debug= 1: audit_event: unhandled event 12
May 19 20:22:50 eri= c-Precision-7520 sshd[360940]: debug1: main_sigchld_handler: Child exited

-Eric
--===============0853972511== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KbGlic3NoMi1k ZXZlbCBodHRwczovL2Nvb2wuaGF4eC5zZS9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8vbGlic3No Mi1kZXZlbAo= --===============0853972511==-- From libssh2-devel-bounces@cool.haxx.se Thu May 20 11:44:09 2021 Return-Path: Received: from giant.haxx.se (mail [127.0.0.1]) by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id 14K9hdCE013062; Thu, 20 May 2021 11:44:01 +0200 Received: from foo.stuge.se (foo.stuge.se [212.116.89.98]) by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id 14K9ha3f013049 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 20 May 2021 11:43:37 +0200 Received: (qmail 20555 invoked by uid 1000); 20 May 2021 09:43:32 -0000 Message-ID: <20210520094332.20554.qmail@stuge.se> Date: Thu, 20 May 2021 09:43:31 +0000 From: Peter Stuge To: libssh2-devel@cool.haxx.se Subject: Re: error: Corrupted MAC on input. [preauth] References: <20210519173710.13c3649ac450636e4bd7e872c6c81713.8f07b3e6ff.wbe@email15.godaddy.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210519173710.13c3649ac450636e4bd7e872c6c81713.8f07b3e6ff.wbe@email15.godaddy.com> X-BeenThere: libssh2-devel@cool.haxx.se X-Mailman-Version: 2.1.22 Precedence: list List-Id: libssh2 development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: libssh2 development Content-Type: text/plain; charset="utf-8" Errors-To: libssh2-devel-bounces@cool.haxx.se Sender: "libssh2-devel" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id 14K9hdCE013062 Hi Eric, Thanks for these additional logs, I think we found the issue! libssh@bentleyemail.net wrote: > # ssh -v -oCiphers=aes128-ctr -oMACs=hmac-sha2-256 192.168.1.123 > OpenSSH_8.5p1, OpenSSL 1.1.1k 25 Mar 2021 .. > debug1: kex: server->client cipher: aes128-ctr MAC: hmac-sha2-256 compression: none > debug1: kex: client->server cipher: aes128-ctr MAC: hmac-sha2-256 compression: none Now the OpenSSH client uses the same cipher and MAC as libssh2 did, and then reports: > ssh_dispatch_run_fatal: Connection to 192.168.1.123 port 22: error in libcrypto This error message from the client shows that the problem is actually with libcrypto (OpenSSL) and not with libssh2. I guess that the embedded build of OpenSSL disables a feature required for hmac-sha2-256. It is a different - but also relevant! - problem that libssh2 behaves the way it does in this case. I don't know if it fails to check availability or whether it just needs to provide an error message which makes sense. Either way it's sloppy and we should fix that. But to answer your original question, for your connection to succeed with curl/libssh2 and with OpenSSH using same cipher and MAC you'll have to work on how OpenSSL is being built. Once OpenSSH works with those options libssh2 will likely work as well. //Peter _______________________________________________ libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel From libssh2-devel-bounces@cool.haxx.se Thu May 20 16:37:33 2021 Return-Path: Received: from giant.haxx.se (mail [127.0.0.1]) by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id 14KEavTk000515; Thu, 20 May 2021 16:37:24 +0200 Received: from relay.yourmailgateway.de (relay.yourmailgateway.de [188.68.61.102]) by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id 14KEauHx000511 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 20 May 2021 16:36:56 +0200 Received: from mors-relay-8403.netcup.net (localhost [127.0.0.1]) by mors-relay-8403.netcup.net (Postfix) with ESMTPS id 4FmC493Lk0z8XbJ for ; Thu, 20 May 2021 16:36:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=marc-hoersken.de; s=key2; t=1621521417; bh=4XrR2UudezYzPMsV4XHhV5dn3AbxgorHIm/8DFzDnbo=; h=Subject:To:References:From:Date:In-Reply-To:From; b=T2DfYhES0CANVsrWYUczQxg07gm1lto/BfBxd7MZsDyl7FZSkTbnGwvytR3zIg8AV fo0hKFraRA4oly6dKgqhm8vvV3Acv87oyL9PN0TVJIpP8Qavr5C9dtuluC84GYl91V 5wNlkIGuTOtk4sPLe3q0iejHqYiiphLyQ0/Uz5FIy6fw2tswpjIOsnQNghcRZECz0X P+XHlHClWm9AFE0/eRJ6bGCHrcDby4hRwtqTdEoKpSRqg5ax4MC/DeOs7HgugYQdtN yKdDmk4ElUNxcIQva/v6PironKhhmrqPvDussXtWuSkOr79hoR6/WdKU0npIE+JDzX ztdZ3wYtIl2cg== Received: from policy02-mors.netcup.net (unknown [46.38.225.35]) by mors-relay-8403.netcup.net (Postfix) with ESMTPS id 4FmC492zMyz8XbH for ; Thu, 20 May 2021 16:36:57 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at policy02-mors.netcup.net X-Spam-Flag: NO X-Spam-Score: -3.1 X-Spam-Level: X-Spam-Status: No, score=-3.1 required=6.31 tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no Received: from mx2f80.netcup.net (unknown [10.243.12.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by policy02-mors.netcup.net (Postfix) with ESMTPS id 4FmC4860MPz8tH5 for ; Thu, 20 May 2021 16:36:56 +0200 (CEST) Received: from localhost (v220201141477133635.uxnr.de [45.132.245.196]) by mx2f80.netcup.net (Postfix) with ESMTPSA id 3097E627A1 for ; Thu, 20 May 2021 16:36:54 +0200 (CEST) Authentication-Results: mx2f80; spf=pass (sender IP is 45.132.245.196) smtp.mailfrom=info@marc-hoersken.de smtp.helo=localhost Received-SPF: pass (mx2f80: connection is authenticated) Received: by mxdkim.uxnr.de (smtp-dkim-signer) with ESMTPSA id 9DCACEF6C9; Thu, 20 May 2021 14:36:54 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=4XrR2UudezYzPMsV4XHhV5dn3AbxgorHIm/8DFzDnb o=; c=relaxed/simple; d=marc-hoersken.de; h=From:Reply-To:Subject:Date:To:C c:In-Reply-To:References:Message-ID:Resent-Date:Resent-From:Resent-To:Resen t-Cc; s=picard; t=1621521414; v=1; b=XAOvq0seePHPUs5Rvo7BOfZs7Vi5UwldQZ+5Pl e1x5G8wzJLOf9ixM008CdvO0Dao3j76PkD88E2z0qKi83bAfGENCySd1UTJ8qeqXkJ6yzWo0QVS c58bKUscrSvYu32bNLgH/d3ula69IlXZrdbXMoUxloNzT8oV3DfWFQsiK8=; Subject: Re: 1.9.1 release pending, please give it a look To: libssh2-devel@cool.haxx.se References: <2DF27D7C-8B9A-47A0-B4E0-9DE041A95066@panic.com> <88884e93-d115-6d09-ae85-497b77d624cb@marc-hoersken.de> <7def10ba-8e36-378e-8a6d-cfd8ddff84e2@marc-hoersken.de> From: Marc Hoersken Message-ID: <56f3ff37-03df-0148-c9e4-1c9c77fb41c9@marc-hoersken.de> Date: Thu, 20 May 2021 16:36:53 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0 MIME-Version: 1.0 In-Reply-To: <7def10ba-8e36-378e-8a6d-cfd8ddff84e2@marc-hoersken.de> Content-Language: en-US X-PPP-Message-ID: <162152141450.26311.5234373924211963173@mx2f80.netcup.net> X-PPP-Vhost: marc-hoersken.de X-NC-CID: RyoaOv87u8FmEXeR6wUp8noS9KrRaVFzzMD+/ZJ+1TWImzWiyg== X-BeenThere: libssh2-devel@cool.haxx.se X-Mailman-Version: 2.1.22 Precedence: list List-Id: libssh2 development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: libssh2 development Content-Type: text/plain; charset="utf-8" Errors-To: libssh2-devel-bounces@cool.haxx.se Sender: "libssh2-devel" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id 14KEavTk000515 On 19.05.21 21:20, Marc Hoersken wrote: > Good progress can be found here: > https://ci.appveyor.com/project/mback2k/libssh2/build/job/dtp4y5s7p8fk1cdm > > The Docker container is now being run on GitHub Actions instead of > DigitalOcean, so we don't rely on someone paying that. Another update with the first completely successful run including tests since September 2020: https://ci.appveyor.com/project/mback2k/libssh2/builds/39247798 _______________________________________________ libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel From libssh2-devel-bounces@cool.haxx.se Wed May 26 15:40:10 2021 Return-Path: Received: from giant.haxx.se (mail [127.0.0.1]) by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id 14QDdVSN004531; Wed, 26 May 2021 15:39:59 +0200 Received: from p3plwbeout15-03.prod.phx3.secureserver.net (p3plsmtp15-03-2.prod.phx3.secureserver.net [173.201.193.38]) by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id 14QDdR1c004513 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 26 May 2021 15:39:28 +0200 Received: from p3plgemwbe15-02.prod.phx3.secureserver.net ([173.201.193.8]) by :WBEOUT: with SMTP id ltkplxX0Kiw2Wltkpl4USX; Wed, 26 May 2021 06:39:23 -0700 X-CMAE-Analysis: v=2.4 cv=V7K4bcri c=1 sm=1 tr=0 ts=60ae4f8b a=d9+JVeJtGOfPkU98oz7bBw==:117 a=OksbkqWP67cA:10 a=fRq9-AMryUcA:10 a=IkcTkHD0fZMA:10 a=5FLXtPjwQuUA:10 a=gDrM6OpmAAAA:8 a=UJ5Y5Z__AAAA:8 a=bW9uqem-4rBtq4G_3-4A:9 a=fNmo0Sx2pE3qffjj:21 a=_W_S_7VecoQA:10 a=QEXdDO2ut3YA:10 a=qB8ReIOInTRWesbmamRj:22 a=-nuATAkMhhWPdIrRzIKU:22 X-SECURESERVER-ACCT: libssh@bentleyemail.net X-SID: ltkplxX0Kiw2W Received: (qmail 14429 invoked by uid 99); 26 May 2021 13:39:23 -0000 X-Originating-IP: 24.160.169.189 User-Agent: Workspace Webmail 6.12.7 Message-Id: <20210526063922.13c3649ac450636e4bd7e872c6c81713.e5ee002cac.wbe@email15.godaddy.com> From: To: "libssh2 development" Subject: RE: error: Corrupted MAC on input. [preauth] Date: Wed, 26 May 2021 06:39:22 -0700 Mime-Version: 1.0 X-CMAE-Envelope: MS4xfPy21I/NrEmtdj0wXDLTPr1h1aWE7VR2V9bOc5WITv41aegeqljyyImN8JQNEkhGYJZl9ewhpSJYLb2iH1LzAJevEaRrnMt92FlDyjPPBTyEU2+7uwBW XYnqN2FHfBmMcw7hwjczTDV8hOITTvRZLTjcwQzvjhCaCkdfyrJTSTmlib5NhUmigWFPZ+LGX025Ah85/tQt7UO5jknNGJb05O1N+s8PrFYUKt5NGBxkLfVi KOXMark4CoLhZGxDiQyyYw== X-BeenThere: libssh2-devel@cool.haxx.se X-Mailman-Version: 2.1.22 Precedence: list List-Id: libssh2 development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: libssh2 development Content-Type: multipart/mixed; boundary="===============1821733136==" Errors-To: libssh2-devel-bounces@cool.haxx.se Sender: "libssh2-devel" --===============1821733136== Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="utf-8"
Thanks for you assistace!

-Eric
=0A=
=0A
=0A-------- Original= Message --------
=0ASubject: Re: error: Corrupted MAC on input. [preaut= h]
=0AFrom: Peter Stuge <peter@stug= e.se>
=0ADate: Thu, May 20, 2021 2:43 am
=0ATo: libssh2-devel@cool.haxx.se
=0A
= =0AHi Eric,
=0A
=0AThanks for these additional logs, I think we found= the issue!
=0A
=0Alibssh@= bentleyemail.net wrote:
=0A> # ssh -v -oCiphers=3Daes128-ctr -oMA= Cs=3Dhmac-sha2-256 192.168.1.123
=0A> OpenSSH_8.5p1, OpenSSL 1.1.1k = 25 Mar 2021
=0A..
=0A> debug1: kex: server->client cipher: aes1= 28-ctr MAC: hmac-sha2-256 compression: none
=0A> debug1: kex: client-= >server cipher: aes128-ctr MAC: hmac-sha2-256 compression: none
=0A=0ANow the OpenSSH client uses the same cipher and MAC as libssh2 did,=0Aand then reports:
=0A
=0A
=0A> ssh_dispatch_run_fatal: Conn= ection to 192.168.1.123 port 22: error in libcrypto
=0A
=0AThis error= message from the client shows that the problem is actually
=0Awith libc= rypto (OpenSSL) and not with libssh2. I guess that the
=0Aembedded build= of OpenSSL disables a feature required for hmac-sha2-256.
=0A
=0A=0AIt is a different - but also relevant! - problem that libssh2 behaves=0Athe way it does in this case. I don't know if it fails to check
=0A= availability or whether it just needs to provide an error message
=0Awhi= ch makes sense. Either way it's sloppy and we should fix that.
=0A
= =0A
=0ABut to answer your original question, for your connection to succ= eed
=0Awith curl/libssh2 and with OpenSSH using same cipher and MAC you'= ll
=0Ahave to work on how OpenSSL is being built.
=0A
=0AOnce Open= SSH works with those options libssh2 will likely work as well.
=0A
= =0A
=0A//Peter
=0A_______________________________________________
= =0Alibssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
=0A=0A
=0A
--===============1821733136== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KbGlic3NoMi1k ZXZlbCBodHRwczovL2Nvb2wuaGF4eC5zZS9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8vbGlic3No Mi1kZXZlbAo= --===============1821733136==--