From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Security in the emacs package ecosystem Date: Sat, 18 Feb 2023 13:49:35 +0200 Message-ID: <83edqnyz00.fsf@gnu.org> References: <8735hatt4m.fsf@alshehhi.io> <87fsblfuc6.fsf@localhost> <87wn4gd232.fsf@localhost> <87a61bkzq9.fsf@localhost> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6035"; mail-complaints-to="usenet@ciao.gmane.io" Cc: stefankangas@gmail.com, husain@alshehhi.io, emacs-devel@gnu.org To: Ihor Radchenko Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Feb 18 12:50:00 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pTLj5-0001No-Ph for ged-emacs-devel@m.gmane-mx.org; Sat, 18 Feb 2023 12:49:59 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pTLik-0004lQ-2E; Sat, 18 Feb 2023 06:49:38 -0500 Original-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 1pTLii-0004kz-Bq for emacs-devel@gnu.org; Sat, 18 Feb 2023 06:49:36 -0500 Original-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 1pTLif-0003wW-ID; Sat, 18 Feb 2023 06:49:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=XIi1IH8AeejbFNczpdGtQAXMNNnoiGj8wNSKKyJablY=; b=pyRu1Jp+am3D 5TWObvpCxn2GwaIpotR5toucDM9Fzb3Biq8qM/Rc2n04UBm+0ePc/vyBFh1zemCZ7SQZTNfdvTPwq ZBky8R6ZcGe3cSRwQ32+6k2THlCrEroLHYEKSJRGC+UguSjjjNKdH8RZNQ6vFnjOt/sOOLf7n7MWC Y7eWp/pfhgBHOLleKoEWoJLlf9AEyB3h72cjIS2IaNos0f3ZGilWwvmsJWwq8rDUZ/jNdKqO83ob/ vr/WbhQ7wo6Si+IR5AGMJ6LbLYGDjrsyENd2XhiMgmYw6Ar+UC+78FTrpAB+IGrjFppcQd6UAWqND Jb7p2AmlgnBUc3I8ko94dA==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pTLie-0000Ny-Ni; Sat, 18 Feb 2023 06:49:33 -0500 In-Reply-To: <87a61bkzq9.fsf@localhost> (message from Ihor Radchenko on Sat, 18 Feb 2023 10:57:34 +0000) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:303526 Archived-At: > From: Ihor Radchenko > Cc: Husain Alshehhi , emacs-devel@gnu.org > Date: Sat, 18 Feb 2023 10:57:34 +0000 > > Stefan Kangas writes: > > > Its current default is `allow-unsigned', however, which is about as > > useful for security purposes as if it was nil. I think we should > > consider changing it to t in Emacs 30. > > If the default is t, users will be forced to have OpenPGP installed. Right. > Maybe the default should be like t, but only when OpenPGP is available. We could also display a warning, once, when we detect that OpenPGP is not available and set the value to allow-unsigned. This way the user is alerted to the problem and can take action to fix it.