From unknown Fri Aug 15 14:47:56 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#77318 <77318@debbugs.gnu.org> To: bug#77318 <77318@debbugs.gnu.org> Subject: Status: 29.3; Emacs eshell password prompt is in clear text Reply-To: bug#77318 <77318@debbugs.gnu.org> Date: Fri, 15 Aug 2025 21:47:56 +0000 retitle 77318 29.3; Emacs eshell password prompt is in clear text reassign 77318 emacs submitter 77318 Daniel de Castro Victoria severity 77318 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 27 14:50:02 2025 Received: (at submit) by debbugs.gnu.org; 27 Mar 2025 18:50:02 +0000 Received: from localhost ([127.0.0.1]:51346 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1txsIg-0001l6-Ax for submit@debbugs.gnu.org; Thu, 27 Mar 2025 14:50:01 -0400 Received: from lists.gnu.org ([2001:470:142::17]:46216) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1txr7N-00044A-Kc for submit@debbugs.gnu.org; Thu, 27 Mar 2025 13:34:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1txr7B-0004Am-Lh for bug-gnu-emacs@gnu.org; Thu, 27 Mar 2025 13:34:02 -0400 Received: from mail-qv1-xf30.google.com ([2607:f8b0:4864:20::f30]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1txr77-0005B5-Jm for bug-gnu-emacs@gnu.org; Thu, 27 Mar 2025 13:34:01 -0400 Received: by mail-qv1-xf30.google.com with SMTP id 6a1803df08f44-6e8f254b875so10642596d6.1 for ; Thu, 27 Mar 2025 10:33:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embrapa.br; s=google; t=1743096834; x=1743701634; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=FPKMa8QOv/gg6nTRDe+0Crf+0OQctyoeQkww7zaqGvI=; b=GBiaqwHxJoW4On6cc7SC0zvA+Kqo21/KNNswkJ9SjWnzSUpJzrYjNGMwqdpsrJ4hkK g59ESR1DD76lLCsILhu7CGp8IbdBBOe5OnDIzg7Jfuu6abB1ln8hFOfCknlQODLcW03g +p5ypR9UBz8EtJxa5orr34WkBO+iwZcrxejjBN7/qe17ZecSz0EJP2JJR93PldsrLUro ZZsCiT8skUnLESY2Z5IhIffCKsiKKJMOsHylY3AP8/V2FsEiA4u6BDSaTS9WK0UdObeW 2p9FRuE6gtiUNyxykdHgoT30iqkIH+cGM+WIAdDObgjB9L293YW9EQC5c4f3VFv3Xihn 9uiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743096834; x=1743701634; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=FPKMa8QOv/gg6nTRDe+0Crf+0OQctyoeQkww7zaqGvI=; b=wahMkh4ALAdGyfIzp+Z0cyEf0OzE1D47FiTccxdo89JxgQerQfqzz9RmkzZum+dIFm 44BkOUAxepRw5SkPeorR/GwZBAkvapNdcCZ4+c+Ug7bfDpMemWYnxkkFXivdwlrAyVJm 682kgc3PNVJmBRno9TKxMivJGnIiJQIPXGg9vrLB3o1rUw2bb/3RH9KHPW12EFEvBnG0 iWjeh+bV1z7O8TOQ4exYapnae+r2gM8TTSjzT1wU5ViQR/GTGZXuuSvELcIHyRnyQe9f zD1fc88moUldN1vKgrpcNSOSQkX+pjb3to7pBGubwiTc/F5JGvoONwiTGww5++7cTncR Y1rg== X-Gm-Message-State: AOJu0YxEJWT4+RNfOi+ro9pZeV8Ev8D+p5cDnmNW6hlmOuqY7AiHNccE I9n/T7UeUJVSj08PA/rgiQYlKjPR0tepuCTRXAMglu7jnIDQtT7qyFN41MfQWQR8Bnd5NEHpREt h5y72r1tX5pnjkVyaNAmkJaBpvY8oTIv3s8wJgl5Pcb4Yel76nHt1//3f5L+NeopqZ0g2pS3kKR z/E9tte6uop2uyaApdB51p90MGeMlVoTMGcdmroA== X-Gm-Gg: ASbGncvcr7FddWa4N5talw22ch3nPhRnIBkn3mtU5ZHnyqBP6J5b7dV8FbZbZuaNhFA R8mNooVOrH+sZ2bT0tqH/9CYMA8OfgTPnzzwdOIO6yHZfGmCP6Lyf7W5tz3i+1lO5SyG81D0CW2 NOZtrjf48GSL7Dd52s1EiLnN1A X-Google-Smtp-Source: AGHT+IFo7P9oZ7i+JhnF6b2NbOGfuMx9kpjw4AXZ+8PHBNPMalJ/QpyIiyzic5W+w5vPVus2G+oGY+JUKmoJ19/UY/M= X-Received: by 2002:a05:6214:242b:b0:6ec:edf9:4658 with SMTP id 6a1803df08f44-6ed238bdc97mr65599056d6.18.1743096833948; Thu, 27 Mar 2025 10:33:53 -0700 (PDT) MIME-Version: 1.0 From: Daniel de Castro Victoria Date: Thu, 27 Mar 2025 14:33:42 -0300 X-Gm-Features: AQ5f1JosrJSTtXYZjn02toz-OXggG4J0CXPclQTcVkHDQKYaf4Pt2wagLRQ_jsU Message-ID: Subject: 29.3; Emacs eshell password prompt is in clear text To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary="00000000000098d7fe0631565b24" Received-SPF: pass client-ip=2607:f8b0:4864:20::f30; envelope-from=daniel.victoria@embrapa.br; helo=mail-qv1-xf30.google.com X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URI_NOVOWEL=0.5 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.4 (+) 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: While using eshell to issue some git commands I noticed that the password prompt is not masking the characters. My passwords appear as clear text. Bellow is a copy/paste from my eshell terminal (I jus [...] Content analysis details: (1.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.9 SPF_FAIL SPF: sender does not match SPF record (fail) [SPF failed: Please see http://www.openspf.org/Why?s=mfrom; id=daniel.victoria%40embrapa.br; ip=2001%3A470%3A142%3A%3A17; r=debbugs.gnu.org] 0.5 URI_NOVOWEL URI: URI hostname has long non-vowel sequence 0.0 HTML_MESSAGE BODY: HTML included in message X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 27 Mar 2025 14:49:56 -0400 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: 0.4 (/) --00000000000098d7fe0631565b24 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable While using eshell to issue some git commands I noticed that the password prompt is not masking the characters. My passwords appear as clear text. Bellow is a copy/paste from my eshell terminal (I just masked some info) ------- Welcome to the Emacs shell ~ $ cd projetos ~/projetos $ cd zoneamento/modelos/rAgS/ ~/projetos/zoneamento/modelos/rAgS $ git status On branch interface Your branch is up to date with 'origin/interface'. nothing to commit, working tree clean ~/projetos/zoneamento/modelos/rAgS $ git fetch Username for 'https://www.gitlab.xxxxx.xxxxxx.br': mXXXXX Password for 'https://mXXXXX@www.gitlab.xxxxx.xxxxxxx.br': my pass is clearText -------------------- I found this discussion on the email archives but I'm not sure how to make the changes. I'm new emacs user https://lists.gnu.org/archive/html/help-gnu-emacs/2014-01/msg00569.html Thanks Bellow is my system information: In GNU Emacs 29.3 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.41, cairo version 1.18.0) of 2024-04-01, modified by Debian built on lcy02-amd64-083 Windowing system distributor 'The X.Org Foundation', version 11.0.12101011 System Description: Ubuntu 24.04.2 LTS Configured using: 'configure --build x86_64-linux-gnu --prefix=3D/usr --sharedstatedir=3D/var/lib --libexecdir=3D/usr/libexec --localstatedir=3D/var/lib --infodir=3D/usr/share/info --mandir=3D/usr/share/man --with-libsystemd --with-pop=3Dyes --enable-locallisppath=3D/etc/emacs:/usr/local/share/emacs/29.3/site-lisp:= /usr/local/share/emacs/site-lisp:/usr/share/emacs/29.3/site-lisp:/usr/share= /emacs/site-lisp --with-sound=3Dalsa --without-gconf --with-mailutils --with-native-compilation --build x86_64-linux-gnu --prefix=3D/usr --sharedstatedir=3D/var/lib --libexecdir=3D/usr/libexec --localstatedir=3D/var/lib --infodir=3D/usr/share/info --mandir=3D/usr/share/man --with-libsystemd --with-pop=3Dyes --enable-locallisppath=3D/etc/emacs:/usr/local/share/emacs/29.3/site-lisp:= /usr/local/share/emacs/site-lisp:/usr/share/emacs/29.3/site-lisp:/usr/share= /emacs/site-lisp --with-sound=3Dalsa --without-gconf --with-mailutils --with-native-compilation --with-cairo --with-x=3Dyes --with-x-toolkit=3Dgtk3 --with-toolkit-scroll-bars 'CFLAGS=3D-g -O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=3D/build/emacs-0yuuFP/emacs-29.3+1=3D. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=3Dformat-security -fcf-protection -fdebug-prefix-map=3D/build/emacs-0yuuFP/emacs-29.3+1=3D/usr/src/emacs-1:2= 9.3+1-1ubuntu2 -Wall' 'CPPFLAGS=3D-Wdate-time -D_FORTIFY_SOURCE=3D3' 'LDFLAGS=3D-Wl,-Bsymbolic-functions -Wl,-z,relro'' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB Important settings: value of $LC_CTYPE: pt_BR.UTF-8 value of $LC_MESSAGES: en_US.UTF-8 value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=3Dibus locale-coding-system: utf-8-unix Major mode: Eshell Minor modes in effect: eshell-prompt-mode: t eshell-hist-mode: t eshell-pred-mode: t eshell-cmpl-mode: t ess-r-package-mode: t shell-dirtrack-mode: t global-company-mode: t company-mode: t pyvenv-mode: t eshell-proc-mode: t eshell-arg-mode: t tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: /home/m330625/.emacs.d/elpa/transient-20250108.1351/transient hides /usr/share/emacs/29.3/lisp/transient Features: (shadow sort mail-extr emacsbug message yank-media puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils pcmpl-git vc-git vc-dispatcher pcmpl-unix em-unix em-term term disp-table ehelp em-script em-prompt em-ls em-hist em-pred em-glob em-extpipe em-cmpl em-dirs esh-var em-basic em-banner em-alias esh-mode cus-start company-oddmuse company-keywords company-etags company-gtags company-dabbrev-code company-dabbrev company-files company-clang company-cmake company-semantic company-template company-bbdb spolsky-theme sublime-themes use-package-core ob-R org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-src ob-comint org-pcomplete org-list org-footnote org-faces org-entities ob-emacs-lisp ob-core ob-eval org-cycle org-table ol org-fold org-fold-core org-keys oc org-loaddefs find-func cal-menu calendar cal-loaddefs org-version org-compat org-macs ess-r-mode ess-r-flymake ess-r-xref ess-trns ess-r-package ess-r-completion ess-roxy ess-r-syntax ess-rd noutline outline ess-s-lang ess-help ess-mode ess-inf ess-tracebug comp comp-cstr tramp tramp-loaddefs trampver tramp-integration tramp-compat shell pcomplete parse-time iso8601 time-date format-spec ess lisp-mnt ess-utils ess-custom cl-extra yasnippet highlight-indentation flymake-proc flymake warnings thingatpt company-capf company help-fns radix-tree help-mode elpy advice elpy-rpc pyvenv eshell esh-cmd esh-ext esh-opt esh-proc esh-io esh-arg esh-module esh-groups esh-util elpy-shell elpy-profile elpy-django s elpy-refactor diff-mode easy-mmode python rx compat compat-30 treesit ido hideshow grep compile text-property-search comint ansi-osc ansi-color files-x etags fileloop generator xref project ring cus-edit pp cus-load icons wid-edit finder-inf docker-autoloads aio-autoloads docker-compose-mode-autoloads dockerfile-mode-autoloads elpy-autoloads company-autoloads ess-autoloads highlight-indentation-autoloads magit-autoloads pcase magit-section-autoloads dash-autoloads markdown-mode-autoloads s-autoloads sublime-themes-autoloads tablist-autoloads transient-autoloads with-editor-autoloads info compat-autoloads yaml-mode-autoloads yasnippet-autoloads zenburn-theme-autoloads package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs password-cache json subr-x map byte-opt gv bytecomp byte-compile url-vars cl-loaddefs cl-lib rmc iso-transl tooltip cconv 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 nadvice seq simple cl-generic indonesian philippine 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 abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit xinput2 x multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 523538 25388) (symbols 48 31912 0) (strings 32 165201 5888) (string-bytes 1 4496381) (vectors 16 53553) (vector-slots 8 957247 27531) (floats 8 226 288) (intervals 56 948 411) (buffers 984 16)) --=20 Daniel de Castro Victoria Pesquisador Embrapa Agricultura Digital Empresa Brasileira de Pesquisa Agropecu=C3=A1ria (Embrapa) Campinas/SP --=20 __________________________ Aviso de confidencialidade Esta mensagem da=20 Empresa=C2=A0 Brasileira de Pesquisa=C2=A0 Agropecuaria (Embrapa), empresa = publica=20 federal=C2=A0 regida pelo disposto=C2=A0 na Lei Federal no. 5.851,=C2=A0 de= 7 de dezembro=20 de 1972,=C2=A0 e=C2=A0 enviada exclusivamente=C2=A0 a seu destinatario e po= de conter=20 informacoes=C2=A0 confidenciais, protegidas=C2=A0 por sigilo profissional.= =C2=A0 Sua=20 utilizacao desautorizada=C2=A0 e ilegal e=C2=A0 sujeita o infrator as penas= da lei.=20 Se voce=C2=A0 a recebeu indevidamente, queira, por gentileza, reenvia-la ao= =20 emitente, esclarecendo o equivoco. Confidentiality note This message from=20 Empresa=C2=A0 Brasileira de Pesquisa=C2=A0 Agropecuaria (Embrapa), a govern= ment=20 company=C2=A0 established under=C2=A0 Brazilian law (5.851/72), is directed= =20 exclusively to=C2=A0 its addressee=C2=A0 and may contain confidential data,= =C2=A0=20 protected under=C2=A0 professional secrecy=C2=A0 rules. Its unauthorized=C2= =A0 use is=20 illegal and=C2=A0 may subject the transgressor to the law's penalties. If y= ou=20 are not the addressee, please send it back, elucidating the failure. --00000000000098d7fe0631565b24 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
While using eshell to = issue some git commands I noticed that the password prompt is not masking t= he characters. My passwords appear as clear text. Bellow is a copy/paste fr= om my eshell terminal (I just masked some info)

-------
Welcome to the Emacs shell

~ $ cd projetos
~/proj= etos $ cd zoneamento/modelos/rAgS/
~/projetos/zoneamento/modelos/rAgS $= git status
On branch interface
Your branch is up to date with 'o= rigin/interface'.

nothing to commit, working tree clean
~/pro= jetos/zoneamento/modelos/rAgS $ git fetch
Username for 'https://www.gitlab.xxxxx.xxxxxx.br&= #39;: mXXXXX
Password for 'https://mXXXXX@www.gitlab.xxxxx.xxxxxxx.br': my pass = is clearText
--= ------------------

I foun= d this discussion on the email archives but I'm not sure how to make th= e changes. I'm new emacs user


Thanks=

Bellow is my system info= rmation:

In GNU Emacs 29.= 3 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.41,
=C2=A0cairo versi= on 1.18.0) of 2024-04-01, modified by Debian built on
=C2=A0lcy02-amd64-= 083
Windowing system distributor 'The X.Org Foundation', version= 11.0.12101011
System Description: Ubuntu 24.04.2 LTS

Configured = using:
=C2=A0'configure --build x86_64-linux-gnu --prefix=3D/usr
= =C2=A0--sharedstatedir=3D/var/lib --libexecdir=3D/usr/libexec
=C2=A0--lo= calstatedir=3D/var/lib --infodir=3D/usr/share/info
=C2=A0--mandir=3D/usr= /share/man --with-libsystemd --with-pop=3Dyes
=C2=A0--enable-locallisppa= th=3D/etc/emacs:/usr/local/share/emacs/29.3/site-lisp:/usr/local/share/emac= s/site-lisp:/usr/share/emacs/29.3/site-lisp:/usr/share/emacs/site-lisp
= =C2=A0--with-sound=3Dalsa --without-gconf --with-mailutils
=C2=A0--with-= native-compilation --build x86_64-linux-gnu --prefix=3D/usr
=C2=A0--shar= edstatedir=3D/var/lib --libexecdir=3D/usr/libexec
=C2=A0--localstatedir= =3D/var/lib --infodir=3D/usr/share/info
=C2=A0--mandir=3D/usr/share/man = --with-libsystemd --with-pop=3Dyes
=C2=A0--enable-locallisppath=3D/etc/e= macs:/usr/local/share/emacs/29.3/site-lisp:/usr/local/share/emacs/site-lisp= :/usr/share/emacs/29.3/site-lisp:/usr/share/emacs/site-lisp
=C2=A0--with= -sound=3Dalsa --without-gconf --with-mailutils
=C2=A0--with-native-compi= lation --with-cairo --with-x=3Dyes
=C2=A0--with-x-toolkit=3Dgtk3 --with-= toolkit-scroll-bars 'CFLAGS=3D-g -O2
=C2=A0-fno-omit-frame-pointer -= mno-omit-leaf-frame-pointer
=C2=A0-ffile-prefix-map=3D/build/emacs-0yuuF= P/emacs-29.3+1=3D. -fstack-protector-strong
=C2=A0-fstack-clash-protecti= on -Wformat -Werror=3Dformat-security
=C2=A0-fcf-protection
=C2=A0-fd= ebug-prefix-map=3D/build/emacs-0yuuFP/emacs-29.3+1=3D/usr/src/emacs-1:29.3+= 1-1ubuntu2
=C2=A0-Wall' 'CPPFLAGS=3D-Wdate-time -D_FORTIFY_SOURC= E=3D3'
=C2=A0'LDFLAGS=3D-Wl,-Bsymbolic-functions -Wl,-z,relro= 9;'

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP= GNUTLS GPM GSETTINGS HARFBUZZ JPEG
JSON LCMS2 LIBOTF LIBSELINUX LIBSYST= EMD LIBXML2 M17N_FLT MODULES
NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG= SECCOMP SOUND SQLITE3
THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP= X11 XDBE XIM XINPUT2
XPM GTK3 ZLIB

Important settings:
=C2=A0= value of $LC_CTYPE: pt_BR.UTF-8
=C2=A0 value of $LC_MESSAGES: en_US.UTF= -8
=C2=A0 value of $LANG: en_US.UTF-8
=C2=A0 value of $XMODIFIERS: @i= m=3Dibus
=C2=A0 locale-coding-system: utf-8-unix

Major mode: Eshe= ll

Minor modes in effect:
=C2=A0 eshell-prompt-mode: t
=C2=A0 = eshell-hist-mode: t
=C2=A0 eshell-pred-mode: t
=C2=A0 eshell-cmpl-mod= e: t
=C2=A0 ess-r-package-mode: t
=C2=A0 shell-dirtrack-mode: t
= =C2=A0 global-company-mode: t
=C2=A0 company-mode: t
=C2=A0 pyvenv-mo= de: t
=C2=A0 eshell-proc-mode: t
=C2=A0 eshell-arg-mode: t
=C2=A0 = tooltip-mode: t
=C2=A0 global-eldoc-mode: t
=C2=A0 show-paren-mode: t=
=C2=A0 electric-indent-mode: t
=C2=A0 mouse-wheel-mode: t
=C2=A0 = tool-bar-mode: t
=C2=A0 menu-bar-mode: t
=C2=A0 file-name-shadow-mode= : t
=C2=A0 global-font-lock-mode: t
=C2=A0 font-lock-mode: t
=C2= =A0 blink-cursor-mode: t
=C2=A0 line-number-mode: t
=C2=A0 indent-tab= s-mode: t
=C2=A0 transient-mark-mode: t
=C2=A0 auto-composition-mode:= t
=C2=A0 auto-encryption-mode: t
=C2=A0 auto-compression-mode: t
=
Load-path shadows:
/home/m330625/.emacs.d/elpa/transient-20250108.13= 51/transient hides /usr/share/emacs/29.3/lisp/transient

Features:(shadow sort mail-extr emacsbug message yank-media puny dired
dired-loa= ddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config
gnus-util mm= -decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev
gmm-utils mail= header sendmail rfc2047 rfc2045 ietf-drums mm-util
mail-prsvr mail-utils= pcmpl-git vc-git vc-dispatcher pcmpl-unix em-unix
em-term term disp-tab= le ehelp em-script em-prompt em-ls em-hist em-pred
em-glob em-extpipe em= -cmpl em-dirs esh-var em-basic em-banner em-alias
esh-mode cus-start com= pany-oddmuse company-keywords company-etags
company-gtags company-dabbre= v-code company-dabbrev company-files
company-clang company-cmake company= -semantic company-template
company-bbdb spolsky-theme sublime-themes use= -package-core ob-R org ob
ob-tangle ob-ref ob-lob ob-table ob-exp org-ma= cro org-src ob-comint
org-pcomplete org-list org-footnote org-faces org-= entities ob-emacs-lisp
ob-core ob-eval org-cycle org-table ol org-fold o= rg-fold-core org-keys
oc org-loaddefs find-func cal-menu calendar cal-lo= addefs org-version
org-compat org-macs ess-r-mode ess-r-flymake ess-r-xr= ef ess-trns
ess-r-package ess-r-completion ess-roxy ess-r-syntax ess-rd = noutline
outline ess-s-lang ess-help ess-mode ess-inf ess-tracebug comp = comp-cstr
tramp tramp-loaddefs trampver tramp-integration tramp-compat s= hell
pcomplete parse-time iso8601 time-date format-spec ess lisp-mnt
= ess-utils ess-custom cl-extra yasnippet highlight-indentation
flymake-pr= oc flymake warnings thingatpt company-capf company help-fns
radix-tree h= elp-mode elpy advice elpy-rpc pyvenv eshell esh-cmd esh-ext
esh-opt esh-= proc esh-io esh-arg esh-module esh-groups esh-util
elpy-shell elpy-profi= le elpy-django s elpy-refactor diff-mode easy-mmode
python rx compat com= pat-30 treesit ido hideshow grep compile
text-property-search comint ans= i-osc ansi-color files-x etags fileloop
generator xref project ring cus-= edit pp cus-load icons wid-edit
finder-inf docker-autoloads aio-autoload= s docker-compose-mode-autoloads
dockerfile-mode-autoloads elpy-autoloads= company-autoloads ess-autoloads
highlight-indentation-autoloads magit-a= utoloads pcase
magit-section-autoloads dash-autoloads markdown-mode-auto= loads
s-autoloads sublime-themes-autoloads tablist-autoloads
transien= t-autoloads with-editor-autoloads info compat-autoloads
yaml-mode-autolo= ads yasnippet-autoloads zenburn-theme-autoloads package
browse-url url u= rl-proxy url-privacy url-expand url-methods url-history
url-cookie gener= ate-lisp-file url-domsuf url-util mailcap url-handlers
url-parse auth-so= urce cl-seq eieio eieio-core cl-macs password-cache
json subr-x map byte= -opt gv bytecomp byte-compile url-vars cl-loaddefs
cl-lib rmc iso-transl= tooltip cconv eldoc paren electric uniquify
ediff-hook vc-hooks lisp-fl= oat-type elisp-mode mwheel term/x-win x-win
term/common-win x-dnd tool-b= ar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment= text-mode lisp-mode prog-mode register
page tab-bar menu-bar rfn-eshado= w isearch easymenu timer select
scroll-bar mouse jit-lock font-lock synt= ax font-core term/tty-colors
frame minibuffer nadvice seq simple cl-gene= ric indonesian philippine
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 composit= e emoji-zwj charscript
charprop case-table epa-hook jka-cmpr-hook help a= bbrev obarray oclosure
cl-preloaded button loaddefs theme-loaddefs faces= cus-face macroexp
files window text-properties overlay sha1 md5 base64 = format env
code-pages mule custom widget keymap hashtable-print-readable= backquote
threads dbusbind inotify lcms2 dynamic-setting system-font-se= tting
font-render-setting cairo move-toolbar gtk x-toolkit xinput2 x mul= ti-tty
make-network-process native-compile emacs)

Memory informat= ion:
((conses 16 523538 25388)
=C2=A0(symbols 48 31912 0)
=C2=A0(s= trings 32 165201 5888)
=C2=A0(string-bytes 1 4496381)
=C2=A0(vectors = 16 53553)
=C2=A0(vector-slots 8 957247 27531)
=C2=A0(floats 8 226 288= )
=C2=A0(intervals 56 948 411)
=C2=A0(buffers 984 16))


--
Daniel de Cast= ro Victoria
Pesquisador
Embrapa Agricultura Digital
Empresa Brasil= eira de Pesquisa Agropecu=C3=A1ria (Embrapa)
Campinas/SP

__________________________
Aviso de confidencialidade

Esta mensag= em da Empresa=C2=A0 Brasileira de Pesquisa=C2=A0 Agropecuaria (Embrapa), em= presa publica federal=C2=A0 regida pelo disposto=C2=A0 na Lei Federal no. 5= .851,=C2=A0 de 7 de dezembro de 1972,=C2=A0 e=C2=A0 enviada exclusivamente= =C2=A0 a seu destinatario e pode conter informacoes=C2=A0 confidenciais, pr= otegidas=C2=A0 por sigilo profissional.=C2=A0 Sua utilizacao desautorizada= =C2=A0 e ilegal e=C2=A0 sujeita o infrator as penas da lei. Se voce=C2=A0 a= recebeu indevidamente, queira, por gentileza, reenvia-la ao emitente, escl= arecendo o equivoco.

Confidentiality note

This message from E= mpresa=C2=A0 Brasileira de Pesquisa=C2=A0 Agropecuaria (Embrapa), a governm= ent company=C2=A0 established under=C2=A0 Brazilian law (5.851/72), is dire= cted exclusively to=C2=A0 its addressee=C2=A0 and may contain confidential = data,=C2=A0 protected under=C2=A0 professional secrecy=C2=A0 rules. Its una= uthorized=C2=A0 use is illegal and=C2=A0 may subject the transgressor to th= e law's penalties. If you are not the addressee, please send it back, e= lucidating the failure.
--00000000000098d7fe0631565b24-- From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 28 06:58:25 2025 Received: (at 77318) by debbugs.gnu.org; 28 Mar 2025 10:58:26 +0000 Received: from localhost ([127.0.0.1]:53046 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ty7Pt-0003iU-GS for submit@debbugs.gnu.org; Fri, 28 Mar 2025 06:58:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42498) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ty7Pr-0003iH-Di for 77318@debbugs.gnu.org; Fri, 28 Mar 2025 06:58:24 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ty7Pl-00058f-0C; Fri, 28 Mar 2025 06:58:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=atzyxCVtLT5vn0A+zWsLLlZu2fDz5uZvC2421VWN41w=; b=SS4Difec2apr Wl5G+YChgwLyzmV21nPuVWMgHPM74s9W8Ul1bjeSlrZn6Uh1MonxAcVPhJruLdGmIrweGnfjJZAoo 7VX1KsFrNzfMp1wq0fMQ899y+Rjjeq4p6uhaRhnQP3JJPn6LpviKW4LNJN4huKsBfn7GgFq6CQJyO UPeJxOQXpUOD0G4YO8LRHEQp+NDpL62jWnSt8R/YLG7CDy4p4w8/SXp7T6FsNliDyBvHp2PHryiqB yXZDTZ+29FhBclpHgoJO2XSESJngIFgwQGh0mWAwgZpDtoWI9nsfaQjXAnNwcNSlF4NpSHZgcAcSk GLc3va+Jir1exG8bhJsa2Q==; Date: Fri, 28 Mar 2025 13:58:13 +0300 Message-Id: <86v7rta0ca.fsf@gnu.org> From: Eli Zaretskii To: Daniel de Castro Victoria , jporterbugs@gmail.com In-Reply-To: (bug-gnu-emacs@gnu.org) Subject: Re: bug#77318: 29.3; Emacs eshell password prompt is in clear text References: X-Spam-Score: -1.8 (-) X-Debbugs-Envelope-To: 77318 Cc: 77318@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.8 (--) > Date: Thu, 27 Mar 2025 14:33:42 -0300 > From: Daniel de Castro Victoria via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > While using eshell to issue some git commands I noticed that the password prompt is not masking the > characters. My passwords appear as clear text. Bellow is a copy/paste from my eshell terminal (I just masked > some info) > > ------- > Welcome to the Emacs shell > > ~ $ cd projetos > ~/projetos $ cd zoneamento/modelos/rAgS/ > ~/projetos/zoneamento/modelos/rAgS $ git status > On branch interface > Your branch is up to date with 'origin/interface'. > > nothing to commit, working tree clean > ~/projetos/zoneamento/modelos/rAgS $ git fetch > Username for 'https://www.gitlab.xxxxx.xxxxxx.br': mXXXXX > Password for 'https://mXXXXX@www.gitlab.xxxxx.xxxxxxx.br': my pass is clearText > -------------------- > > I found this discussion on the email archives but I'm not sure how to make the changes. I'm new emacs user > > https://lists.gnu.org/archive/html/help-gnu-emacs/2014-01/msg00569.html Jim, any comments? From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 28 08:10:46 2025 Received: (at 77318) by debbugs.gnu.org; 28 Mar 2025 12:10:46 +0000 Received: from localhost ([127.0.0.1]:53201 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ty8Xt-0001id-4q for submit@debbugs.gnu.org; Fri, 28 Mar 2025 08:10:46 -0400 Received: from mail-qk1-x72d.google.com ([2607:f8b0:4864:20::72d]:54632) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1ty86M-0000OI-T2 for 77318@debbugs.gnu.org; Fri, 28 Mar 2025 07:42:20 -0400 Received: by mail-qk1-x72d.google.com with SMTP id af79cd13be357-7c081915cf3so285320985a.1 for <77318@debbugs.gnu.org>; Fri, 28 Mar 2025 04:42:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embrapa.br; s=google; t=1743162133; x=1743766933; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=xrlENmOY+uMV/LUrL1vEtg44XpECDWnW1zqf2eMmFfY=; b=R72nOxpJNcJt/4scSo/NOPFckUoJzpeXbllPt4PfKjgfDBaa5xL7QDfhEuznAc/j9F nwxBeDkw24Dp5wgZ+leBSWVZZBvRUEE67uL5MLZMEFz3K/qi9SHO6qd/lsag+j+EAvnR IaNzAx2ISZbso71U27vzXQpRKFkf9nBMvZQbMYOgzQTax6gd6OQyvd6TfKuusN2DEHN2 FKihn6eLvBJuzq26pui0FQB9aq4whCMrRaYM8Odqu0Wr0kfOv//uFKp2udwu61nHQcp+ 4uzn4xs2C6E6zrQExqHH7uQWJ9Z+i8aPoFkI2CfRiRooFkKQ96N3p1qVb5A4nIF0u9rJ 9/uQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743162133; x=1743766933; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=xrlENmOY+uMV/LUrL1vEtg44XpECDWnW1zqf2eMmFfY=; b=NuyWwioDAIKR8c78v4Usx3PywUfTcLc5v5vDq/vexrjNn/K1N6T+FWGhjdpoiSrzdJ VAwc3yYGySxJXui3MPTegFOhDcmcQ+ZCk8WG2aIGWT716M2klEFqluNj5QzD/MHympP4 aFxLMxRLcfAk3oQiA5U1qsBIrsxAJdX7dwc3bejfWlY1mvQ/q56OzBhXPhXNQ3eDFmgM CjT+n+TIxs79V3Vv2d/Ut4r8hdrB2+++YyIl0BrQyYgxeValB91U0bidxswYj5BuwvoO 5Pni14mfnTc3BUgsxmAZ/14RZazxcMzK27E9V2sCyhs9K/uOMmqwHQN4D57kF4lqMT0k f1hA== X-Forwarded-Encrypted: i=1; AJvYcCWz1LpwYvriw1rJAziVU+eWz5NBSFRad6D87oYoGBty/T6awSZvgDySfxGALi3w8aYYym53yg==@debbugs.gnu.org X-Gm-Message-State: AOJu0YyXv6PzaAGw7jZZcj6Y5cWWMB3/exb3h5zDu9455ThyBx04Pd70 9QIJ/JONYZ8ki5HAtspky2Ub8HWYK3G7h2lrApIizGab9xohaz29pydHeX9oUi7iGPTS9maF5rj 3cXoWS6kN3uUnsNKB2bd+OHBChO+pzPleSjq2sktuNIiQvu8uo2vFvuej1W/M4OHjWwnAY8pU1K ILLIZtnjxtzP0rWSsCZPkmhw== X-Gm-Gg: ASbGnctG2zLzPhCVK5qOqFNbefF/vKNSH+DQdxogafth1G4+dT+9Z+dyeCA60MXixxw l9QU8SlDJHqE7Ae0Q0b8FGtzzViWuNylCuqf85iBcquk5KtouDOG9JXXC5iwmI+TCLg2IQiMMLe iZFBas/EcjNh9cMKcGCgQWpIZo X-Google-Smtp-Source: AGHT+IEKt7y7AD7RQ7LD9mAAy6duMWKq4fGwnTn+8DQIec9tgM2Cq1lSEp6bq+841qfHLdXmtd+Z7K9RLoqcg3JtUv0= X-Received: by 2002:a05:620a:172c:b0:7c5:46d0:a77f with SMTP id af79cd13be357-7c5ed9f8642mr865368085a.16.1743162132748; Fri, 28 Mar 2025 04:42:12 -0700 (PDT) MIME-Version: 1.0 References: <86v7rta0ca.fsf@gnu.org> In-Reply-To: <86v7rta0ca.fsf@gnu.org> From: Daniel de Castro Victoria Date: Fri, 28 Mar 2025 08:42:01 -0300 X-Gm-Features: AQ5f1Jp4snHr1rRzHZPEVeut-5D4AnPae4EKEQfxka_zMBiZkOk0PJ85jRR7nvI Message-ID: Subject: Re: bug#77318: 29.3; Emacs eshell password prompt is in clear text To: Eli Zaretskii Content-Type: multipart/alternative; boundary="000000000000b574440631658f18" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 77318 X-Mailman-Approved-At: Fri, 28 Mar 2025 08:10:43 -0400 Cc: jporterbugs@gmail.com, 77318@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: -0.5 (/) --000000000000b574440631658f18 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I just found out where esh-mode.el lives in my system. It's in /usr/share/emacs/29.3/lisp/eshell/esh-mode.el.gz Here is what what I believe the relevant part: ``` (...) (defcustom eshell-password-prompt-regexp (format "\\(%s\\)[^:=EF=BC=9A=E1=9F=96]*[:=EF=BC=9A=E1=9F=96]\\s *\\'" (r= egexp-opt password-word-equivalents)) "Regexp matching prompts for passwords in the inferior process. This is used by `eshell-watch-for-password-prompt'." :type 'regexp :version "27.1") (...) ``` Unfortunately, I could not find out where `password-word-equivalents` is defined. On Fri, Mar 28, 2025 at 7:58=E2=80=AFAM Eli Zaretskii wrote: > > Date: Thu, 27 Mar 2025 14:33:42 -0300 > > From: Daniel de Castro Victoria via "Bug reports for GNU Emacs, > > the Swiss army knife of text editors" > > > > While using eshell to issue some git commands I noticed that the > password prompt is not masking the > > characters. My passwords appear as clear text. Bellow is a copy/paste > from my eshell terminal (I just masked > > some info) > > > > ------- > > Welcome to the Emacs shell > > > > ~ $ cd projetos > > ~/projetos $ cd zoneamento/modelos/rAgS/ > > ~/projetos/zoneamento/modelos/rAgS $ git status > > On branch interface > > Your branch is up to date with 'origin/interface'. > > > > nothing to commit, working tree clean > > ~/projetos/zoneamento/modelos/rAgS $ git fetch > > Username for 'https://www.gitlab.xxxxx.xxxxxx.br': mXXXXX > > Password for 'https://mXXXXX@www.gitlab.xxxxx.xxxxxxx.br': my pass is > clearText > > -------------------- > > > > I found this discussion on the email archives but I'm not sure how to > make the changes. I'm new emacs user > > > > https://lists.gnu.org/archive/html/help-gnu-emacs/2014-01/msg00569.html > > Jim, any comments? > --=20 __________________________ Aviso de confidencialidade Esta mensagem da=20 Empresa=C2=A0 Brasileira de Pesquisa=C2=A0 Agropecuaria (Embrapa), empresa = publica=20 federal=C2=A0 regida pelo disposto=C2=A0 na Lei Federal no. 5.851,=C2=A0 de= 7 de dezembro=20 de 1972,=C2=A0 e=C2=A0 enviada exclusivamente=C2=A0 a seu destinatario e po= de conter=20 informacoes=C2=A0 confidenciais, protegidas=C2=A0 por sigilo profissional.= =C2=A0 Sua=20 utilizacao desautorizada=C2=A0 e ilegal e=C2=A0 sujeita o infrator as penas= da lei.=20 Se voce=C2=A0 a recebeu indevidamente, queira, por gentileza, reenvia-la ao= =20 emitente, esclarecendo o equivoco. Confidentiality note This message from=20 Empresa=C2=A0 Brasileira de Pesquisa=C2=A0 Agropecuaria (Embrapa), a govern= ment=20 company=C2=A0 established under=C2=A0 Brazilian law (5.851/72), is directed= =20 exclusively to=C2=A0 its addressee=C2=A0 and may contain confidential data,= =C2=A0=20 protected under=C2=A0 professional secrecy=C2=A0 rules. Its unauthorized=C2= =A0 use is=20 illegal and=C2=A0 may subject the transgressor to the law's penalties. If y= ou=20 are not the addressee, please send it back, elucidating the failure. --000000000000b574440631658f18 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I j= ust found out where esh-mode.el lives in my system. It's in /usr/share/= emacs/29.3/lisp/eshell/esh-mode.el.gz

Here is what what I believe the relevant part:

```
(...)
(defcustom eshell-password-prompt-regexp
=C2=A0 (format &= quot;\\(%s\\)[^:=EF=BC=9A=E1=9F=96]*[:=EF=BC=9A=E1=9F=96]\\s *\\'"= (regexp-opt password-word-equivalents))
=C2=A0 "Regexp matching pr= ompts for passwords in the inferior process.
This is used by `eshell-wat= ch-for-password-prompt'."
=C2=A0 :type 'regexp
=C2=A0 :v= ersion "27.1")
(...)
```

= Unfortunately, I could not find out where `password-word-equivalents` is de= fined.


On Fri, = Mar 28, 2025 at 7:58=E2=80=AFAM Eli Zaretskii <eliz@gnu.org> wrote:
> Date: Thu, 27 Mar 2025 14:33:42 -= 0300
> From:=C2=A0 Daniel de Castro Victoria via "Bug reports for GNU Em= acs,
>=C2=A0 the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
>
> While using eshell to issue some git commands I noticed that the passw= ord prompt is not masking the
> characters. My passwords appear as clear text. Bellow is a copy/paste = from my eshell terminal (I just masked
> some info)
>
> -------
> Welcome to the Emacs shell
>
> ~ $ cd projetos
> ~/projetos $ cd zoneamento/modelos/rAgS/
> ~/projetos/zoneamento/modelos/rAgS $ git status
> On branch interface
> Your branch is up to date with 'origin/interface'.
>
> nothing to commit, working tree clean
> ~/projetos/zoneamento/modelos/rAgS $ git fetch
> Username for 'https://www.gitlab.xxxxx.xxxxxx.br= 9;: mXXXXX
> Password for 'https://mXXXXX@www.gitlab.xxxxx.xxx= xxxx.br': my pass is clearText
> --------------------
>
> I found this discussion on the email archives but I'm not sure how= to make the changes. I'm new emacs user
>
> https://lists.gnu.org/ar= chive/html/help-gnu-emacs/2014-01/msg00569.html

Jim, any comments?

__________________________
Aviso de confidencialidade

Esta mensag= em da Empresa=C2=A0 Brasileira de Pesquisa=C2=A0 Agropecuaria (Embrapa), em= presa publica federal=C2=A0 regida pelo disposto=C2=A0 na Lei Federal no. 5= .851,=C2=A0 de 7 de dezembro de 1972,=C2=A0 e=C2=A0 enviada exclusivamente= =C2=A0 a seu destinatario e pode conter informacoes=C2=A0 confidenciais, pr= otegidas=C2=A0 por sigilo profissional.=C2=A0 Sua utilizacao desautorizada= =C2=A0 e ilegal e=C2=A0 sujeita o infrator as penas da lei. Se voce=C2=A0 a= recebeu indevidamente, queira, por gentileza, reenvia-la ao emitente, escl= arecendo o equivoco.

Confidentiality note

This message from E= mpresa=C2=A0 Brasileira de Pesquisa=C2=A0 Agropecuaria (Embrapa), a governm= ent company=C2=A0 established under=C2=A0 Brazilian law (5.851/72), is dire= cted exclusively to=C2=A0 its addressee=C2=A0 and may contain confidential = data,=C2=A0 protected under=C2=A0 professional secrecy=C2=A0 rules. Its una= uthorized=C2=A0 use is illegal and=C2=A0 may subject the transgressor to th= e law's penalties. If you are not the addressee, please send it back, e= lucidating the failure.
--000000000000b574440631658f18-- From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 28 18:04:33 2025 Received: (at 77318) by debbugs.gnu.org; 28 Mar 2025 22:04:33 +0000 Received: from localhost ([127.0.0.1]:55818 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tyHoX-0002CR-0w for submit@debbugs.gnu.org; Fri, 28 Mar 2025 18:04:33 -0400 Received: from mail-pl1-x632.google.com ([2607:f8b0:4864:20::632]:43173) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tyHoT-0002C8-Us for 77318@debbugs.gnu.org; Fri, 28 Mar 2025 18:04:31 -0400 Received: by mail-pl1-x632.google.com with SMTP id d9443c01a7336-225df540edcso74274295ad.0 for <77318@debbugs.gnu.org>; Fri, 28 Mar 2025 15:04:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1743199463; x=1743804263; darn=debbugs.gnu.org; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=QgoogXDobvYdQzA3A4PXLQQ8USYSP7f0bGtihA3xb3M=; b=BzYBmds5gPCdKjKieuVWleQuodbnzPF2qipWPqnlXDYwhmD9xDFzdgq30EWycbXbG2 aveLcng58sSTB2s2ki3mHsVPDeGAGRsk3tx48wyBtzWgr1w3dnawcF9xFwt+93WKNbRN pROi0Zh9+wJuP3tvSEi83B8CIh4q43xkPUFaGgGtk8ZGZe+V97Yue6F50AhPS7hceI2W PvWQCJGC1lG4LJAFSj0qi50vxyTeaOzkK1X47zkVO77HglPwQNGSjc1QUTVPM5HDj7Zd WJPTMagqdIZFffVJflbLUnonzAodaMQBRRo4sy4CpvBpbCCAW+3fVURzkQH4FsRlh/I/ CZgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743199463; x=1743804263; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=QgoogXDobvYdQzA3A4PXLQQ8USYSP7f0bGtihA3xb3M=; b=FxmmeMM90TAflkzKi8LLWX+A+pcwa04YHd6PT/qhr6ZvydYqSMMz1IYJwwnBuXn1jR 6CraCOk/VsaKAj1o5AJf4VDLOsmFEQrfZnIsZJQoz0UWWRHv3RLYwpfyCOi9lDWKyEIy XZXrF2CnPBeVIaptzPlgYmknuKQGjQtiGvyfRqv13k+G5RSvaDM3kn0mGZw04dx7J5z+ Sdosy3kdaxU44R99ie3/O7ov3kcg064Xlu5g7XlrglYVCgbKwcKpuApuuvqc3jRa/x3C RXbH7SuKUnZq8W6eUF7nawP5NqHLSZaOD/DhLzwdcA08z8bv4ZE98ut8obxCwDJ+FSnU 8HZQ== X-Forwarded-Encrypted: i=1; AJvYcCXXsq+PI3erTOFo1Oy5044OVY7kMsSQ+Q7ZmM96m/w3Ztk9WzaEFgdsX5xOMhIrXrErxfW6CA==@debbugs.gnu.org X-Gm-Message-State: AOJu0YzDRbtVF4sUSc/lxMoaAMcBxY7vjc78EaHaGk27LEP/gfN4Z+Bp v+sKJ5hzpR50uHFT21k/4qPdJ5Wq4miu2a/KfCZXPD7acAZXVUiR X-Gm-Gg: ASbGncuu0Sp9nDT0HIMj+qrf9gxAuSChOC5BvcqH1FMXs6Is1MBD4ugnmtcGoBYgNeg 3qT2oU8kzOERbV8GHgdWFu9RS2e6919epWs/Q/CsBxBeflnYySKarwxl28Cko5F+q81Megoq+A1 3EyYenz+cFi5T9uP1Yqobcd1fT+Gelo/TpX7uCzy4EN1U5VDfeUDcbKdZd4EpfVKkTwu+lTfJXS kvAEIsgmafs5enaDU/jo2vt8e2hc1U5BM6pHkpRjbH4CFeFbZ7S1rzIasYW0EKGQ5u57suWlsu8 PnMq+aL34cnQd1ow2qY6thRCbEgnFMgnVX0hV0BFYlL7wlm2goFKWSZDgAC4Ng43USyTkdc6wXi bEjaV0jaSJ5bnqhiolhgmRdMz X-Google-Smtp-Source: AGHT+IE5AwoHIaODvaxdvmHJIy989ApUB4FvNnl+FsCA3PznI0iqp1o4ddxkeZY7SSeKTQhi+zUWJw== X-Received: by 2002:a17:90b:4ecf:b0:2fe:b907:5e5a with SMTP id 98e67ed59e1d1-3051c8c0fd6mr6830626a91.10.1743199463405; Fri, 28 Mar 2025 15:04:23 -0700 (PDT) Received: from [192.168.1.2] (syn-023-240-109-202.res.spectrum.com. [23.240.109.202]) by smtp.googlemail.com with ESMTPSA id 98e67ed59e1d1-3039f6b633bsm4741000a91.43.2025.03.28.15.04.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 28 Mar 2025 15:04:22 -0700 (PDT) Message-ID: <90031e3a-e2f8-9e17-441e-fbfffc739275@gmail.com> Date: Fri, 28 Mar 2025 15:04:22 -0700 MIME-Version: 1.0 Subject: Re: bug#77318: 29.3; Emacs eshell password prompt is in clear text Content-Language: en-US To: Daniel de Castro Victoria , 77318@debbugs.gnu.org References: From: Jim Porter In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 77318 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 3/27/2025 10:33 AM, Daniel de Castro Victoria via Bug reports for GNU Emacs, the Swiss army knife of text editors wrote: > While using eshell to issue some git commands I noticed that the > password prompt is not masking the characters. My passwords appear as > clear text. Bellow is a copy/paste from my eshell terminal (I just > masked some info) The easiest fix would probably be something like this: (setq eshell-password-prompt-regexp comint-password-prompt-regexp) I'm not sure why Eshell and Comint have such different password prompt regexps; that was before my time. If there are no objections in the next few days, I can make a change like the above on the master branch.