all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nicholas Drozd <nicholasdrozd@gmail.com>
To: 43302@debbugs.gnu.org
Subject: bug#43302: password shows up in shell buffer (27.1)
Date: Wed, 9 Sep 2020 19:40:04 -0500	[thread overview]
Message-ID: <CABAiW0pgpCWOVtGTVXtZX6NjnUQmfq0UPqEPxxihDzrWKmyrhg@mail.gmail.com> (raw)

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





             reply	other threads:[~2020-09-10  0:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-10  0:40 Nicholas Drozd [this message]
2020-09-10 12:26 ` bug#43302: password shows up in shell buffer (27.1) Robert Pluim
2021-01-27  6:20 ` Lars Ingebrigtsen
2021-02-12 20:50   ` Nicholas Drozd
2021-02-13  7:23     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CABAiW0pgpCWOVtGTVXtZX6NjnUQmfq0UPqEPxxihDzrWKmyrhg@mail.gmail.com \
    --to=nicholasdrozd@gmail.com \
    --cc=43302@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.