GNU bug report logs - #43302
password shows up in shell buffer (27.1)

Previous Next

Package: emacs;

Reported by: Nicholas Drozd <nicholasdrozd <at> gmail.com>

Date: Thu, 10 Sep 2020 00:41:01 UTC

Severity: normal

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Nicholas Drozd <nicholasdrozd <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: password shows up in shell buffer (27.1)
Date: Wed, 9 Sep 2020 19:40:04 -0500
The password input starring in shell mode seems to have changed in 27
from 26 to become more lax. Here is a small shell script:

#+begin_src shell
echo "Password:"
read -sr password
#+end_src

In 26, it looks like this when I run it:

#+begin_quote
$ bash password.sh
Password:
$
#+end_quote

The password is input starred into the minibuffer, not in the shell
buffer itself.

In 27, it looks like this:

#+begin_src
$ bash password.sh
Password:
asdf
$
#+end_src

The password (=asdf=) gets input directly into the shell buffer, unstarred.

I have tried on both Linux and Mac.

This may be related to
https://lists.gnu.org/archive/html/bug-gnu-emacs/2020-09/msg00028.html




This bug report was last modified 4 years and 93 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.