From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 2G4dBdnZ0V9QRgAA0tVLHw (envelope-from ) for ; Thu, 10 Dec 2020 08:18:33 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 97PVANnZ0V83EgAAbx9fmQ (envelope-from ) for ; Thu, 10 Dec 2020 08:18:33 +0000 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 536B39403A9 for ; Thu, 10 Dec 2020 08:18:32 +0000 (UTC) Received: from localhost ([::1]:39480 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1knH9i-0003EP-W1 for larch@yhetil.org; Thu, 10 Dec 2020 03:18:31 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60540) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1knH9G-0003E2-5h for bug-guix@gnu.org; Thu, 10 Dec 2020 03:18:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:53628) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1knH9F-0002ZZ-Qr for bug-guix@gnu.org; Thu, 10 Dec 2020 03:18:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1knH9F-0002QJ-K4 for bug-guix@gnu.org; Thu, 10 Dec 2020 03:18:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#44808: Default to allowing password authentication on leaves users vulnerable Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 10 Dec 2020 08:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44808 X-GNU-PR-Package: guix X-GNU-PR-Keywords: security To: Mark H Weaver Received: via spool by 44808-submit@debbugs.gnu.org id=B44808.16075882539280 (code B ref 44808); Thu, 10 Dec 2020 08:18:01 +0000 Received: (at 44808) by debbugs.gnu.org; 10 Dec 2020 08:17:33 +0000 Received: from localhost ([127.0.0.1]:36941 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1knH8n-0002Pc-K8 for submit@debbugs.gnu.org; Thu, 10 Dec 2020 03:17:33 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39058) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1knH8l-0002PN-G4 for 44808@debbugs.gnu.org; Thu, 10 Dec 2020 03:17:32 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:37035) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1knH8b-0002FD-Ml; Thu, 10 Dec 2020 03:17:21 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=56736 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1knH8a-00004y-T1; Thu, 10 Dec 2020 03:17:21 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <878sat3rnn.fsf@dustycloud.org> <874klgybbs.fsf@zancanaro.id.au> <87im9w2gjt.fsf@dustycloud.org> <87im9nmr5u.fsf@gmail.com> <87eek45lpg.fsf@gnu.org> <87k0twkt9c.fsf@dustycloud.org> <87sg8hzvdx.fsf@gnu.org> <87a6upepwb.fsf@web.de> <87sg8hlfyu.fsf@dustycloud.org> <871rg1e6js.fsf@web.de> <87im9ddy0r.fsf@netris.org> <87wnxswpmk.fsf@gnu.org> <87lfe7ydc0.fsf@netris.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 20 Frimaire an 229 de la =?UTF-8?Q?R=C3=A9volution?= 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: Thu, 10 Dec 2020 09:17:19 +0100 In-Reply-To: <87lfe7ydc0.fsf@netris.org> (Mark H. Weaver's message of "Tue, 08 Dec 2020 20:31:16 -0500") Message-ID: <87o8j29isw.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) 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: , Cc: maxim.cournoyer@gmail.com, 44808@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.30 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 536B39403A9 X-Spam-Score: -1.30 X-Migadu-Scanner: scn1.migadu.com X-TUID: KzrImyiQmiXo Hi Mark, Mark H Weaver skribis: > Ludovic Court=C3=A8s writes: [...] >> What do you think of the approach in >> ? > > One problem, which I just discovered, is that it warns users even if > they don't have an 'openssh-service' in their system configuration. Could it be that you have a childhurd or some other service that uses =E2=80=98openssh-service-type=E2=80=99? What source code location is assoc= iated with that warning? >> The default is unchanged but the warning could be kept say until the >> next release, at which point we=E2=80=99d change the default. >> >> Or are you suggesting keeping the default unchanged? > > I don't feel strongly about what the default setting should be, as long > as we ensure that users are somehow made aware of the change before it > happens, and are given the opportunity (and preferably easy instructions > on how) to keep password authentication enabled if they wish. > > I also think that the installer should explicitly ask the user what the > setting should be, so that we do not catch new users off guard who > expected to be able to ssh in to their newly-installed systems using > only a password. Yeah, we can do that; it=E2=80=99s a bit of extra complexity in the install= er, but perhaps that=E2=80=99ll be useful to configure other services as well. > If the plan is to change the default setting and issue warnings in the > meantime, it should be easy to silence those warnings, especially for > those of us who don't even use openssh-service :) Agreed. :-) Normally, if you explicitly set the field, the warning disappears. Thanks, Ludo=E2=80=99.