From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eshel Yaron via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#74879: 30.0.92; trusted-content-p and trusted-files cannot be used for non-file buffers Date: Mon, 16 Dec 2024 08:52:42 +0100 Message-ID: References: <87ed29ixu8.fsf@daniel-mendler.de> <87msgw94fz.fsf@daniel-mendler.de> Reply-To: Eshel Yaron Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35925"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: mail@daniel-mendler.de, monnier@iro.umontreal.ca To: 74879@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 16 08:53:19 2024 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 1tN5up-0009CY-Bl for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 16 Dec 2024 08:53:19 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tN5ub-0004CS-S1; Mon, 16 Dec 2024 02:53:05 -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 1tN5uY-0004C4-Kn for bug-gnu-emacs@gnu.org; Mon, 16 Dec 2024 02:53:05 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tN5uY-00074F-CP for bug-gnu-emacs@gnu.org; Mon, 16 Dec 2024 02:53:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=xhYOsCbkoni8SbPAeQshngsl3BU55Zb+GVnZ5BCwfBg=; b=Zi8mqcDBIPhT5qSBrsqhBaGgvZ6EA11wQdl/kqkr5sRhhOpCdTnRT7bylcEiZD7HbskkE3SYs7igC/UdUW/7Sg4pB76i6sFRGMwEqjulHybxcWeaWdFYVymcTQMkxUJDh9rlSSTNmvOWHOehTPKXkt7l4m+hYIKiQIRcjVcYOTpyTeCBIvKyo9ZBaxtM89BR7qNGL4W/O/MvV6GMVn5VYH6TEXCq385c16qFYx/4SOZZSGSKldvRXeY1f3LVvXYgqwWuQD3u9qd+cOlCKWKWhYyrRJCRt/NBvuxFJZCrlhxTdFPQy0tuzZ3HJdDeXq+JZfilFaeAHrR7W3aHI3P86g==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tN5uY-0000nf-4T for bug-gnu-emacs@gnu.org; Mon, 16 Dec 2024 02:53:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eshel Yaron Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 16 Dec 2024 07:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74879 X-GNU-PR-Package: emacs X-Debbugs-Original-To: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" X-Debbugs-Original-Cc: Daniel Mendler , 74879@debbugs.gnu.org, Stefan Monnier Original-Received: via spool by submit@debbugs.gnu.org id=B.17343355793064 (code B ref -1); Mon, 16 Dec 2024 07:53:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 16 Dec 2024 07:52:59 +0000 Original-Received: from localhost ([127.0.0.1]:53348 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tN5uU-0000nL-MO for submit@debbugs.gnu.org; Mon, 16 Dec 2024 02:52:58 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:54664) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tN5uS-0000n4-Jk for submit@debbugs.gnu.org; Mon, 16 Dec 2024 02:52:57 -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 1tN5uN-0004BI-AP for bug-gnu-emacs@gnu.org; Mon, 16 Dec 2024 02:52:51 -0500 Original-Received: from mail.eshelyaron.com ([107.175.124.16] helo=eshelyaron.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tN5uI-00073p-Gn for bug-gnu-emacs@gnu.org; Mon, 16 Dec 2024 02:52:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=eshelyaron.com; s=mail; t=1734335565; bh=SEK+rGyaVkpmXqTvJSkP8Xrwqz4uSZzdkTWXcyhJeP0=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=pRhOHeCKlVePBf11cjElZ0sbZKeQleiYN2cG9XyapbbNBSXdyvLVV8bMrjuVrcSnQ DqdeLmvxNgOIfnP1kzIXIlcsCekabxgUSaW0pYLAWjyQY8OiXGHX+ktqhwfykkKres oVfYHi5rMi++eVv8naocYgDX0pcTf4w7+YC6UX5eWjSX6odkj/Ki3RAzFPUEdzwf2+ UTVp9at16OCjnn7T1XJ8VggOMgPcuDKVtjYEQWw1ZZ9QLWEpCVYmNiHvIxT1Z28+s5 0jHdEx4NWQ2xspXpGxmDQicpyT+Q+qE4xffPnBEiRlA4GQMWWAcmj1/yJtiqAUfq/W 8b+OqFS+r/neg== In-Reply-To: (Stefan Monnier via's message of "Sun, 15 Dec 2024 17:41:59 -0500") Received-SPF: pass client-ip=107.175.124.16; envelope-from=me@eshelyaron.com; helo=eshelyaron.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, RCVD_IN_VALIDITY_SAFE_BLOCKED=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-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:297157 Archived-At: Hi, Thank you for your work on this mitigation! Stefan Monnier writes: > [ BTW, I just renamed the var to `trusted-content`. ] Note that now we have both trusted-content and untrusted-content, both security-related but with somewhat different meanings... It might be worth consolidating the two somehow to avoid confusion. Best, Eshel