GNU bug report logs - #17839
24.4.50; read-passwd echoes password input in non-interactive sessions

Previous Next

Package: emacs;

Reported by: Sebastian Wiesner <swiesner <at> lunaryorn.com>

Date: Mon, 23 Jun 2014 15:37:02 UTC

Severity: normal

Found in version 24.4.50

Fixed in version 24.4

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Andreas Schwab <schwab <at> suse.de>
Cc: 17839 <at> debbugs.gnu.org, Sebastian Wiesner <swiesner <at> lunaryorn.com>
Subject: Re: bug#17839: 24.4.50; read-passwd echoes password input in
 non-interactive sessions
Date: Wed, 25 Jun 2014 10:32:51 -0400
>> Besides, “non-interactive” is a little vague.  It’s obvious that `--batch’
>> is non-interactive, but is `--script’ as well?  In other languages,
>> e.g. Python or Perl, scripts regularly do interaction, including
>> reading passwords.
> Emacs is an editor, not a script language.

There are all kinds of reasons why the current behavior is "logical",
but indeed, it's not desirable.  Could someone install the obvious patch
in read-passwd to emit a warning (right after the prompt, so the user
will necessarily see it)?

If someone is motivated, I would even accept a patch that turns echo off
temporarily.


        Stefan




This bug report was last modified 10 years and 295 days ago.

Previous Next


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