From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sebastian Wiesner Newsgroups: gmane.emacs.bugs Subject: bug#17839: 24.4.50; read-passwd echoes password input in non-interactive sessions Date: Mon, 23 Jun 2014 15:51:37 +0200 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1403537858 11523 80.91.229.3 (23 Jun 2014 15:37:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 23 Jun 2014 15:37:38 +0000 (UTC) To: 17839@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jun 23 17:37:27 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Wz6JD-0000yN-Fu for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 Jun 2014 17:37:27 +0200 Original-Received: from localhost ([::1]:54218 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wz6JD-0007yr-1w for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 Jun 2014 11:37:27 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34007) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wz6J1-0007yR-Io for bug-gnu-emacs@gnu.org; Mon, 23 Jun 2014 11:37:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wz6Ip-0003eN-Dg for bug-gnu-emacs@gnu.org; Mon, 23 Jun 2014 11:37:15 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38984) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wz6Ip-0003eF-BH for bug-gnu-emacs@gnu.org; Mon, 23 Jun 2014 11:37:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Wz6Ip-0001G9-2y for bug-gnu-emacs@gnu.org; Mon, 23 Jun 2014 11:37:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Sebastian Wiesner Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 23 Jun 2014 15:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 17839 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.14035378084799 (code B ref -1); Mon, 23 Jun 2014 15:37:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 23 Jun 2014 15:36:48 +0000 Original-Received: from localhost ([127.0.0.1]:58365 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wz6IV-0001FD-HM for submit@debbugs.gnu.org; Mon, 23 Jun 2014 11:36:48 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34299) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wz4fS-0006i3-5A for submit@debbugs.gnu.org; Mon, 23 Jun 2014 09:52:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wz4fD-0003Rj-UK for submit@debbugs.gnu.org; Mon, 23 Jun 2014 09:52:12 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:36063) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wz4fD-0003Re-Ro for submit@debbugs.gnu.org; Mon, 23 Jun 2014 09:52:03 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35940) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wz4f6-0005SR-5q for bug-gnu-emacs@gnu.org; Mon, 23 Jun 2014 09:52:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wz4ey-0003LL-NP for bug-gnu-emacs@gnu.org; Mon, 23 Jun 2014 09:51:56 -0400 Original-Received: from vega.uberspace.de ([95.143.172.245]:48045) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wz4ey-0003L7-DO for bug-gnu-emacs@gnu.org; Mon, 23 Jun 2014 09:51:48 -0400 Original-Received: (qmail 8393 invoked from network); 23 Jun 2014 13:51:45 -0000 Original-Received: from localhost (HELO lunaryorn-air) (127.0.0.1) by vega.uberspace.de with SMTP; 23 Jun 2014 13:51:45 -0000 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Mailman-Approved-At: Mon, 23 Jun 2014 11:36:41 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:90692 Archived-At: In a non-interactive session, i.e. "emacs -Q --batch =E2=80=A6", `read-pass= wd' currently echoes the password input on the TTY. I would expect `read-passwd' to suppress input echo while reading a password, like suo, sudo, SSH, GPG and similar programs do. In my opinion, the current behaviour is harmful, because from their experience with these programs user will likely expect that input following a "Password: " prompt is hidden, and thus may accidentally expose their password, being unaware that Emacs behaves differently.