Message ID | eddac087f05fb0df823cad861a82e073e2e3dc88.1742676250.git.dev@icepic.de |
---|---|
State | New |
Headers |
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 4E44E27BBEC; Sat, 22 Mar 2025 20:46:43 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id D144127BBE2 for <patchwork@mira.cbaines.net>; Sat, 22 Mar 2025 20:46:42 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces@gnu.org>) id 1tw5jM-0005Dm-2Y; Sat, 22 Mar 2025 16:46:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1tw5jH-0005DB-8D for guix-patches@gnu.org; Sat, 22 Mar 2025 16:46:05 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1tw5jG-00031Y-Ui for guix-patches@gnu.org; Sat, 22 Mar 2025 16:46:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=VuOPISmANlM58SgyGlcnJViVF/fq8rC/8+MCBkoVdcE=; b=G7pt54v6A2hzzj1Jc/OLQk9a77Rw0H3CuCGYCV1VfYz29s/o3uY/4RCwjXGbf1NxnMriCRzjtNHjG3lg64/0Mmg3fTU75xxqLl96SS3x2mHWYy7jrJfRPhxtOW/vWDiV/jB2N8J9GvcGMUIew/VNZiv9o/lR+mNZMAW322l5Zky3HIq0KvIUL1LuGYg/CA7alv4SR+roMRn3tYkV3Smuu48Tm5IaWhMlDoWRw8GCiFs9CRWvR8sZBin8K8HI6uuEjCT6jbJJMdz6go1PwPAYWrdFNgwVa+jmtHAljO7+oUWDfQsro/5BU+gATf9uC3PYNv4vEgI2RxI944r7Ym1bpA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1tw5jG-0001iI-QJ for guix-patches@gnu.org; Sat, 22 Mar 2025 16:46:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77154] [PATCH v3 2/2] gnu: libssh2: Change crypto backend to openssl Resent-From: Christoph Buck <dev@icepic.de> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 22 Mar 2025 20:46:02 +0000 Resent-Message-ID: <handler.77154.B77154.17426763246323@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77154 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77154@debbugs.gnu.org Cc: Christoph Buck <dev@icepic.de> Received: via spool by 77154-submit@debbugs.gnu.org id=B77154.17426763246323 (code B ref 77154); Sat, 22 Mar 2025 20:46:02 +0000 Received: (at 77154) by debbugs.gnu.org; 22 Mar 2025 20:45:24 +0000 Received: from localhost ([127.0.0.1]:45897 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1tw5id-0001dv-N6 for submit@debbugs.gnu.org; Sat, 22 Mar 2025 16:45:23 -0400 Received: from mail-108-mta144.mxroute.com ([136.175.108.144]:42639) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <dev@icepic.de>) id 1tw5iM-0001XR-2k for 77154@debbugs.gnu.org; Sat, 22 Mar 2025 16:45:07 -0400 Received: from filter006.mxroute.com ([136.175.111.3] filter006.mxroute.com) (Authenticated sender: mN4UYu2MZsgR) by mail-108-mta144.mxroute.com (ZoneMTA) with ESMTPSA id 195bf9a222100067b0.001 for <77154@debbugs.gnu.org> (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Sat, 22 Mar 2025 20:45:04 +0000 X-Zone-Loop: 143fd6597495c4f66aaf019b4db73fad551009c0a269 X-Originating-IP: [136.175.111.3] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=icepic.de; s=x; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Date: Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=VuOPISmANlM58SgyGlcnJViVF/fq8rC/8+MCBkoVdcE=; b=myIdxnAbRMUN+3lDtmZ7e68+iH hLib31r/0obInAtnPWXFn3dA8iDolPDK9PYxfgK3/e8MHW+LMUL6jZkjUaffdEbUUwAnAW4omed6Z dbmLS2Ddl8NTRv+YQETvV5kqyTqFDsgwjHyXi732oV3oz9qFvRcwPNUhPgPg9H/9x9J+FimoTv0uX V7n1Lz7+Em2jQy1PnDw0681ELyb5S2d3Nd3aXyGJDytz4BWQfJaozlTJNyeBQxL5/gfZXzBsQV1ou Dcyu6oXCGCIxr06jUx1Xr1vrYAio0lOsCd5OEm+MXbv3jC9tVFfuE37Ghwme64I4jSoq8aRvsPuV4 jKMaJLWw==; From: Christoph Buck <dev@icepic.de> Date: Sat, 22 Mar 2025 21:44:10 +0100 Message-ID: <eddac087f05fb0df823cad861a82e073e2e3dc88.1742676250.git.dev@icepic.de> In-Reply-To: <b9fa691786658c3ac8bf2ef701d5b9eabb3a1895.1742676250.git.dev@icepic.de> References: <b9fa691786658c3ac8bf2ef701d5b9eabb3a1895.1742676250.git.dev@icepic.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Authenticated-Id: dev@icepic.de X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=subscribe> Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches |
Series |
[bug#77154,v3,1/2] gnu: libssh2: Update to 1.11.1
|
|
Commit Message
Christoph Buck
March 22, 2025, 8:44 p.m. UTC
* gnu/packages/ssh.scm (libssh2): Change crypto backend to openssl [arguments]: Replace libgcrypt with openssl [propagated-inputs]: Replace libgcrypt with openssl Change crypto backend to openssl to support ed25519 hostkeys. Change-Id: I7603149d6e3a3c251bdc6c3238769a63b6a04d26 --- gnu/packages/ssh.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Comments
tag 77154 + moreinfo quit Hi, Christoph Buck <dev@icepic.de> writes: > * gnu/packages/ssh.scm (libssh2): Change crypto backend to openssl > [arguments]: Replace libgcrypt with openssl > [propagated-inputs]: Replace libgcrypt with openssl > > Change crypto backend to openssl to support ed25519 hostkeys. > > Change-Id: I7603149d6e3a3c251bdc6c3238769a63b6a04d26 > --- > gnu/packages/ssh.scm | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm > index 66d9656caf..9a6f79bb30 100644 > --- a/gnu/packages/ssh.scm > +++ b/gnu/packages/ssh.scm > @@ -193,9 +193,9 @@ (define-public libssh2 > (build-system gnu-build-system) > ;; The installed libssh2.pc file does not include paths to libgcrypt and > ;; zlib libraries, so we need to propagate the inputs. > - (propagated-inputs (list libgcrypt zlib)) > + (propagated-inputs (list openssl zlib)) > (arguments > - (list #:configure-flags #~'("--with-libgcrypt" > + (list #:configure-flags #~'("--with-crypto=openssl" > "--disable-static" > "--disable-docker-tests" ))) > (synopsis "Client-side C library implementing the SSH2 protocol") I believe this series may be obsolete; libgcrypt 1.11 (already packaged in Guix) appears to come with ed25519 support. The release notes https://lists.gnu.org/archive/html/info-gnu/2024-06/msg00004.html mention for example: GCRY_KEM_RAW_X25519 NEW kem algo. GCRY_KEM_DHKEM25519 NEW kem algo. introduced since libgcrypt 1.10. Is the original issue resolved? It seems that there is some support for elliptic curve crypto using libgcrypt in libssh2 already, according to [0]. [0] https://github.com/libssh2/libssh2/discussions/1255 Could you please report the exact issue you are having when using libgcrypt?
diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm index 66d9656caf..9a6f79bb30 100644 --- a/gnu/packages/ssh.scm +++ b/gnu/packages/ssh.scm @@ -193,9 +193,9 @@ (define-public libssh2 (build-system gnu-build-system) ;; The installed libssh2.pc file does not include paths to libgcrypt and ;; zlib libraries, so we need to propagate the inputs. - (propagated-inputs (list libgcrypt zlib)) + (propagated-inputs (list openssl zlib)) (arguments - (list #:configure-flags #~'("--with-libgcrypt" + (list #:configure-flags #~'("--with-crypto=openssl" "--disable-static" "--disable-docker-tests" ))) (synopsis "Client-side C library implementing the SSH2 protocol")