From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 01 08:13:50 2022 Received: (at submit) by debbugs.gnu.org; 1 Jul 2022 12:13:50 +0000 Received: from localhost ([127.0.0.1]:36535 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7FWv-0001x9-QZ for submit@debbugs.gnu.org; Fri, 01 Jul 2022 08:13:50 -0400 Received: from lists.gnu.org ([209.51.188.17]:50206) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7FWr-0001wx-Ew for submit@debbugs.gnu.org; Fri, 01 Jul 2022 08:13:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39912) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7FWr-0001kt-AE for bug-gnu-emacs@gnu.org; Fri, 01 Jul 2022 08:13:45 -0400 Received: from ip-185-149-130-112.kmenet.cz ([185.149.130.112]:38504 helo=jsynacek-home.localdomain) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o7FWn-0001xf-Pi for bug-gnu-emacs@gnu.org; Fri, 01 Jul 2022 08:13:45 -0400 Received: from jsynacek-home (localhost [127.0.0.1]) by jsynacek-home.localdomain (Postfix) with ESMTP id 4B33F1E0225 for ; Fri, 1 Jul 2022 14:03:40 +0200 (CEST) From: =?utf-8?B?SmFuIFN5bsOhxI1law==?= To: bug-gnu-emacs@gnu.org Subject: 28.1.90; [28.1] Emacs prompts for password when output from async command contains "password:" Date: Fri, 01 Jul 2022 14:03:40 +0200 Message-ID: <87r13511lv.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: softfail client-ip=185.149.130.112; envelope-from=jan.synacek@gmail.com; helo=jsynacek-home.localdomain X-Spam_score_int: 41 X-Spam_score: 4.1 X-Spam_bar: ++++ X-Spam_report: (4.1 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FROM=0.001, KHOP_HELO_FCRDNS=0.187, NML_ADSP_CUSTOM_MED=0.9, PDS_RDNS_DYNAMIC_FP=0.001, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665, SPOOFED_FREEMAIL=1.522, SPOOF_GMAIL_MID=0.799, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: When the output from a command spawned with 'M-&' (async-shell-command) ends with "password:" Emacs prompts for a password. Reproducer: 0) $ cat /tmp/test.txt enter your password: 1) emacs -Q 2) Press 'M-&', enter 'cat /tmp/test.txt' as input and hit enter. 3) Emacs prompts for a password. Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (jan.synacek[at]gmail.com) 1.0 FORGED_GMAIL_RCVD 'From' gmail.com does not match 'Received' headers -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] -0.0 T_SCC_BODY_TEXT_LINE No description available. 1.5 SPOOFED_FREEMAIL No description available. 0.8 SPOOF_GMAIL_MID From Gmail but it doesn't seem to be... X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.3 (-) When the output from a command spawned with 'M-&' (async-shell-command) ends with "password:" Emacs prompts for a password. Reproducer: 0) $ cat /tmp/test.txt enter your password: 1) emacs -Q 2) Press 'M-&', enter 'cat /tmp/test.txt' as input and hit enter. 3) Emacs prompts for a password. I expect that 3) should not happen as the output is simply to stdout and no stdin input is expected. Note that the reproducer is minimal and a bit contrived but the real bug showed itself when I was running a big test suite that contained several lines ending with "password:" in its output. I've also tested this with the latest master (commit 3a4c408a7b6f3df5ca0eb4a406efbdb4899e9742), where it sometimes happens as well and sometimes you just get an error like this: Error running timer: (error "Buffer *Async Shell Command* has no process") In GNU Emacs 28.1.90 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.34, cairo version 1.17.6) of 2022-07-01 built on jsynacek-home Repository revision: 7e33618bbc07b65c36744db8e7ef219d2d942456 Repository branch: emacs-28 Windowing system distributor 'The X.Org Foundation', version 11.0.12101003 System Description: Arch Linux Configured using: 'configure --with-imagemagick --with-json --with-native-compilation --prefix=/home/jsynacek/emacs' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ IMAGEMAGICK JPEG JSON LCMS2 LIBOTF LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM GTK3 ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Dired by name Minor modes in effect: windmove-mode: t global-git-commit-mode: t magit-auto-revert-mode: t shell-dirtrack-mode: t global-so-long-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t column-number-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: /home/jsynacek/.emacs.d/elpa/transient-20220514.945/transient hides /home/jsynacek/emacs/share/emacs/28.1.90/lisp/transient Features: (shadow sort mail-extr emacsbug tabify man windmove vc-mtn vc-hg vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs counsel xdg swiper misearch multi-isearch vc-git magit-extras face-remap dired-aux haskell-lite github-actions-lite cabal-project-lite cabal-lite dockerfile-lite the-org-mode-expansions org-element avl-tree org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint org-pcomplete org-list org-faces org-entities org-version ob-emacs-lisp ob-core ob-eval org-table oc-basic bibtex iso8601 ol org-keys oc org-compat org-macs org-loaddefs find-func cal-menu calendar cal-loaddefs vc-dir ewoc slime etags fileloop generator xref project arc-mode archive-mode noutline outline hyperspec rg files-x vc vc-dispatcher rg-info-hack rg-menu rg-ibuffer rg-result wgrep-rg wgrep rg-history rg-header ibuf-ext ibuffer ibuffer-loaddefs grep cus-edit pp cus-load wid-edit pulse magit-submodule magit-obsolete magit-blame magit-stash magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-tag magit-merge magit-branch magit-reset magit-files magit-refs magit-status magit magit-repos magit-apply magit-wip magit-log which-func imenu magit-diff smerge-mode diff diff-mode git-commit log-edit easy-mmode message rmc puny rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader pcvs-util add-log magit-core magit-autorevert autorevert filenotify magit-margin magit-transient magit-process with-editor magit-mode magit-git magit-base magit-section crm dash compat-27 compat-26 jsynacek-text jsynacek-term term disp-table shell pcomplete ehelp jsynacek-project ivy delsel ivy-faces ivy-overlay colir color expand-region text-mode-expansions er-basic-expansions thingatpt expand-region-core advice expand-region-custom dired dired-loaddefs avy transient time-date format-spec compat edmacro kmacro jsynacek-misc jsynacek-elisp smtpmail sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils so-long open-color server compile text-property-search comint ansi-color ring slime-autoloads info package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap url-handlers url-parse auth-source eieio eieio-core eieio-loaddefs password-cache json map url-vars comp comp-cstr warnings subr-x rx cl-seq cl-macs cl-extra help-mode seq byte-opt gv cl-loaddefs cl-lib bytecomp byte-compile cconv iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 625701 124605) (symbols 48 28318 7) (strings 32 137451 11163) (string-bytes 1 4439546) (vectors 16 65984) (vector-slots 8 1019313 83933) (floats 8 312 708) (intervals 56 17397 65) (buffers 992 42)) From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 02 08:28:44 2022 Received: (at 56336) by debbugs.gnu.org; 2 Jul 2022 12:28:44 +0000 Received: from localhost ([127.0.0.1]:40130 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7cEu-0007EJ-8a for submit@debbugs.gnu.org; Sat, 02 Jul 2022 08:28:44 -0400 Received: from quimby.gnus.org ([95.216.78.240]:38266) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7cEt-0007E5-Av for 56336@debbugs.gnu.org; Sat, 02 Jul 2022 08:28:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :Date:References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=Df3jNPvXxWQOYXY0aGH4UECqIhPEFfrAGPNSmUk72Os=; b=uw+I3gdZ9qxECq++G7L8a8Ocwl IXmuxLGnzG1EIkPhtZVWtvhsqwj4tZM/ROq6Hz0okVK/1CjCGBhi9kmMQFSjG+2F2mlySqNgRxrBH aCW8e4XmIZyxqmhTzkigOh0eIAMyr2CcdFXvdwSfqSuy2AWOJD/vWmfgHP2rd4tqu1KM=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o7cEk-00021F-Mn; Sat, 02 Jul 2022 14:28:37 +0200 From: Lars Ingebrigtsen To: Jan =?utf-8?B?U3luw6HEjWVr?= Subject: Re: bug#56336: 28.1.90; [28.1] Emacs prompts for password when output from async command contains "password:" In-Reply-To: <87r13511lv.fsf@gmail.com> ("Jan =?utf-8?B?U3luw6HEjWVrIidz?= message of "Fri, 01 Jul 2022 14:03:40 +0200") References: <87r13511lv.fsf@gmail.com> X-Now-Playing: The Clash's _Sandinista!_: "Rebel Waltz" Date: Sat, 02 Jul 2022 14:28:34 +0200 Message-ID: <87tu7z1yx9.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Jan Synáček writes: > When the output from a command spawned with 'M-&' (async-shell-command) > ends with "password:" Emacs prompts for a password. > > Reproducer: > 0) $ cat /tmp/test.txt > enter your password: > 1) ema [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 56336 Cc: 56336@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Jan Syn=C3=A1=C4=8Dek writes: > When the output from a command spawned with 'M-&' (async-shell-command) > ends with "password:" Emacs prompts for a password. > > Reproducer: > 0) $ cat /tmp/test.txt > enter your password: > 1) emacs -Q > 2) Press 'M-&', enter 'cat /tmp/test.txt' as input and hit enter. > 3) Emacs prompts for a password. > > I expect that 3) should not happen as the output is simply to stdout and > no stdin input is expected. Note that the reproducer is minimal and a > bit contrived but the real bug showed itself when I was running a big > test suite that contained several lines ending with "password:" in its > output. > > I've also tested this with the latest master (commit > 3a4c408a7b6f3df5ca0eb4a406efbdb4899e9742), where it sometimes happens as > well and sometimes you just get an error like this: > > Error running timer: (error "Buffer *Async Shell Command* has no process") I've now fixed the latter in Emacs 29. The former problem is rather intractable. That is, if you say ssh foo@host you'll get a password prompt as the final line in the buffer, and Emacs will ask you to enter a password. If you say echo -n "password: "; sleep 10; echo foo then there's no way for Emacs to distinguish that from the ssh situation: It sees a prompt as the last thing in the buffer, and Emacs can't possibly know that that's not a process asking for a password. Note that echo "password: "; echo foo; sleep 10 won't ask for a password. So I don't know that there's any way to fix this -- Emacs uses a heuristic, and it will be wrong in some cases. Or does anybody have any ideas here? --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 02 08:29:09 2022 Received: (at control) by debbugs.gnu.org; 2 Jul 2022 12:29:09 +0000 Received: from localhost ([127.0.0.1]:40134 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7cFJ-0007FS-Hs for submit@debbugs.gnu.org; Sat, 02 Jul 2022 08:29:09 -0400 Received: from quimby.gnus.org ([95.216.78.240]:38280) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7cF3-0007EW-Il for control@debbugs.gnu.org; Sat, 02 Jul 2022 08:29:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=6yK0NcEJG0gVB21Y5snjd5NXupNQhp5Ox49v+WNZFJo=; b=I4XSB3kwUwhJkMQkI3guxzzmaP 6xjRhS6vjRC8F+dfWoYwbxS6zsexvfYN9nTcVNLXBPt6WmXuw9Fu+b91lDOlFysTDkKAQ7rxHTY1j Ne7iXlLERGqqC4tkQCXimJ9Ae2i209641vwTl2B8xWJyf2sj3cq6tlCEV55A7f+jncmU=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o7cEv-00021O-Hh for control@debbugs.gnu.org; Sat, 02 Jul 2022 14:28:47 +0200 Date: Sat, 02 Jul 2022 14:28:45 +0200 Message-Id: <87sfnj1ywy.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #56336 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 56336 + moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) tags 56336 + moreinfo quit From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 03 03:42:05 2022 Received: (at 56336) by debbugs.gnu.org; 3 Jul 2022 07:42:05 +0000 Received: from localhost ([127.0.0.1]:43190 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7uF2-0004IP-Vk for submit@debbugs.gnu.org; Sun, 03 Jul 2022 03:42:05 -0400 Received: from kamnitnik.top ([209.250.245.214]:42478) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7uEz-0004Hx-LP for 56336@debbugs.gnu.org; Sun, 03 Jul 2022 03:42:03 -0400 From: miha@kamnitnik.top DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kamnitnik.top; s=mail; t=1656834120; bh=zEqOTNS6RKJClh1IZOFuxji8KwJ/7M229DgdU3O0enE=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=iVrZxwW2Kew5h/GIjLQj1mK4su9caw+bZrZNaBIMUsBcFG0nJLTOIhRIReSgGATw3 jZDrunsK/JFGKD3JJLr5YK4dR+AQKPmTmZyIj6H/gV9LGhnN6TSqjdRqJxegOI3xZd MK42dsdmrhfSChkEAzbDQqsUAhTxFlQVuq/jojIzHykLmeP6dEEOgMp89xxocwUM12 PSBn7yFuTVz/e1XKUlw+E4cDIq+4XPWKeu3W96QduY6OWgvPLWV16fO3HYFVkhbK5O 74emfeg3CngmRuGs9Z+NUiKYOPwTL4BjB4yadaODpODN4JnPw5WaW3E63IJSQm7oMl PjaeLiJZpj8AQ== To: Lars Ingebrigtsen , Jan =?utf-8?B?U3luw6HEjWVr?= Subject: Re: bug#56336: 28.1.90; [28.1] Emacs prompts for password when output from async command contains "password:" In-Reply-To: <87tu7z1yx9.fsf@gnus.org> References: <87r13511lv.fsf@gmail.com> <87tu7z1yx9.fsf@gnus.org> Date: Sun, 03 Jul 2022 09:53:20 +0200 Message-ID: <87zghqskcv.fsf@miha-pc> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 2.1 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Lars Ingebrigtsen writes: > I've now fixed the latter in Emacs 29. Thanks. I think an equivalent change could be made for eshell-watch-for-password-prompt and term-watch-for-password-prompt as well. Content analysis details: (2.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 1.6 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: kamnitnik.top (top)] 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD -0.0 T_SCC_BODY_TEXT_LINE No description available. X-Debbugs-Envelope-To: 56336 Cc: 56336@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.1 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Lars Ingebrigtsen writes: > I've now fixed the latter in Emacs 29. Thanks. I think an equivalent change could be made for eshell-watch-for-password-prompt and term-watch-for-password-prompt as well. Content analysis details: (2.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 1.6 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: kamnitnik.top (top)] 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD -0.0 T_SCC_BODY_TEXT_LINE No description available. -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager --=-=-= Content-Type: text/plain Lars Ingebrigtsen writes: > I've now fixed the latter in Emacs 29. Thanks. I think an equivalent change could be made for eshell-watch-for-password-prompt and term-watch-for-password-prompt as well. Best regards. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJHBAEBCAAxFiEEmxVnesoT5rQXvVXnswkaGpIVmT8FAmLBSvATHG1paGFAa2Ft bml0bmlrLnRvcAAKCRCzCRoakhWZP6JXD/wIbtmQAuw49+jy3F8nIQ6I+fNI1F+F rCPhMzxUk/gTA//ky4ieyJKkXTLl5FjUvrmpYSaR9vBFsNJH+HG0Lw6JrfYk3bLi FstkwlCDr+h1S2Z66IS6BUZlEcUMnPzIOwqXF+YI98ui5qhvFLcwQ4BljiTeell8 knPbWADpVbQVeUcWSuNfRIm3geZPoqOonjHz8BgdbZQ6jnf/CcEAD6s5vu39u5nQ RGsdATs9XFogB3znyCu0yglujta2OUo1G+og9heSMkI7N8oA/8cOMs1SpW1HFD0H NuKEB6gQ40mQb49WDqbFXF8BD9m+t8f838ByGeTzNql4+4vrXuDP8bb+Wowq8VHD Jatm8NDMEZxcNisYPEcUgfQ3v7JnEj+QEEF2+jfp8/YK/GdJ4SXMueexYsR7xcsV JNReZe4QgyQp9p9wjrk5o8OW3Ba0K+Ow+WHMYA7ldSLj23Sjg3hi7rn5H14jj8nj 2fpLYir71Vi+qHQ/5vOmZOro184aWVotQ8yrCnBWiUlIcUss1RevVN5KdJQ7Q8vA CXaZ+DwC88VU5tTNVCj5w4jmDLHMcGl/JKucYy/k5HKXFpREC2CeAAa8YYBCnvgk HQ+46aP8eZnwnU9OztgiTrUiKW/wY3LufQHO4x1aVrklujLRVnpsb/09TLu994U2 SorZT54SJYY5/A== =k63U -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 03 08:20:03 2022 Received: (at 56336) by debbugs.gnu.org; 3 Jul 2022 12:20:03 +0000 Received: from localhost ([127.0.0.1]:43499 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7ya3-0003ZM-7h for submit@debbugs.gnu.org; Sun, 03 Jul 2022 08:20:03 -0400 Received: from quimby.gnus.org ([95.216.78.240]:49988) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7ya0-0003Yl-O1 for 56336@debbugs.gnu.org; Sun, 03 Jul 2022 08:20:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=qxpx5iVWPnmn5GIbxaMBNxZNvBqt3iYASph1Lvr7xJI=; b=teQuc2oHIZQCWS2YQ5ZfMRDwUj tqsGwY4Hs3Yu6IeOsLBOslOPUw3QrHgA5Z98sN0zevAmxJIxszl3q5wC8q7vonrtrRKlC7otZfNB4 3rzqw/Pk0H7wo2woyDUYNzCJqCWzLGWjlDNGUdEfdLWEJ8jKQm0TVsaeK2cox9AMBJs0=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o7yZq-0004n7-6N; Sun, 03 Jul 2022 14:19:52 +0200 From: Lars Ingebrigtsen To: miha@kamnitnik.top Subject: Re: bug#56336: 28.1.90; [28.1] Emacs prompts for password when output from async command contains "password:" In-Reply-To: <87zghqskcv.fsf@miha-pc> (miha@kamnitnik.top's message of "Sun, 03 Jul 2022 09:53:20 +0200") References: <87r13511lv.fsf@gmail.com> <87tu7z1yx9.fsf@gnus.org> <87zghqskcv.fsf@miha-pc> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEXTwan27dV0Y1r/ ///FTC/9AAAAAWJLR0QDEQxM8gAAAAd0SU1FB+YHAwwFB0ZVuUMAAAFrSURBVCjPTdLPSuRAEAbw iqQhehqX1MWTCgvZfooEDOicOqG+g948CPsYw0BgX2DuMwsLs/2UftVRcf6k+aWqm6pKRKbwoCaq SWrBJC0gFWCtIMk1hrAT2ZhApLK23oiI8ZsPqGvmGSMX+xP6u70W2FVGPN2iAPmI/Gf8wK/ecj6t GH9POOZ/4Ecw+LXDGul9va1LxHcBs9/5RJrWtJJgDf+JtXHRdMnrxjENYa48V+wH8BhmWeHLMDfh C5i7wJ2OeETqKgcbj/kwN6WqPuiQtOdQUIkFTQ3i4gF2qhjNYURSHpZ3ysDaT5IzCrxM3vYsQSht LWNLzIcSW6xtdrItwJKkO8tLwfXwsOuizD6ktNc2/42S/vOIx3trc86SKuK0Ndw7FiI8c+TnLOZ7 fj4RjBhHjvCBnlVBX8EWuSd6bW+wclrkA9SwwmJAgn5ig+kLWXTyyX3DVACCzyndOEai5++qRKLw 7dJ6S7wDi/asv4b+O8cAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjItMDctMDNUMTI6MDU6MDcrMDA6 MDCf5zE8AAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTA3LTAzVDEyOjA1OjA3KzAwOjAw7rqJgAAA AABJRU5ErkJggg== X-Now-Playing: Eurythmics's _Savage_: "Shame" Date: Sun, 03 Jul 2022 14:19:49 +0200 Message-ID: <877d4ubd7e.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: miha@kamnitnik.top writes: > Thanks. I think an equivalent change could be made for > eshell-watch-for-password-prompt and term-watch-for-password-prompt as > well. Are they used in contexts where this is meaningful? I.e., used from commands like `M-&' that kill off the shell? Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 56336 Cc: 56336@debbugs.gnu.org, Jan =?utf-8?B?U3luw6HEjWVr?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) miha@kamnitnik.top writes: > Thanks. I think an equivalent change could be made for > eshell-watch-for-password-prompt and term-watch-for-password-prompt as > well. Are they used in contexts where this is meaningful? I.e., used from commands like `M-&' that kill off the shell? But I guess for resilience it doesn't hurt... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 03 12:54:30 2022 Received: (at 56336) by debbugs.gnu.org; 3 Jul 2022 16:54:30 +0000 Received: from localhost ([127.0.0.1]:45453 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o82re-0007Jc-Bp for submit@debbugs.gnu.org; Sun, 03 Jul 2022 12:54:30 -0400 Received: from mail-vs1-f49.google.com ([209.85.217.49]:40691) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o82rb-0007JM-GK for 56336@debbugs.gnu.org; Sun, 03 Jul 2022 12:54:28 -0400 Received: by mail-vs1-f49.google.com with SMTP id q28so6966841vsp.7 for <56336@debbugs.gnu.org>; Sun, 03 Jul 2022 09:54:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=V75P5r/w0+X8KNM0p2UEtvWI2/j13d09q3c5MSuFd0E=; b=V3iOuKChplUN3xEFj/HGpgpk3lsafuuP0QU6HBKeuu/9jwd//9v4vqaysw4TLX19we 0lImpLksSJ2WKfvJcVHoYFr0EeyWAhMYwKeOSERS79B3pmOvoawVyW0Xtr8GqGQ3WKnV PCtm3OYaQ+Hz7ONN4b99kWMV0bxsDcMP4bMLiwC6Z9RqiAJaOF8JGtkW9445TJHC0Tlj ShFKxY6KYh/XHNO14hLNUuVefx4laHb7l5gg0uCDTWw+z3/FdSabaNH3KlmvQBtqL4gf KREPYvApYpTBTPSVnR0XaIRP+gfZgKizasl5dEJjGYjWO4AurHa9cV65KOeEW1STGDjr 9pmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=V75P5r/w0+X8KNM0p2UEtvWI2/j13d09q3c5MSuFd0E=; b=j0xO59PsiuOa+8nVWGToWf9LNqcZtkep7hl9LacYBtVE06HX46hP4DVTBL4mwDRwuU BEh+xUJyefaYnnteUhun9l2DDnzENhCf7fMKY2VNVPyRC3kLAJUMAG4usF+llry/DNNS Ae5KFVzV38GeV2eKp2sw5kwZNbFI8TwZztcrBfE8q2zj7BAxDUVwksgN7ZpFNd1jMUVV WcQZ/OC2jyP+MZVW7egWv7CqE5KjxRQi19cT36EOpvTSPLqOGPDJdcB9qJZFGGKXG/bz xejsxRHUTg7S34Vh/zds0RVNT+I4du0KtfH1RpJ60YWtYnrmTe0YYq7qWuW6nLS23rqg Ly5Q== X-Gm-Message-State: AJIora/S+RLA9ZBgOrcPAQ3d5z5gduJ1T0EnlhmepkApp2i0bpXzPm9D ZK+mrjrzp2cSE35RMjHEGxqC8tnxKa6Dvso4QY8= X-Google-Smtp-Source: AGRyM1tyzjSQsUgCNQSRz9ugWTFSzW3pHHb2AqlczGkQcLqBvKCdUb2BIqMJuiaMaVMMvLfNSPWLclVI6f0jhw3pIXQ= X-Received: by 2002:a67:ce02:0:b0:354:2ad9:963a with SMTP id s2-20020a67ce02000000b003542ad9963amr14288782vsl.44.1656867261714; Sun, 03 Jul 2022 09:54:21 -0700 (PDT) MIME-Version: 1.0 References: <87r13511lv.fsf@gmail.com> <87tu7z1yx9.fsf@gnus.org> In-Reply-To: <87tu7z1yx9.fsf@gnus.org> From: =?UTF-8?B?SmFuIFN5bsOhxI1law==?= Date: Sun, 3 Jul 2022 18:54:10 +0200 Message-ID: Subject: Re: bug#56336: 28.1.90; [28.1] Emacs prompts for password when output from async command contains "password:" To: Lars Ingebrigtsen Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 56336 Cc: 56336@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Sat, Jul 2, 2022 at 2:28 PM Lars Ingebrigtsen wrote: > The former problem is rather intractable. That is, if you say > > ssh foo@host > > you'll get a password prompt as the final line in the buffer, and Emacs > will ask you to enter a password. > > If you say > > echo -n "password: "; sleep 10; echo foo > > then there's no way for Emacs to distinguish that from the ssh > situation: It sees a prompt as the last thing in the buffer, and Emacs > can't possibly know that that's not a process asking for a password. > > Note that > > echo "password: "; echo foo; sleep 10 > > won't ask for a password. > > So I don't know that there's any way to fix this -- Emacs uses a > heuristic, and it will be wrong in some cases. > > Or does anybody have any ideas here? Well, I know about one thing that might work well enough as an additional heuristic just for this case. It seems that if a command only outputs to stdout (and probably to stderr as well) and doesn't really ask for input, lsof -p shows something like this: $ lsof -p 145475 ... sleep 145475 jsynacek 0u CHR 136,1 0t0 4 /dev/pts/1 sleep 145475 jsynacek 1u CHR 136,1 0t0 4 /dev/pts/1 sleep 145475 jsynacek 2u CHR 136,1 0t0 4 /dev/pts/1 Whereas if the command really wants input ('ssh jsynacek@localhost' in this particular example), it looks like the following: $ lsof -p 145512 ... ssh 145512 jsynacek 0u CHR 136,1 0t0 4 /dev/pts/1 ssh 145512 jsynacek 1u CHR 136,1 0t0 4 /dev/pts/1 ssh 145512 jsynacek 2u CHR 136,1 0t0 4 /dev/pts/1 ssh 145512 jsynacek 3u IPv6 203802 0t0 TCP localhost:32864->localhost:ssh (ESTABLISHED) ssh 145512 jsynacek 4u unix 0x000000006034f025 0t0 203803 type=3DSTREAM (CONNECTED) ssh 145512 jsynacek 5u CHR 5,0 0t0 11 /dev/tty Note the /dev/tty in the output. I'm not sure, but I think this might be good enough. --=20 Jan Syn=C3=A1=C4=8Dek From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 04 06:53:29 2022 Received: (at 56336) by debbugs.gnu.org; 4 Jul 2022 10:53:29 +0000 Received: from localhost ([127.0.0.1]:46232 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o8Jhp-0001Ht-63 for submit@debbugs.gnu.org; Mon, 04 Jul 2022 06:53:29 -0400 Received: from quimby.gnus.org ([95.216.78.240]:59874) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o8Jhn-0001Hh-NP for 56336@debbugs.gnu.org; Mon, 04 Jul 2022 06:53:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :Date:References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=ODBKqVTFR2W/GrO+kZqSxO7s5iJjQyuBLqi0TNZ7Ca4=; b=embDbw6a2qDDjuS31FhudLkVda kMTANB7toCH//OblDaxBXZe6T2m4Hm6F0EOInN2f5dQFg2OkrKfvzbXTC8obvZQ09gu6M9K4pEQf9 eGbMP0FKQos2nGX3njygQOmv0x8RWPR/m6KlGtRFy7bssgDMn5jvp79cjoo9SauZfkOA=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o8Jhf-0006V2-88; Mon, 04 Jul 2022 12:53:21 +0200 From: Lars Ingebrigtsen To: Jan =?utf-8?B?U3luw6HEjWVr?= Subject: Re: bug#56336: 28.1.90; [28.1] Emacs prompts for password when output from async command contains "password:" In-Reply-To: ("Jan =?utf-8?B?U3luw6HEjWVrIidz?= message of "Sun, 3 Jul 2022 18:54:10 +0200") References: <87r13511lv.fsf@gmail.com> <87tu7z1yx9.fsf@gnus.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEXEaDflmFTJxsRW dKVaa4////95E3pLAAAAAWJLR0QF+G/pxwAAAAd0SU1FB+YHBAoPKI4xKJsAAAGdSURBVDjLnZPr dcMgDIXhnAyAcQcIkhcwMEBPYP+ZeiVhGzfpnyqOE/NZ6HVxzi1qDubx1T+fTEBMRG/rMCIq5QPA an4HzmNdbDzJDgGXc4+u1u5g8Y9eW++lzx7CDofZA1X44EtpEqGW82U1v5bDRt1LXJaEHy69dly1 DRAGZuzSDAjxXjPS2s6tbsZ/AWSECLWe6R7WW2tVwv8CUl0Vr9avrXQOZYohjbMxBL9Q4pyp5Fx4 gBiXFHxMaQWA7evsgZHunIlL5rKaBLCLvMBzDDcUotn2VrXnkq4/gXfIsh4MM7Aow6Nfg1JgervH wEIkei5TD9GZooIh6i8CWaEn1isLiAKIUgAgYqmPM5uDGgo0gBppBmkA+QiIdLr4EduymoB7pLjq mKSOG9gZoFjlspQHcJnWquqFB00e/qgbEj3Aph4qhtZUcJG2l4CN7HRU7eQVvNt5ZEi0WVaexAG3 5EwoeXR3agkeAvEubWRr+gVwGmIhqMG6i822px2tAMnzGJS6bDpgH2xetdkEN4q3s74dov66BPEt t+D+YT/qaHW8auKAUgAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMi0wNy0wNFQxMDoxNTo0MCswMDow MIIhk7YAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjItMDctMDRUMTA6MTU6NDArMDA6MDDzfCsKAAAA AElFTkSuQmCC X-Now-Playing: Joe Jackson's _Big World_: "Tango Atlantico" Date: Mon, 04 Jul 2022 12:53:18 +0200 Message-ID: <87czel87z5.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Jan Synáček writes: > Well, I know about one thing that might work well enough as an > additional heuristic just for this case. > > It seems that if a command only outputs to stdout (and probably to > stderr as well) and [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 56336 Cc: 56336@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Jan Syn=C3=A1=C4=8Dek writes: > Well, I know about one thing that might work well enough as an > additional heuristic just for this case. > > It seems that if a command only outputs to stdout (and probably to > stderr as well) and doesn't really ask for input, lsof -p process> shows something like this: > $ lsof -p 145475 [...] > Note the /dev/tty in the output. I'm not sure, but I think this might > be good enough. It's not portable across operating systems, though. (And the processes may play shenanigans with detaching and spawning other processes that then ask for a password (think xdg-open and friends), so it's not reliable on Linux either.) --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 02 07:02:15 2022 Received: (at 56336) by debbugs.gnu.org; 2 Aug 2022 11:02:15 +0000 Received: from localhost ([127.0.0.1]:42519 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oIpfD-0001to-3s for submit@debbugs.gnu.org; Tue, 02 Aug 2022 07:02:15 -0400 Received: from quimby.gnus.org ([95.216.78.240]:56112) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oIpfB-0001tY-Bx for 56336@debbugs.gnu.org; Tue, 02 Aug 2022 07:02:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=EF+KtJq4wSYrw+wciOpHrJOQGhGN7RCi0ZAlbyIYXow=; b=AG4xr4wliLvvexYQFGE7m5mcRk k1TMrStXHtI3HLxQY4YU3JLwQnXYWUED3BvQD51tRa3ZPXC52YBRlEG0VjKFGCW2KWIR4s+BuSwdK D7f7KkAl29brXQ5haqayq1a8YlOCcptT2pkY4MJjK92ce6fjqwFYMIjnj/XLAx0q9DJQ=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oIpf2-0007e4-Ap; Tue, 02 Aug 2022 13:02:06 +0200 From: Lars Ingebrigtsen To: miha@kamnitnik.top Subject: Re: bug#56336: 28.1.90; [28.1] Emacs prompts for password when output from async command contains "password:" In-Reply-To: <877d4ubd7e.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 03 Jul 2022 14:19:49 +0200") References: <87r13511lv.fsf@gmail.com> <87tu7z1yx9.fsf@gnus.org> <87zghqskcv.fsf@miha-pc> <877d4ubd7e.fsf@gnus.org> X-Now-Playing: Thick Pigeon's _Too Crazy Cowboys_: "Pope" Date: Tue, 02 Aug 2022 13:02:03 +0200 Message-ID: <87r11yyklw.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Lars Ingebrigtsen writes: >> Thanks. I think an equivalent change could be made for >> eshell-watch-for-password-prompt and term-watch-for-password-prompt as >> well. > > Are they used in contexts where this is meaningful? I.e [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 56336 Cc: 56336@debbugs.gnu.org, Jan =?utf-8?B?U3luw6HEjWVr?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Lars Ingebrigtsen writes: >> Thanks. I think an equivalent change could be made for >> eshell-watch-for-password-prompt and term-watch-for-password-prompt as >> well. > > Are they used in contexts where this is meaningful? I.e., used from > commands like `M-&' that kill off the shell? There wasn't any followup here in a month, so I don't think it's worth tweaking this more unless anybody has an actual case where this bugs out, and I'm therefore closing this bug report. From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 02 07:02:19 2022 Received: (at control) by debbugs.gnu.org; 2 Aug 2022 11:02:19 +0000 Received: from localhost ([127.0.0.1]:42522 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oIpfH-0001u4-D0 for submit@debbugs.gnu.org; Tue, 02 Aug 2022 07:02:19 -0400 Received: from quimby.gnus.org ([95.216.78.240]:56126) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oIpfF-0001tf-UO for control@debbugs.gnu.org; Tue, 02 Aug 2022 07:02:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=xewrRBIQoakER3vSw1ihN5fUtPCzMqlNF30mUUvjLxU=; b=hG8wy9RhCr6yebxUiowwqkbVtc 3CeqHLeoiMvroRWOYX5qGZdH3PSTXstbzwspWldmkK+OoaWtdrbdbj8LxTlqRov3cBBKS99zTTmMO 5f+p02PzqYRHCriTYaRP21V8QEo5TVtTbIeJ/MPcB0D6xPBRMnRdEmM3P4fp3fb6MCzA=; Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oIpf8-0007eH-EG for control@debbugs.gnu.org; Tue, 02 Aug 2022 13:02:12 +0200 Date: Tue, 02 Aug 2022 13:02:09 +0200 Message-Id: <87pmhiyklq.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #56336 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 56336 29.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 56336 29.1 quit From unknown Sat Aug 16 18:43:20 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 30 Aug 2022 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator