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.devel Subject: Re: [Patch] Avoid recording chars when reading passwords Date: Wed, 15 Jun 2022 16:27:38 +0300 Message-ID: <8335g6rr91.fsf@gnu.org> References: <87edzz8dzo.fsf@elite.giraud> <834k0v5f7z.fsf@gnu.org> <8735g7vb47.fsf@elite.giraud> <83bkuvtr3q.fsf@gnu.org> <83tu8nrvdb.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9902"; mail-complaints-to="usenet@ciao.gmane.io" Cc: manuel@ledu-giraud.fr, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jun 15 15:29:34 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 1o1T5R-0002Mj-KC for ged-emacs-devel@m.gmane-mx.org; Wed, 15 Jun 2022 15:29:33 +0200 Original-Received: from localhost ([::1]:35988 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o1T5P-0003Qv-OQ for ged-emacs-devel@m.gmane-mx.org; Wed, 15 Jun 2022 09:29:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52602) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o1T3m-0001q9-Gj for emacs-devel@gnu.org; Wed, 15 Jun 2022 09:27:50 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:33928) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o1T3k-0003N4-Gc; Wed, 15 Jun 2022 09:27:48 -0400 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=rsNZinCChvStE0FFbyNqaf+KRW0QM5A8qrxmPhkmHu8=; b=JaSLLTfC8Ig5 hg+RTuiXdHaxZDOAG5AWWcu6nZToiv1gHqQbiubMFnY0+/ivfqFK7J59bG0iN9nKt9gWULLoCsq8w tkrbbOTg82w/X/GWJBV+O+usts9aoGLeZjjYqbEVPDumCr1n93znNJdka7ZOAD+s3n3h2kciqA+Ua AU+eZQ9Fyd8bb/v8CTdbql3FEbVRlHekw8WL8hUCHfRPQPzsOCZLSzFiYThY6a6MD129P02NTT6QW 1g/yY2snTHNufANTIclFbL5XmvkgoTThUvRyDzNsI6MNGKZ0zyhw7BNFZ/NRfUEQ0QrsfGf4R5CQA jHLLz598YJotj1ik5JRvHQ==; Original-Received: from [87.69.77.57] (port=3333 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 1o1T3i-0000yp-Ae; Wed, 15 Jun 2022 09:27:47 -0400 In-Reply-To: (message from Stefan Monnier on Wed, 15 Jun 2022 08:27:51 -0400) 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:291213 Archived-At: > From: Stefan Monnier > Cc: manuel@ledu-giraud.fr, emacs-devel@gnu.org > Date: Wed, 15 Jun 2022 08:27:51 -0400 > > > and in a way that users cannot have the previous behavior back? > > I'd think being able to redefine `read-password` is sufficient, because > it should really be extremely uncommon to need your password to appear > in lossage and/or a dribble file. Dribble file is a debug facility, and quite an important one at that. Lossage is also a troubleshooting facility, at least in some of its uses. So asking that people redefine functions for that is too harsh, IMNSHO. What's the harm from having a variable that people could flip if they need it?