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.bugs Subject: bug#61277: FR: ELPA security - Restrict package builds to signed git commits Date: Tue, 07 Feb 2023 14:10:42 +0200 Message-ID: <83h6vxptfh.fsf@gnu.org> References: <87pmapqoo5.fsf@daniel-mendler.de> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15779"; mail-complaints-to="usenet@ciao.gmane.io" Cc: mail@daniel-mendler.de, 61277@debbugs.gnu.org, stefan@marxist.se, yantar92@posteo.net, monnier@iro.umontreal.ca To: rms@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 07 13:11:29 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1pPMor-0003td-8t for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 07 Feb 2023 13:11:29 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pPMoc-0007bX-Pi; Tue, 07 Feb 2023 07:11:14 -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 1pPMoQ-0007NR-Tn for bug-gnu-emacs@gnu.org; Tue, 07 Feb 2023 07:11:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pPMoQ-0004Xl-3u for bug-gnu-emacs@gnu.org; Tue, 07 Feb 2023 07:11:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pPMoP-0003S6-Ku for bug-gnu-emacs@gnu.org; Tue, 07 Feb 2023 07:11:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 07 Feb 2023 12:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61277 X-GNU-PR-Package: emacs Original-Received: via spool by 61277-submit@debbugs.gnu.org id=B61277.167577185013250 (code B ref 61277); Tue, 07 Feb 2023 12:11:01 +0000 Original-Received: (at 61277) by debbugs.gnu.org; 7 Feb 2023 12:10:50 +0000 Original-Received: from localhost ([127.0.0.1]:51406 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pPMoD-0003Re-Mk for submit@debbugs.gnu.org; Tue, 07 Feb 2023 07:10:49 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:47842) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pPMoB-0003RO-IS for 61277@debbugs.gnu.org; Tue, 07 Feb 2023 07:10:48 -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 1pPMo3-0004Q3-DS; Tue, 07 Feb 2023 07:10:39 -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=sbVuMovQAl+9VYeNOQSjjoOoOHYOVSRAlspSGiwpHyU=; b=NZbWGp9VyiYX sFGibT1qCgB9g4yV/0dVWtF/Og4jpxM6QW/CvyYDcKI2A3B6evCWOhSQea3mv9eEV0nIzq/iLFc/S +fq/VN15WKbsLl4aDJTUxAKKmJ5q0JHnHJA9L7OwSmHvt3kHKepFyNyuguOVyIIEBm4cbBtGkFVo7 kUlUxpePnvtsJ80Y0u5gr68swC4sc3U21lZ6ZE/ZyZYY9KumeGLEswO4yu/2yNBjSty3hX+abhhKu C6ovU8VQUqNlsdcnfWMsU8tzeCOu/L2teZsEm5DhuV04d2BT9MuqiRnIGrvxcOIAmwC/9H3T0e0MT HMY/AO7y4Kck6zB73ktQjQ==; 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 1pPMnu-0006jF-8l; Tue, 07 Feb 2023 07:10:31 -0500 In-Reply-To: (message from Richard Stallman on Mon, 06 Feb 2023 22:56:35 -0500) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:255034 Archived-At: > Cc: 61277@debbugs.gnu.org, stefan@marxist.se, yantar92@posteo.net, > monnier@iro.umontreal.ca > From: Richard Stallman > Date: Mon, 06 Feb 2023 22:56:35 -0500 > > > My git commits are usually signed, so one could check the signature of > > each commit which leads to a package build. This feature could be opt-in > > for now, enabled via an attribute :signature in the elpa-packages > > configuration. Maybe elpa-packages could store the fingerprint(s) of the > > expected GPG key(s)? > > What do other maintainers think of this? I don't have an opinion. Frankly, I don't really understand what would signing commits give in this regard, given that people who install a package normally install a tarball, they don't clone the Git repository. I also don't think the goals were stated clearly, so it's hard to reason about this. But then I'm nowhere near being an expert on this stuff, so I could easily miss something important. > Should we move this to emacs-devel? A specific bug ticket > is not the right place for such an important topic. Agreed.