From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.devel Subject: Re: Security in the emacs package ecosystem Date: Fri, 17 Feb 2023 07:54:02 -0800 Message-ID: References: <8735hatt4m.fsf@alshehhi.io> <87fsblfuc6.fsf@localhost> <87wn4gd232.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29738"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Husain Alshehhi , emacs-devel@gnu.org To: Ihor Radchenko Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Feb 17 16:54:37 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 1pT34H-0007X9-CA for ged-emacs-devel@m.gmane-mx.org; Fri, 17 Feb 2023 16:54:37 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pT33n-0004JC-7V; Fri, 17 Feb 2023 10:54:07 -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 1pT33l-0004AK-ME for emacs-devel@gnu.org; Fri, 17 Feb 2023 10:54:05 -0500 Original-Received: from mail-oi1-x22f.google.com ([2607:f8b0:4864:20::22f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pT33k-00078v-1F for emacs-devel@gnu.org; Fri, 17 Feb 2023 10:54:05 -0500 Original-Received: by mail-oi1-x22f.google.com with SMTP id bl6so1545242oib.11 for ; Fri, 17 Feb 2023 07:54:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=7uU7XBOZ/MW3nRot9uL7p/MID4Um2oHxNxsReUjzpxo=; b=pYDzm33q3WEPoMYwgHxdH+3DeNhWRO10uGu9IXlYpWDruIo2WXR7N3D6xGJXd5aWec KgsQW9gSG2BO2I2AkNP6KRXE8Hx8fiKaitt6suiA161AwEGoR4i+78TytzbUmzrj0Ubx 0nfRwenNLFGHQ5aAfY1U2QNwnej2oVWPaBjJkCOerm+r6+5FxKYvVVh/EO82ilP1JcaG 4IncdICg9CdUWEYzklgPRgWUPZ/fYswiEDxojSCn2t7iBcqheJAFKJ+Mm4Odr9qC3dTL aK52c5AgJzyEwuZgKDZIjxvsNvXV9jwIHDM3otYdtvRpaTiQjA3mXXw/y/9JUQj0DL3O ZTPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=7uU7XBOZ/MW3nRot9uL7p/MID4Um2oHxNxsReUjzpxo=; b=7odgXtBud3/Q/jomhnjykhez+gei07IMnHpVRyOJlQyBnt1+S1RUf3JuGIi6uy1ziB RrCeLPZtel+Cuc9HegKZtysk9uW5QNmuvKtXJBlqk1t+Ic2VrookxpDh9LwWEu4TuZuu vuwfN9XX+WvpW1R7A8MsrD7L5agSqj0RC2+EZEA99zq3qpFTaGiqhjIWFdH4kdiXwSMZ faTCWt2zySk40uQ4rmGIwmIHB1EirdyeI+flkd+Bl7iQAE2GWndg1gcLTqGbLNtsdKn8 cF5cevAGsvMJT3qJU0z0FZtCy72veCqvOpwZjp4JiEW8ocX4orlnc0lI90axVPlkMFGC Nvtw== X-Gm-Message-State: AO0yUKWjmznhMSi8SajarxhKOkMPU8X/o7qg6ukMX2qDONqhwOJZnPMQ LVg3mDcDPH5PnQbH4d/D/tYfe/gpr8xxGfg+iXA= X-Google-Smtp-Source: AK7set9OCPv1JW/HIDDVnP9SDbfoFNVi/J410UH+zRwsJtpZDQFQ03FS2FUGaSwaw0Xq3BUW2hyZFszpgo7ifFyFUkI= X-Received: by 2002:a05:6808:11c5:b0:378:3f53:9e8 with SMTP id p5-20020a05680811c500b003783f5309e8mr568264oiv.291.1676649242847; Fri, 17 Feb 2023 07:54:02 -0800 (PST) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Fri, 17 Feb 2023 07:54:02 -0800 In-Reply-To: <87wn4gd232.fsf@localhost> X-Hashcash: 1:20:230217:emacs-devel@gnu.org::gvHwW3fLYqM7pjYL:5M3m Received-SPF: pass client-ip=2607:f8b0:4864:20::22f; envelope-from=stefankangas@gmail.com; helo=mail-oi1-x22f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:303500 Archived-At: Ihor Radchenko writes: > WRT MELPA we can do the following: > 1. Open an issue I had a look, and turns out that there is one already: https://github.com/melpa/melpa/issues/1749 > 2. Allow users to demand package.el to verify signatures when > downloading packages. Interested users can then increase their > security by rejecting packages without .sig file. Maybe I'm missing something, but isn't that `package-check-signature'? 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.