From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tino Calancha Newsgroups: gmane.emacs.bugs Subject: bug#30190: 27.0.50; term run in line mode shows user passwords Date: Sun, 4 Feb 2018 11:23:40 +0900 (JST) Message-ID: References: <87r2qjh0fs.fsf@gmail.com> <87mv17nwe4.fsf@users.sourceforge.net> <87efm259s5.fsf@gmail.com> <87tvuyf2g0.fsf@users.sourceforge.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Trace: blaine.gmane.org 1517710935 19782 195.159.176.226 (4 Feb 2018 02:22:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 4 Feb 2018 02:22:15 +0000 (UTC) User-Agent: Alpine 2.20 (DEB 67 2015-01-07) Cc: 30190@debbugs.gnu.org, Tino Calancha To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 04 03:22:10 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ei9wW-0004di-EQ for geb-bug-gnu-emacs@m.gmane.org; Sun, 04 Feb 2018 03:22:08 +0100 Original-Received: from localhost ([::1]:48648 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ei9yV-0004Aw-Ta for geb-bug-gnu-emacs@m.gmane.org; Sat, 03 Feb 2018 21:24:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33004) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ei9yP-00049L-DB for bug-gnu-emacs@gnu.org; Sat, 03 Feb 2018 21:24:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ei9yM-0001uE-9o for bug-gnu-emacs@gnu.org; Sat, 03 Feb 2018 21:24:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48229) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ei9yM-0001u8-5l for bug-gnu-emacs@gnu.org; Sat, 03 Feb 2018 21:24:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ei9yL-0003Vt-Qz for bug-gnu-emacs@gnu.org; Sat, 03 Feb 2018 21:24:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Tino Calancha Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 04 Feb 2018 02:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30190 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 30190-submit@debbugs.gnu.org id=B30190.151771103313492 (code B ref 30190); Sun, 04 Feb 2018 02:24:01 +0000 Original-Received: (at 30190) by debbugs.gnu.org; 4 Feb 2018 02:23:53 +0000 Original-Received: from localhost ([127.0.0.1]:56126 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ei9yC-0003VW-IC for submit@debbugs.gnu.org; Sat, 03 Feb 2018 21:23:53 -0500 Original-Received: from mail-pf0-f171.google.com ([209.85.192.171]:37513) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ei9yA-0003VJ-CJ for 30190@debbugs.gnu.org; Sat, 03 Feb 2018 21:23:50 -0500 Original-Received: by mail-pf0-f171.google.com with SMTP id p1so19397981pfh.4 for <30190@debbugs.gnu.org>; Sat, 03 Feb 2018 18:23:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=vAUdNCnT6dmkR27gsvvLkrAL5dEr8Fa2gpQm9i0umfM=; b=CV85NedyyTS+GCViOe5ofPEuldg88XmkzHdSiYNRdWOR+3ttbUmJ/3zTm1OLPBZAYA JHFcAenSLpHHtZeze6lTO9Ni26uXPYKTz/G/qJyxVV/b6BEDl6j9eOLyTxnQvlMd2A4J KLlJaoigdewIIh6kijcq+W0x0hZENdpf4nfKSUfHG+DpSuf2YdSNvJQQem1uDBpoiAK5 q/Iy4IwEFlQ6sfm1RpWIhph0h1f4ALnwii/qwusYX9TcwwvnI7MgUD8eH9jki4o3m10T oy3CrBuaHv0DeaC8weklBlZ7TiJooXQ3CpPF1mLg9D30WLQV9AdGeXg/HkoljkOItDhe bVMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=vAUdNCnT6dmkR27gsvvLkrAL5dEr8Fa2gpQm9i0umfM=; b=REho6wEp63m8rWAWPUFIwMAD3LImi+gc6QcpaQzf4QDvHdXnsrUR+cM3tF3oMZOdCz hbzUS2SwBFEM7Oa/XKabXlAK+PvjCX+KtpCaw9Hc1vyD/ABFBz9hDCvx2fF0XS8mUzsB vTw6nJBGgb1cjcFgQBW6v/qvMjEMOWSZkABCYzjggOw/abDEQptTGSL1Jb9KOxP2BSyI SLOBt1uJX+qIwPpxvV6KPryWPVOQay6O7s6tMi+uETbd8CWh8pu+au5d0wr5ov8gkFLx 85DaD8O1RjOAGONcs86oD50rfotbtkQFibkVxTz8RqxKJHo0xECxY592vNOjUcwEAi9/ TiQg== X-Gm-Message-State: AKwxytfYVtdYpxmdA2RBTENV+dW7/Vb58GxXxim7Ovhdc3sK6ebPDP2w nllL14Oa4I0HL/m2cDy6MrU= X-Google-Smtp-Source: AH8x226sdrDIP3iyvzHiP2/eo1oTm11bIOfNlRv26OQf8JX2jvwqLVMGgW2wlouiwzEAXP0cSHynTQ== X-Received: by 10.98.97.4 with SMTP id v4mr34188626pfb.160.1517711024436; Sat, 03 Feb 2018 18:23:44 -0800 (PST) Original-Received: from calancha-pc (146.219.128.101.dy.bbexcite.jp. [101.128.219.146]) by smtp.gmail.com with ESMTPSA id b68sm9808100pfg.159.2018.02.03.18.23.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 03 Feb 2018 18:23:43 -0800 (PST) X-Google-Original-From: Tino Calancha X-X-Sender: calancha@calancha-pc In-Reply-To: <87tvuyf2g0.fsf@users.sourceforge.net> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:142872 Archived-At: On Sat, 3 Feb 2018, Noam Postavsky wrote: > Tino Calancha writes: > >> Noam Postavsky writes: >> >>> Yes, seems to have been the case for a long time, I can reproduce back >>> to 24.3 (oldest Emacs version I have running). >> This is a security risk. I would like to have it fixed ASAP. >> Below patch seems to work. Any feedback would be appreciated. > > Doesn't look like that much of a risk to me: the user immediately sees > the problem, so it's more of a minor nuisance. It depends of the situation. Few years ago, my boss watched my password because this thing; if the password would be an offensive word against him (it wasn't, he was nice) I could be fired. I remember he mnetioned very proudly that in vi editor the password is always hidden... This is also a risk while pair-programming; recently I am doing a lot with several buddies. I suspect one of my passwords might be compromised. >> -(defcustom comint-password-prompt-regexp > > I don't see an alias for this one. Otherwise I think it's okay. Thanks, I will fix that.