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.help Subject: Re: mode-line icon for encrypted file Date: Sat, 04 May 2024 11:06:25 +0300 Message-ID: <86msp6gfwe.fsf@gnu.org> References: <875xvv6sim.fsf@yandex.com> <86ikzvi04h.fsf@gnu.org> <871q6i7ioy.fsf@yandex.com> <86zft6gkna.fsf@gnu.org> <87seyy5aea.fsf@yandex.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8892"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat May 04 10:06:40 2024 Return-path: Envelope-to: geh-help-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 1s3APn-000248-02 for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 04 May 2024 10:06:39 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s3APi-0005iP-AE; Sat, 04 May 2024 04:06:34 -0400 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 1s3APg-0005hO-A9 for help-gnu-emacs@gnu.org; Sat, 04 May 2024 04:06:32 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s3APg-0003B8-2I for help-gnu-emacs@gnu.org; Sat, 04 May 2024 04:06:32 -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=tf3xufiWgsd2bVPzskz2T71l6JK1opNRPvYsGqEJgbo=; b=rcZo264crZb3 xrg+/Vojhhgrpz00lv0mvffWAtIUYNVALbbw0toS5heaOT+PsfvWxiZQ2++0d6942NLzn5O2BpG6W 0HkvtOUvmQW5Qi//4Wht4SZFSDiz6b95XBuPjtQwt5rbzYTOT7bsloI/qfriRw+D7kKs1dw0kV698 sDViBs/7Tfx8t414SdLNcYo7ciyRq3+KSObp+Ez8Y9ZSdC2ujYSkKUK0zq5WXtyQW//adG2aj8rXR FvUZezlN+D2A4Eil7+LBb0IsKZuOENxnkl3CTZVuudtUWwPJyyv3H17vFM9j/VDIn97C8Ddh9C4g/ XRrIiLym76ECah8Kr/Xjvg==; In-Reply-To: <87seyy5aea.fsf@yandex.com> (message from Colin Baxter on Sat, 04 May 2024 08:00:45 +0100) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:146533 Archived-At: > From: Colin Baxter > Cc: help-gnu-emacs@gnu.org > Date: Sat, 04 May 2024 08:00:45 +0100 > > >>>>> Eli Zaretskii writes: > > > It sounds like this depends on how gpg prompts for the pass > > phrase. On my system, it pops up a GUI dialog, but on yours it > > prompts via Emacs, and that's why the icon appears in your case. > > That makes sense. I have pinentry-mode set to loopback since I don't > like the popup password box and prefer everything in emacs. If it's a > choice between a popup box and a mode-line icon then I'll stick with the > latter. I believe the icon is there to allow the user to display the password. That capability is a standard part of modern UIs for entering passwords and pass phrases, so I think it is a Good Thing that Emacs provides that. I won't object to be able to optionally disable it, but I don't expect many people to want that, as it is easy to make a typing mistake, what with today's stringent rules for "valid" passwords, and making a mistake more than a couple of times could lock the user out of whatever they want to unlock/decrypt.