From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 4EVjHIWVJWDJdAAA0tVLHw (envelope-from ) for ; Thu, 11 Feb 2021 20:37:25 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id sLs/GIWVJWBAPwAA1q6Kng (envelope-from ) for ; Thu, 11 Feb 2021 20:37:25 +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 E6335940418 for ; Thu, 11 Feb 2021 20:37:24 +0000 (UTC) Received: from localhost ([::1]:56906 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lAIiJ-0006kk-Gy for larch@yhetil.org; Thu, 11 Feb 2021 15:37:23 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:40828) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lAIi0-0006jY-4N for bug-guix@gnu.org; Thu, 11 Feb 2021 15:37:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:47856) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lAIhy-0006JO-6a for bug-guix@gnu.org; Thu, 11 Feb 2021 15:37:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lAIhy-0005fu-4D for bug-guix@gnu.org; Thu, 11 Feb 2021 15:37:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#44808: Default to allowing password authentication on leaves users vulnerable Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 11 Feb 2021 20:37:02 +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: 44808@debbugs.gnu.org X-Debbugs-Original-To: raid5atemyhomework via Bug reports for GNU Guix X-Debbugs-Original-Cc: "44808@debbugs.gnu.org" <44808@debbugs.gnu.org> Received: via spool by submit@debbugs.gnu.org id=B.161307578521758 (code B ref -1); Thu, 11 Feb 2021 20:37:02 +0000 Received: (at submit) by debbugs.gnu.org; 11 Feb 2021 20:36:25 +0000 Received: from localhost ([127.0.0.1]:59398 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lAIhN-0005er-G6 for submit@debbugs.gnu.org; Thu, 11 Feb 2021 15:36:25 -0500 Received: from lists.gnu.org ([209.51.188.17]:56890) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lAIhL-0005ek-RO for submit@debbugs.gnu.org; Thu, 11 Feb 2021 15:36:24 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:40714) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lAIhK-00061C-Ud for bug-guix@gnu.org; Thu, 11 Feb 2021 15:36:23 -0500 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:54125) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lAIhJ-0006FR-BU for bug-guix@gnu.org; Thu, 11 Feb 2021 15:36:22 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id B7737A0B; Thu, 11 Feb 2021 15:36:19 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Thu, 11 Feb 2021 15:36:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=VRjJksnpHo9Iu1tP88WSgO87 OZHVzrusuaeUFsPkHgQ=; b=IHRXfIz0F6AuTQNo5SZmgFpiH1vBZZMnqtUNakY2 VZPNxcMq07LeaT/hWcwC1y1lh950cPxmMz6QGi9kGYEBK6FCNVtkEyMRiFKJ6w9a OPzAP2vbOFDXWSnsXSS7BMDVPDNxBx1/xMa5sh9jroj7WzJXwRFqO/h/2GKt1b8l lKs= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=VRjJks npHo9Iu1tP88WSgO87OZHVzrusuaeUFsPkHgQ=; b=GIx2nTTZM0/y5InsKDhOCF R0EJXuGA09u+ZVZEEmq0xa16lhEL+Jgy6V7T7pY//uvZyCM4xYKktD8F0lbrYjvd s/yf8kaRfo0LJUe+TdD5DCRmUSmPPWejptAD2wukLNf9ljBgBSSTbDBDeed84wN1 k2lRtaUT8tLY5oEEjGvbM4CA6MyPHPp51CFUajpJdPXrqCSPGoQzA+xegDJOLSK1 gS/rrvDq/KHzQ4VMcynbRD46kj44xo/7M6tsB5DTG5BTfecwjOVs2+d+CHQ+ZYzC iK/McEkBdMEpkyHoGoEXAlF6+KP+s6fNDjeopE4RvtNdxB4lbx2uZ1L86MNdqLNw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrheelgddufeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpefnvghoucfh rghmuhhlrghrihcuoehlvghosehfrghmuhhlrghrihdrnhgrmhgvqeenucggtffrrghtth gvrhhnpeeukeektdffvddtudegjeegtdevhfeufeeivdejiedtieegtdevjedvjeehffev gfenucfkphepuddttddruddurdduieelrdduudeknecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomheplhgvohesfhgrmhhulhgrrhhirdhnrghmvg X-ME-Proxy: Received: from localhost (pool-100-11-169-118.phlapa.fios.verizon.net [100.11.169.118]) by mail.messagingengine.com (Postfix) with ESMTPA id 0309D24005D; Thu, 11 Feb 2021 15:36:19 -0500 (EST) Date: Thu, 11 Feb 2021 15:36:17 -0500 From: Leo Famulari Message-ID: References: <878sat3rnn.fsf@dustycloud.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=64.147.123.19; envelope-from=leo@famulari.name; helo=wout3-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.36 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=famulari.name header.s=mesmtp header.b=IHRXfIz0; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=GIx2nTTZ; dmarc=none; 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: E6335940418 X-Spam-Score: -1.36 X-Migadu-Scanner: scn0.migadu.com X-TUID: wXzSLu5cHPm9 On Thu, Feb 11, 2021 at 07:46:51AM +0000, raid5atemyhomework via Bug reports for GNU Guix wrote: > Hi guix users, > > It strikes me that a better course of action here would be, rather than providing a warning that might not be noticed by the user, to remove the default and force people to explicitly put `password-authentication? #t` or `password-authentication? #f`. I like this idea. > > That way if I have set up a headless server (possibly having a temporary keyboard/mouse/monitor during initial install, then forever logging in afterwards over intranet using my super secret password "raid5isnotagooddog"), with an existing `configuration.scm` that does not explicitly give the setting, I cannot accidentally lose access to my headless server by doing a random `guix pull && sudo guix system reconfigure configuration.scm` without noticing the warning. > > Especially since there exists an `unattended-upgrades-service-type` which automates this `guix pull && sudo guix system reconfigure configuration.scm`, which makes changing this default ***VERY DANGEROUS*** in this use-case. I'd rather I noticeably error out in this case. I agree, changing the default will cause problems, and I'm not convinced it's a serious problem that warrants changing anyways.