From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier 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: Sun, 15 Dec 2024 10:10:05 -0500 Message-ID: References: <87ed29ixu8.fsf@daniel-mendler.de> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29773"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Daniel Mendler , 74879@debbugs.gnu.org To: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 15 16:11:29 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 1tMqHI-0007Z1-TX for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 15 Dec 2024 16: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 1tMqGx-0000GG-NT; Sun, 15 Dec 2024 10:11:08 -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 1tMqGs-0000Ff-KD for bug-gnu-emacs@gnu.org; Sun, 15 Dec 2024 10:11:03 -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 1tMqGs-0004K6-BH for bug-gnu-emacs@gnu.org; Sun, 15 Dec 2024 10:11: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=82aU99E/AT3ly8NdAG6w9r3VGm19FPwv5UuMNFH7ZdQ=; b=ADbelcu+na4CKlCID0mBqQAvzwSF4V11j6eG0k1NoJUxNfsgx+O6SPYKG8K0R8O0LAWSzPnGC86vYAmW1Zc1aotsCz0ogMWa6rYwCsJrArJ9SMD4ixiPg+1H+PHCF4r3EiLPHCFmMq9JwX4mZTxwVDZZ1hjffdcT3+L3i4BFhTi6VtgZT7zxgYxfuWP+VWPysk3yOk9/datyrK/A43ZdculQxBzgnlq27+V6rs456XAeMdB+y871kgDSpNnHlc9IyCzTzSp0gU08NY4kRBA24BTMt71rfUYbnAi4/xBdb/p4UkuF1QaW4ksyWEw28qpcO71p434TgAdjbRH50i3Jgg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tMqGr-0002qo-M3 for bug-gnu-emacs@gnu.org; Sun, 15 Dec 2024 10:11:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 15 Dec 2024 15:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74879 X-GNU-PR-Package: emacs Original-Received: via spool by 74879-submit@debbugs.gnu.org id=B74879.173427541710892 (code B ref 74879); Sun, 15 Dec 2024 15:11:01 +0000 Original-Received: (at 74879) by debbugs.gnu.org; 15 Dec 2024 15:10:17 +0000 Original-Received: from localhost ([127.0.0.1]:51598 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tMqG9-0002pb-GI for submit@debbugs.gnu.org; Sun, 15 Dec 2024 10:10:17 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:62280) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tMqG6-0002mk-0K for 74879@debbugs.gnu.org; Sun, 15 Dec 2024 10:10:15 -0500 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id E40404409CD; Sun, 15 Dec 2024 10:10:07 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1734275406; bh=czGdJy/uD1u60cPYQPbuZDr3Eg6fiIjeT1Uq9pdDE9Y=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=gg1NuTAvwqdKV3RjI6Bf7QxEiCvzjuE3lKic/awb0kEtDtn1/4rWAXQr0sz3zARea f4tYQii3SzengOUDAtXNKwYkx3BXNgZZ2NDLpq1UJ7PS08KtHYv63MnE2dqEQIIZ5n bYCWGksQzRZDkkNgHbKkMdDTQJrrer6er86pXvxhazi9/dVgsoqqroeImQJ42kam6y Fw8Tmmj3mlbWnLEXeAsOiJvzVTBJS/nB7x4u7mPMVSxqSZC0iq0xpndCQTgcwDqlzM R7M7KdcRoyMDqiZKzdIgIeXQeKsd/0qhe3+V18xhSel+cdtVItbCTrUuSBFYylYvxO iG2hc4HBTq67w== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 83E09440922; Sun, 15 Dec 2024 10:10:06 -0500 (EST) Original-Received: from pastel (104-195-225-43.cpe.teksavvy.com [104.195.225.43]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 5171F12029E; Sun, 15 Dec 2024 10:10:06 -0500 (EST) In-Reply-To: ("Gerd =?UTF-8?Q?M=C3=B6llmann?="'s message of "Sun, 15 Dec 2024 15:55:10 +0100") 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:297111 Archived-At: > Random thought: > > - What if a user pastes text from a untrusted source to a trusted buffer? > > - Is taint checking relevant in this context? > > https://en.wikipedia.org/wiki/Taint_checking I'll just repeat that trust sucks. It's a last recourse and we should work to implement better solutions. Stefan