From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id uEz2LBvvfGe2TwAA62LTzQ:P1 (envelope-from ) for ; Tue, 07 Jan 2025 09:08:43 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id uEz2LBvvfGe2TwAA62LTzQ (envelope-from ) for ; Tue, 07 Jan 2025 10:08:43 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=cmrfOmaf; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=f8SnEnL9; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1736240923; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=UUB8shxGvfjeRlF4Cet0pYI55J7ino7nQVR276sATxY=; b=OFMeepjS//gAL2TBxpvuuri320K15KaTtX4vEljafhEycyM30cTxEgjoNXom84dylK/kQj ixFMC25ehdbAuTae6pfm3DxbYSWdoIC9tQYV3vqHphuWvvQNVMZSGfShGsPuUHxLmY0ZHq cx/0hodAKvPnDjznnj2eT651QkgnPn+LSx7urreWRv+vHp3bYG8Ffi+sK4+G1cTXonfn1m RrquA+SlUNpoubtWX+A1vnRReoJdhEPJfMXiTWyKGfWmMnDOxVUTAaIoZOmXHi3dkFKcuS Q11VKJcu/63XViUjwaSWNrs/NLUOxFlndRWpzS6OtsUYIEVWOuBq8kQDgLnn0w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=cmrfOmaf; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=f8SnEnL9; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1736240923; a=rsa-sha256; cv=none; b=m6ClKKR0zVb8cE+NMVSSPKGJ5nq+T+VBG88ojes9BJSyrqeprTff102bZte6xbMbTXnx9e Qe73748tq4uK2yZRule6nbTsX99UadvEW0ARxpwLocyXdjEiR5T14Om9iuLoYZVoOFFrjV /JC87SDrnOJSWWAIGNn49xekZaGaull5FxNq83rBvDScSMqpOdXo9WQvwW9cGYQ5EETLJp SCdXh/9R2JcjYpakN1IfiXsUuZrY8dx9XlAIJBE8ADSSkTYi+RJJzuvdT4M9wH4KY4c6aB tsycK2TAqdTrrQbHZascaAZX1XI1/Wr8upM1Yafgc10lvhBuZq0RFVKeuBG+yg== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 662612D90 for ; Tue, 07 Jan 2025 10:08:43 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tV5ZF-00026K-Ly; Tue, 07 Jan 2025 04:08:05 -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 1tV5ZD-00025w-0q for bug-guix@gnu.org; Tue, 07 Jan 2025 04:08:04 -0500 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 ) id 1tV5ZC-0003Sd-OM for bug-guix@gnu.org; Tue, 07 Jan 2025 04:08:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=UUB8shxGvfjeRlF4Cet0pYI55J7ino7nQVR276sATxY=; b=cmrfOmafl2Yc54nWQp8uA0NDTM3A9c7jJ+Yzko2adlna1krKQbNqbUSnsu0FqKzX6ZGrm5RgNTvxPl0t/PBkiNRFtSA4sMUN6r1MZKGgbpAcjBNCeUrPQlTtpbX1dUcV9ItHBgysTCSQ6G+EP/IyEo0FXEzeHm3JGRIQ7m4IHHOBnSionNtuXA2UmWEMymSJHld6VLaastSbaJqBOvrsr9koMtrWlg+hCXQQFKpRst1O63O0V82U+wvr8QHwvDsoS6Qjn/bymY1uUqpsVNlVZ8qJPRf2izQPbz2cIF1eO6E8pfh1msaTJb38kgWWaMjVnlzTMuOX3/bBXVDQbULLxg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tV5ZC-0002tY-Aq for bug-guix@gnu.org; Tue, 07 Jan 2025 04:08:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#75392: =?UTF-8?Q?=E2=80=9CFailed?= to read private =?UTF-8?Q?key=E2=80=9D?= error with libssh 0.11.1 Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 07 Jan 2025 09:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75392 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 75392@debbugs.gnu.org Received: via spool by 75392-submit@debbugs.gnu.org id=B75392.173624086411085 (code B ref 75392); Tue, 07 Jan 2025 09:08:02 +0000 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: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <87bjwkonif.fsf@inria.fr> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 662612D90 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -1.17 X-Spam-Score: -1.17 X-TUID: MiPxmGCKB2W+ 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.