From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Can watermarking Unicode text using invisible differences sneak through Emacs, or can Emacs detect it? Date: Thu, 20 Jan 2022 23:14:14 -0500 Message-ID: References: <87sftk49ih.fsf@yahoo.com> <83mtjqrgnq.fsf@gnu.org> Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2656"; mail-complaints-to="usenet@ciao.gmane.io" Cc: psainty@orcon.net.nz, luangruo@yahoo.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jan 21 05:15:05 2022 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 1nAlKL-0000Q7-Kk for ged-emacs-devel@m.gmane-mx.org; Fri, 21 Jan 2022 05:15:05 +0100 Original-Received: from localhost ([::1]:38640 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nAlKK-000698-Ok for ged-emacs-devel@m.gmane-mx.org; Thu, 20 Jan 2022 23:15:04 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:34518) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nAlJY-0004rt-Mn for emacs-devel@gnu.org; Thu, 20 Jan 2022 23:14:16 -0500 Original-Received: from [2001:470:142:3::e] (port=60616 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nAlJY-0002PK-AX; Thu, 20 Jan 2022 23:14:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Date:References:Subject:In-Reply-To:To:From: mime-version; bh=JtoBA5BKPx9nRjDkhSCMTXdlRnvyF7r9PTxS7C9KOpI=; b=JaDQRX9jJqtv kPUkvkPObXE/WLL5dAQgCGTo3kRcF26lXt5+x1fhedtvGGRYWEBgmS1YtC+PWuYdso/Sy6A4jqFZT j9GvL1/ko0BCoLgP7q76znUCBndzouASz/kvoKGuHvUXru0KHfbc6v0xJYMmSZm2O8G+63lK/SgNu tgwyud/65GypWGquHMR5TINdCvHnb6COW3y2lUF5780YFDXO7afkKbKdR2scTbWoVXuaxlnr6slBw 30Y7reRaFzehrMBqA5/9Z8SlMH32f+FGutu77ifGzvyJ1b20m5kWbK5uST4m9/7uNIp5jLsMbv0Kn XSuutV4w4LQNjdaHr0MnTg==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1nAlJW-0003Tq-Fp; Thu, 20 Jan 2022 23:14:14 -0500 In-Reply-To: <83mtjqrgnq.fsf@gnu.org> (message from Eli Zaretskii on Thu, 20 Jan 2022 09:48:57 +0200) 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" Xref: news.gmane.io gmane.emacs.devel:285087 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > Should we make this the default? I think it is likely that most Emacs users > > will see only malicious zero-width characters, and not useful ones. > "Most users" is not a good argument when for some users these > characters are a must. I don't follow the argument. Since some users actually use zero-width characters, that seems to give us two choices (at least): * Leave zero-width characters unflagged by default. * Flag zero-width characters by default, and those users can turn that off. I don't know which is better -- I think it depends partly on what fraction of all users find the zero-width characters useful. > > Is there a way we could detect automatically when these zero-width > > characters are being used in a legit way for their intended purpose, > > and in that case, display them as zero-width for real? > That is the subject of the new textsec.el package that Lars is working > on now. That sounds good. -- Dr Richard Stallman (https://stallman.org) Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)