From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id kO1NIFPJcmZxSwEAqHPOHw:P1 (envelope-from ) for ; Wed, 19 Jun 2024 12:04:35 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id kO1NIFPJcmZxSwEAqHPOHw (envelope-from ) for ; Wed, 19 Jun 2024 14:04:35 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=lWCNUg6I; dmarc=none; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1718798675; a=rsa-sha256; cv=none; b=Vt8cSdaG06xhJAhq8hpaLT3V+Xca0lzbmHjo1IOrd6Rx9e9UCg+xnxzgFZLIkunSs2gaW2 41dUbz07C+QU+ssmQCxGOP6nhHJVAwKztfTu4rDYquj5AXqU8sf6h0g7CfhPFLwg1yX8pG J5ZEs4B/IrYq2PI2dzBecUZtN75LM3DYjjC8dG3O/h65KMRPUFfAwl3/MVaQnelAzunFBS 5lqLpwiYY3/VuXW6xkf64JHq4yDlb9W5hMPgiKmMqNYKKz+PRdz7sIsXr0MEpMWWuvEfip 4RkA8m24Dr4TPdqacNxnKJlb7KkclAQ82ZoRWvbOnTM+CBdHHEhxdPK4GJb/5g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=lWCNUg6I; dmarc=none; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1718798675; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: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=4Lt4C0CAqNvh4UdVRMkRdI2HCXq+NZ9fkXaDQnh2Hv8=; b=N9eEKsrznY4R7DY78sNLqkVerWcGHkS+9QGIeWnLseor8sq6/yiXRgYnqaORyRJd8jOCqC ag9nMWD3/3OJB/cLMqKKf7H0RYiW5l3BHhsEikvymZgtwEpke99kP3qDdQw/5wcDpca6Gp wr+0ukH66OfjuU/d3NHQJ0x/kngQAO9p53BMurlBUk7BbLXeA9o5Ox8gPWkuHQ0F8aFRSG vpIxARJl6A5HW62aDgq2rk39LJJkN0JWaY0QNPA++9EKsOdzRYIMHeoqlgFf0UltvqS9ON +9z1cU7FQcJXpWsk1ZpzNNICPUCwt5Sd/i5w+O3H/PMtdZaUZJSi41b+b4ADfQ== 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 2A525607F7 for ; Wed, 19 Jun 2024 14:04:35 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sJu2m-0004GC-B3; Wed, 19 Jun 2024 08:04:04 -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 ) id 1sJu2g-0004Fg-SR for bug-guix@gnu.org; Wed, 19 Jun 2024 08:03:58 -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 ) id 1sJu2g-0008VJ-K4 for bug-guix@gnu.org; Wed, 19 Jun 2024 08:03:58 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sJu2j-0005v2-K9 for bug-guix@gnu.org; Wed, 19 Jun 2024 08:04:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#44887: openssh service creates DSA keys Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 19 Jun 2024 12:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44887 X-GNU-PR-Package: guix X-GNU-PR-Keywords: security To: Vincent Legoll Cc: 44887@debbugs.gnu.org, Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 44887-submit@debbugs.gnu.org id=B44887.171879859822668 (code B ref 44887); Wed, 19 Jun 2024 12:04:01 +0000 Received: (at 44887) by debbugs.gnu.org; 19 Jun 2024 12:03:18 +0000 Received: from localhost ([127.0.0.1]:41496 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sJu22-0005tY-4N for submit@debbugs.gnu.org; Wed, 19 Jun 2024 08:03:18 -0400 Received: from mail-wr1-f43.google.com ([209.85.221.43]:54677) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sJu1z-0005tI-H7 for 44887@debbugs.gnu.org; Wed, 19 Jun 2024 08:03:17 -0400 Received: by mail-wr1-f43.google.com with SMTP id ffacd0b85a97d-35f1bc2ab37so5836221f8f.1 for <44887@debbugs.gnu.org>; Wed, 19 Jun 2024 05:03:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718798526; x=1719403326; darn=debbugs.gnu.org; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender:from:to :cc:subject:date:message-id:reply-to; bh=4Lt4C0CAqNvh4UdVRMkRdI2HCXq+NZ9fkXaDQnh2Hv8=; b=lWCNUg6ItFgXaZwNIpv9p04VB/dqenJiaI1qhrlkK4hTAFKmHiw/oVGHU4J1z9kcDD tuOUXJ/odmFy7ilzBSLz0hj4+afa5GxEWi46wdgQ2IZy9b19x1OZA7MmUpRNlP3JS5xm yttQWDueVOuwZOK/GDNLPHUKn2qdVLtqsZCdJhu9DtuRHraWKhspRPoiArbM8058ELdK 8YP5yntQdX3aSu55fWOpkCowDhoN62kY+mGBWBmjTQI2BKpa1/1Gtl3AGrIEHaYHUozR /x3g41I3ZE8mthtPiE1I1IcY1zsUdo8coIYt0JoT7ygj9jHFtZsBSqFHtOdcHDJUbMSE gIlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718798526; x=1719403326; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=4Lt4C0CAqNvh4UdVRMkRdI2HCXq+NZ9fkXaDQnh2Hv8=; b=pL0ADmU3TAcVZVP3eU8F58r10y29sunnk7gLEF2PH2SEgPCc8PMVo0eyIndqtpIocc mGQ7XoSO2yt/6sTpM6rYwTbCgXLXQY79kxQB75lUDfe55jba0EoVmPw1ZoA2Ja20KMG/ C2a7v9OioJ2bC0MU4Jo202RdaGNAgq0jtlnVnwt7EpfhSmT6i4X/BvJP/yLyZG62a3UI IVVySEx8LqKPJ0+xz5vd8eeIO65Q52JFNOGKg+9zYB9McWGeJOEIxJQu+zx6SCBqpyi1 //RdUSomiC35/I+ZX5unOjpUhFsVD6I7op9VlzxaNkI8uZmP9SC6jeac3TrUie9clApo Cgog== X-Forwarded-Encrypted: i=1; AJvYcCU2oRaLPVmv4QHIGW8t1ApUyejDDUEwy66j5bRu4cWWspulf1OpDgYSgS7sTAN2luMZFcsm3FedRI25ZilXKEV6cga9e/s= X-Gm-Message-State: AOJu0YyG6mGhP69nHuKlykUnFTfrZMlegXehs94rtKsahpiIm/gznegu c194SUDjodaZJOXqk8p9g6BagocQVWLhclvpiW9xoAOaX1IHkvkg X-Google-Smtp-Source: AGHT+IFQ/Ncjs5q88pDwDcg80BrYDBC4r6odmFnPfbYhP2xSJTPgKMpg5jpwq48ISoIlALqM3kiULg== X-Received: by 2002:adf:e78a:0:b0:362:41a4:974e with SMTP id ffacd0b85a97d-363175b8f6bmr1497369f8f.16.1718798526067; Wed, 19 Jun 2024 05:02:06 -0700 (PDT) Received: from localhost ([94.230.83.168]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-363a23143dfsm1438203f8f.87.2024.06.19.05.02.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Jun 2024 05:02:05 -0700 (PDT) Date: Wed, 19 Jun 2024 15:02:04 +0300 From: Efraim Flashner Message-ID: Mail-Followup-To: Efraim Flashner , Vincent Legoll , Ludovic =?UTF-8?Q?Court=C3=A8s?= , 44887@debbugs.gnu.org References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="lYMRkEmB1j5MhHvo" Content-Disposition: inline In-Reply-To: X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.96 X-Migadu-Scanner: mx12.migadu.com X-Spam-Score: -6.96 X-Migadu-Queue-Id: 2A525607F7 X-TUID: BLJGVvTGT+Xp --lYMRkEmB1j5MhHvo Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 18, 2024 at 07:28:35PM +0000, Vincent Legoll wrote: > Hello, >=20 > I've done some digging on that issue. Hope it'll help. >=20 > It looks like the clients still support the DSA keys. >=20 > This is on a Void linux desktop: >=20 > [vince@destop ~]$ ssh -Q PubkeyAcceptedAlgorithms | grep -i dss > ssh-dss > ssh-dss-cert-v01@openssh.com >=20 > The following Guix VM has been created 2 days ago, with a very light conf= ig >=20 > vince@guix ~$ ssh -Q PubkeyAcceptedAlgorithms | grep -i ssh-dss > ssh-dss > ssh-dss-cert-v01@openssh.com >=20 > So, I created a DSA PKI key pair, like so: >=20 > ssh-keygen -N '' -t dsa -f ssh-key-dsa >=20 > Uploaded the public key to the guix VM, as ~vince/.ssh/authorized_keys > then tried to connect to the OpenSSH server on that VM >=20 > [vince@desktop ~]$ ssh -vi ssh-key-dsa vince@10.0.0.101 > OpenSSH_9.7p1, OpenSSL 3.3.0 9 Apr 2024 > debug1: Reading configuration data /home/vince/.ssh/config > debug1: /home/vince/.ssh/config line 1: Applying options for * > debug1: Reading configuration data /etc/ssh/ssh_config > debug1: Connecting to 10.0.0.101 [10.0.0.101] port 22. > debug1: Connection established. > debug1: identity file ssh-key-dsa type 1 > [...] > debug1: Skipping ssh-dss key ssh-key-dsa - corresponding algorithm not > in PubkeyAcceptedAlgorithms > debug1: No more authentication methods to try. > vince@10.0.0.101: Permission denied (publickey). >=20 > So it looks like DSA client keys are not accepted any more by default. >=20 > Is there a problem for the server host key ? >=20 > vince@guix ~$ ls /etc/ssh/ > authorized_keys.d/ ssh_host_ed25519_key ssh_host_rsa_key.pub > ssh_host_ecdsa_key ssh_host_ed25519_key.pub > ssh_host_ecdsa_key.pub ssh_host_rsa_key >=20 > No DSA keys here. Maybe something has been changed and they are not > created any more. >=20 > So I'm not sure there is a problem, or am I mistaken ? > Didn't I look hard enough ? >=20 > WDYT ? >=20 > Announce of DSA support removal from OpenSSH: > https://lists.mindrot.org/pipermail/openssh-unix-dev/2024-January/041132.= html >=20 > Some context about DSA keys: > https://security.stackexchange.com/questions/112802/why-openssh-deprecate= d-dsa-keys It looks like openssh, at some point in the past , stopped creating host DSA keys by default. Given the original bug report was that DSA keys were created by default and now they're not I think we can close this bug now. Any objections? --=20 Efraim Flashner =D7=A8=D7=A0=D7=A9=D7=9C=D7=A4 = =D7=9D=D7=99=D7=A8=D7=A4=D7=90 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --lYMRkEmB1j5MhHvo Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmZyyLgACgkQQarn3Mo9 g1HAVw//e74dSkveKI8jFVW7jy/y+ALuow8i+hkJolwAm1dAILJ0j3M5Z21KDP9+ YDCEUNqJkvKS0Tmq88kEYuDJGpuBXRQi3TdKpS1wyNUKtqaInSibtMjF+OdcZSYA K9n+vKTy4WnH7rAYPigXd0a8iBbdUM5rWi9ILkEfDGex23mGOpOz+eyvTIRopxUx E1jik7E1U/mDEDk1jVRe56WyYElFJgXznDO7/Ou/v2zyAIm9U6iNnQd0BLLHW7V0 w8vBTvBwZuiXjT4973wPBRjBB8IpGH6RYkQHoulPfFGkWVC1l2r836pJt6ZkzVsE wLAixKX8UnIOaFNS3UDsE1pSepkTPyfH3vCSs9NubgwmrIURO2EKyJV4g8LM6PiJ umNRhCyaeT+R5tEeQ4QIziU1+7avihp5nqNxFRzAGD6MLM42xcL1G50f6qLa/1sz shiFe55j/AdbJgOrnnLEk8YglVkhaHPNgMubccYUobsej7i8cJsZN+fiJWoIp1Gr rJg5qwqKT+VPNjxoP+DOI06786ua8uExaGXcz26DxsTiHfbojTch3AesRAXDHTxM 81EgJi21Yj1kqghfrcXMA8cas7gvq5BpGLOgGtb5cwQKAAqBVyERq2HYnJFJzrHq nHo1YQChDBxLhTOu8FBf0IXDCgPjg7O+Q7G/zK/yKweZVq4pSfE= =Udz6 -----END PGP SIGNATURE----- --lYMRkEmB1j5MhHvo--