From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Akib Azmain Turja Newsgroups: gmane.emacs.devel Subject: Re: [Patch] Avoid recording chars when reading passwords Date: Sat, 18 Jun 2022 17:33:52 +0600 Message-ID: <874k0ip5nj.fsf@disroot.org> References: <87edzz8dzo.fsf@elite.giraud> <834k0v5f7z.fsf@gnu.org> <8735g7vb47.fsf@elite.giraud> <83bkuvtr3q.fsf@gnu.org> <83tu8nrvdb.fsf@gnu.org> <87ilp2z7a4.fsf@elite.giraud> <83bkuqnrwa.fsf@gnu.org> <877d5ep5u3.fsf@disroot.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39690"; mail-complaints-to="usenet@ciao.gmane.io" Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Eli Zaretskii , Manuel Giraud Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jun 18 13:37:13 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 1o2WlM-000A8G-7u for ged-emacs-devel@m.gmane-mx.org; Sat, 18 Jun 2022 13:37:12 +0200 Original-Received: from localhost ([::1]:51140 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o2WlL-0004TF-2R for ged-emacs-devel@m.gmane-mx.org; Sat, 18 Jun 2022 07:37:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43714) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o2WiT-0001X8-QY for emacs-devel@gnu.org; Sat, 18 Jun 2022 07:34:13 -0400 Original-Received: from knopi.disroot.org ([178.21.23.139]:36838) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o2WiO-0007pU-Ay; Sat, 18 Jun 2022 07:34:10 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id D3C8E44245; Sat, 18 Jun 2022 13:34:06 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Original-Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with UTF8SMTP id 512S8INv55qI; Sat, 18 Jun 2022 13:34:05 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1655552045; bh=/sO3hjaKlgFmflNo1QaNnSIqqj5Sakxxy8YPxPFQH7g=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=Mp6QYWvTZ9Opf8qiRt4+1VIDw2mxCIJPnY6gYWIRypmmHpeSaZwbxjK5YLWMhLRLL Fm2PrvQBmvP1J+YF79zsfx0vyBXHgVTG83m5qagx78Z6+oT51y+RIbCAhefbcoW6uf iHDO/F14U/TvIx2vvRVHY2TnOA17blLEWIGUw4LgrGNPfA4W3M5igzrOu7lDDn2PWA hDTh8m5bejRst9nhEm8veC6n47554uAY6MHZwev2IDVx3cnDADA86DGfuz4ur0pG3f /etVZ9heN1ssFRTox9+GEJX6PHjCKj5sYRBbuRDXS3DTNBdC46NX5vtBAry6c57xLl 60qYbp5QTRJ2Q== In-Reply-To: <877d5ep5u3.fsf@disroot.org> Received-SPF: pass client-ip=178.21.23.139; envelope-from=akib@disroot.org; helo=knopi.disroot.org 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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" Xref: news.gmane.io gmane.emacs.devel:291356 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Akib Azmain Turja writes: > Eli Zaretskii writes: > >>> From: Manuel Giraud >>> Cc: Stefan Monnier , emacs-devel@gnu.org >>> Date: Wed, 15 Jun 2022 09:59:31 +0200 >>>=20 >>> Eli Zaretskii writes: >>>=20 >>> > The next question is: do we want to enable this by default and in a >>> > way that users cannot have the previous behavior back? >>>=20 >>> I think that having this as a default is a good thing=E2=84=A2 (no more= clear >>> password in lossage). About being able to revert this behaviour, I know >>> I won't use it but maybe it has some use case with the dribble file: do >>> people use the dribble file as some automation tool for example? >>>=20 >>> > In any case, this needs a NEWS entry, I think. >>>=20 >>> Ok, I'd one to this patch when we have decide the default and if it >>> needs a user option. >> >> Sounds like having this on by default is what people want. But we >> need a knob to revert to the previous behavior, and we need a NEWS >> entry. Could you please prepare an updated patch with those two >> additions? >> >> Thanks. >> > > Yes, there should be an option to revert it, otherwise it'll break my > "workflow"[1]. > > [1]: https://xkcd.com/1172/ > > --=20 > Akib Azmain Turja > > This message is signed by me with my GnuPG key. It's fingerprint is: > > 7001 8CE5 819F 17A3 BBA6 66AF E74F 0EFA 922A E7F5 And I think it would be useful to record non self-insert keys (like "M-x") while typing password, since those key aren't related to the password. =2D-=20 Akib Azmain Turja This message is signed by me with my GnuPG key. It's fingerprint is: 7001 8CE5 819F 17A3 BBA6 66AF E74F 0EFA 922A E7F5 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEyVTKmrtL6kNBe3FRVTX89U2IYWsFAmKtuCAACgkQVTX89U2I YWvlbxAAl+40vUHBeOL1KF92Xk2STknyEvOAFuS8Lh8XTsNhPV9fj4ITRicg7Vw9 qhUql+ASbB66zNS7EV5xQxDETudeMASbEaracUOqt7gWXt5stiBds3TVLwAuWwYn w9SV9eBE3ck3Dn9ENyysCDMBogTlRzWuM4+lIlsQCBX/mRPp3aFAtGO6tmVv8UsW 1/VpSI8x8Pz/SOq+GXhTys999abU0rUj5Lhx0p98saceLRh+dVU0Ayi4sR0KnnqB ionZtW+z5lOJMUO7bGDbv+r9F8Fo2oLkY4UgUs2AWo+iBWAQ1XLQ1tI4fYnlWTRq 8l11OpTpKXkwlXJx260srRgyKmCrDD69Yu54qPtKsf4DxKg/x8bwtQxWQkcv421w EvctGJaxAeknOgR68cm3H+IFziGsyHOPYqXzaY89gDp0zgzN/vEjQHfhW55I5U/9 lzO/GiV4vOsivrtBjfLUTCpOUUIPDGVqcJnGwPUoxvFjZHfy5mthrZ1LfjQBSfxK Er82UITSZJl0xJXcIzVj8SjlwD32pG1TeLcLKpO7fSGHOZGhjREYliXaYjvpE73a DbbZ7PrrOHYka6CZsz4ylLZI6CdyLj3Mt3OuWaxd3YPS3DlU1qsSczzO/VqxI8c8 soHnCOBhrj3euvhakjF4BJoFFTIZeXvo8VCEJvIPyHT5RUTUjN4= =DPI0 -----END PGP SIGNATURE----- --=-=-=--