From unknown Fri Jun 20 07:18:39 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#75392 <75392@debbugs.gnu.org> To: bug#75392 <75392@debbugs.gnu.org> Subject: Status: =?UTF-8?Q?=E2=80=9CFailed?= to read private =?UTF-8?Q?key=E2=80=9D?= error with libssh 0.11.1 Reply-To: bug#75392 <75392@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:18:39 +0000 retitle 75392 =E2=80=9CFailed to read private key=E2=80=9D error with libss= h 0.11.1 reassign 75392 guix submitter 75392 Ludovic Court=C3=A8s severity 75392 important thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 05 18:21:40 2025 Received: (at submit) by debbugs.gnu.org; 5 Jan 2025 23:21:40 +0000 Received: from localhost ([127.0.0.1]:35880 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tUZwC-0003BC-CW for submit@debbugs.gnu.org; Sun, 05 Jan 2025 18:21:40 -0500 Received: from lists.gnu.org ([2001:470:142::17]:49586) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tUZw8-0003Ap-VC for submit@debbugs.gnu.org; Sun, 05 Jan 2025 18:21:39 -0500 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 ) id 1tUZw3-00015t-3a for bug-guix@gnu.org; Sun, 05 Jan 2025 18:21:31 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tUZw2-0001CT-Sc for bug-guix@gnu.org; Sun, 05 Jan 2025 18:21:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=1vPZ5bTrehidjfUYsOSZ0Wvd+wfnHWbZ8VSdUssdVCo=; b=M2xcZhy3At2sqv BBqM5r21Lbdb0FLhVxAXdcPUho3iHxaek0eOgiaMp/YH8rxj0qtrM3YM+Qtf9o457Amk6b+WbyOWU HRNmWs91C5tXdpxfV2Kf/CxjpZwVqCUXrXyOQPIAr1jbJp8ep8l3hQQGcf+hkpUkOG63UH5cZSSPW SWFE0wBatrtTbz2VLTMMyqgoE6VuDFfyw40SXJMd5w4syZZpXfoSMIkTOBHNhZwLc1af4OuNm8+Ss a6MnBqAHEHILosblZ31j+w+knI2rhabM+QEvofhXFZJz3hTfxCLifQ3V8fGYi0Gyt++8kLnk0V1no ot7xfGvVmACfAryAqyKQ==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: bug-guix@gnu.org Subject: =?utf-8?Q?=E2=80=9CFailed?= to read private =?utf-8?Q?key?= =?utf-8?Q?=E2=80=9D?= error with libssh 0.11.1 X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Septidi 17 =?utf-8?Q?Niv=C3=B4se?= an 233 de la =?utf-8?Q?R=C3=A9volution=2C?= jour de la Marne X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 06 Jan 2025 00:21:28 +0100 Message-ID: <87bjwkonif.fsf@inria.fr> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Starting from libssh 0.11.1 (upgraded in 6a045df575667460e90a9fc84d7d91d28950f252), I can no longer log in via Guile-SSH: --8<---------------cut here---------------start------------->8--- $ guix repl GNU Guile 3.0.9 Copyright (C) 1995-2023 Free Software Foundation, Inc. Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'. This program is free software, and you are welcome to redistribute it under certain conditions; type `,show c' for details. Enter `,help' for help. scheme@(guix-user)> ,use(guix ssh) scheme@(guix-user)> (open-ssh-session "localhost") ice-9/boot-9.scm:1685:16: In procedure raise-exception: ERROR: 1. &message: "SSH authentication failed for 'ludo@localhost': Failed to r= ead private key: /home/ludo/.ssh/id_rsa\n" Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue. scheme@(guix-user) [1]> ,q scheme@(guix-user)> ,q $ guix describe Generation 331 Jan 05 2025 22:28:17 (current) shepherd 6d52686 repository URL: https://git.savannah.gnu.org/git/shepherd.git branch: main commit: 6d526862375a426c13a52c7343c0ee9215367a00 guile f6359a4 repository URL: https://git.savannah.gnu.org/git/guile.git branch: main commit: f6359a4715d023761454f1bf945633ce4cca98fc guix 613c8b8 repository URL: https://git.savannah.gnu.org/git/guix.git commit: 613c8b81702f08ee36f20d15ee8f8c42a37acfef --8<---------------cut here---------------end--------------->8--- It would seem that somehow libssh dismisses whatever gpg-agent tells it and then goes on to read key files directly. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 06 05:31:55 2025 Received: (at control) by debbugs.gnu.org; 6 Jan 2025 10:31:55 +0000 Received: from localhost ([127.0.0.1]:36790 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tUkOo-0003Oz-N0 for submit@debbugs.gnu.org; Mon, 06 Jan 2025 05:31:54 -0500 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:4919) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tUkOl-0003Oh-O3 for control@debbugs.gnu.org; Mon, 06 Jan 2025 05:31:52 -0500 Authentication-Results: mail3-relais-sop.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=ludo@gnu.org; dmarc=fail (p=none dis=none) d=gnu.org X-IronPort-AV: E=Sophos;i="6.12,292,1728943200"; d="scan'208";a="105556890" Received: from unknown (HELO ribbon) ([193.50.110.52]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Jan 2025 11:31:45 +0100 Date: Mon, 06 Jan 2025 11:31:43 +0100 Message-Id: <87v7us9qsw.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #75392 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) severity 75392 important quit From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 07 04:07:44 2025 Received: (at 75392) by debbugs.gnu.org; 7 Jan 2025 09:07:44 +0000 Received: from localhost ([127.0.0.1]:41711 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tV5Yq-0002sV-LJ for submit@debbugs.gnu.org; Tue, 07 Jan 2025 04:07:44 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:52654) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tV5Yl-0002s5-3T for 75392@debbugs.gnu.org; Tue, 07 Jan 2025 04:07:39 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tV5Yd-0003Qz-N8 for 75392@debbugs.gnu.org; Tue, 07 Jan 2025 04:07:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=UUB8shxGvfjeRlF4Cet0pYI55J7ino7nQVR276sATxY=; b=f8SnEnL96k8dPW57hs+4 GoRNbT9oKAU9xaHvOGfWUeMOjUCdW1eeSDjPDVUxxVT/6l+teramcEWSafEYbXM3tSpYrKDe8CDVV RYpqbvQJBC2Utvb1Me1HvwUnfVIpWwzJ1p2aRn5yagje1DuKKuLYwtSBp60klkpeCxNuJr3G6Mbm+ 6sME17QnYgL8Lz5liwMcjG8TEgkcAU6fPnsjNbqItv9yKItABHMeWj9qn91umG9h+Fa5USJf9Fozi nAiMUzPiTAnKfPgRu5oS6M333pNyP/AB8EHQr68/PYJGbtO4yhPdXzgiJOQliFk50PJ6ZKurXdi57 4HYqpVEnFCokLQ==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: 75392@debbugs.gnu.org Subject: Re: bug#75392: =?utf-8?Q?=E2=80=9CFailed?= to read private =?utf-8?Q?key=E2=80=9D?= error with libssh 0.11.1 In-Reply-To: <87bjwkonif.fsf@inria.fr> ("Ludovic =?utf-8?Q?Court=C3=A8s=22?= =?utf-8?Q?'s?= message of "Mon, 06 Jan 2025 00:21:28 +0100") References: <87bjwkonif.fsf@inria.fr> Date: Tue, 07 Jan 2025 10:07:04 +0100 Message-ID: <87jzb73scn.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 75392 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hello, > It would seem that somehow libssh dismisses whatever gpg-agent tells it > and then goes on to read key files directly. Turns out the problem was sorta between keyboard and chair, but not just! Namely: 1. libssh 0.11.x no longer recognizes DSA keys (which is reasonable), and it would choke when encountering one: =E2=80=9CUnknown key type found!=E2=80=9D, from =E2=80=98ssh_pki_import_pubkey_blob=E2=80=99. 2. I had stale DSA keys under ~/.ssh, so I removed them. 3. Problem: silly gpg-agent (which I use with =E2=80=98--enable-ssh-suppo= rt=E2=80=99) would keep serving those DSA keys that I had removed! Turns out it caches private keys under ~/.gnupg/private-keys-v1.d so I also had to remove them as well. After that, everything went well. Pfew. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 07 04:07:55 2025 Received: (at control) by debbugs.gnu.org; 7 Jan 2025 09:07:55 +0000 Received: from localhost ([127.0.0.1]:41715 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tV5Z1-0002t2-KA for submit@debbugs.gnu.org; Tue, 07 Jan 2025 04:07:55 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37668) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tV5Yw-0002sX-Ei for control@debbugs.gnu.org; Tue, 07 Jan 2025 04:07:50 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tV5Yq-0003RV-DW for control@debbugs.gnu.org; Tue, 07 Jan 2025 04:07:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:Subject:From:To:Date:in-reply-to: references; bh=7PFdfaYACrvrCml3e4kHCFv5Vx9PjLPrFFjxTZg3kYk=; b=LEiNj6XKQoxIwn R0cGdfAvJVs63SPNfo4qBxo7YYUebq4NSsyg8LP7TYhukEOW8ewmf7N7uGl27cILSvWNMgfggYOS/ SYAWNErQt97gK+wLXEJxS+d3hhjgHgHox833PTP5GGua/EusqrDbIZBGiiHQEYJBzVbbpdYLXRvkl pRYdmKGxpeK0n76g2ZX5+HT+QYuipsVBINp/4gwOARyI78QOCvtByzSp9vcGhfxAU/1ixC1alpYtK FutIZdzeul5FGZagF+1W6znO1UbFXhHGCuq0dZ/XpWjHhkbwFNOc1hgPMG6N4NkffFC/PXT8s226Q 50HVLX5IBYmUgv7Mcn7A==; Date: Tue, 07 Jan 2025 10:07:38 +0100 Message-Id: <87ikqr3sbp.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #75392 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 75392 quit From unknown Fri Jun 20 07:18:39 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 04 Feb 2025 12:24:14 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator