From unknown Sun Jun 15 08:58:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#78310: 30.1; icomplete-mode interferes with epg's loopback pinentry mode when using encypted authinfo Resent-From: "Oliver J. Mead" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 08 May 2025 06:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 78310 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 78310@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.174668555332650 (code B ref -1); Thu, 08 May 2025 06:26:01 +0000 Received: (at submit) by debbugs.gnu.org; 8 May 2025 06:25:53 +0000 Received: from localhost ([127.0.0.1]:52792 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uCuhb-0008UO-3i for submit@debbugs.gnu.org; Thu, 08 May 2025 02:25:53 -0400 Received: from lists.gnu.org ([2001:470:142::17]:40398) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uCn3w-00035R-MO for submit@debbugs.gnu.org; Wed, 07 May 2025 18:16:27 -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 1uCn3o-0006W0-I5 for bug-gnu-emacs@gnu.org; Wed, 07 May 2025 18:16:16 -0400 Received: from olivermead.xyz ([2a02:1348:ffff:ffff::6d6b:2469]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uCn3l-0005n0-Bg for bug-gnu-emacs@gnu.org; Wed, 07 May 2025 18:16:16 -0400 From: "Oliver J. Mead" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=olivermead.xyz; s=mail; t=1746656167; bh=JEUlugzZYgorHXEzvBRJeik3CSfixf4457KpDtkNUcQ=; h=From:To:Subject:Date:From; b=Kr8KJwWW/855yJLYd+hPpcLdeyEWpOPvYvw35QxOWjtQqB960xfrIRuDh3hgrI+FW ry0Yh0VczhTrRT/1XQ+dHOPzJKUQT5V3GDyw4mHJp8ogKGXYfk9cRoSl4eiDkqXVaG dU5IJ8/C+jgZkjPGUEirfb4F3aN8BhbQdWjMzWlLvAXL418tjqpAh/GAyMzBQDK4cf 6BngFO7629tISpyNi4JAPrHWirHlRYbcE5LbUV5uEJhKc24bfONT7YeWBjEzseuiHo d7+etNswiCzig5KUqPUMh7pZR+DFXvZd6VXAc3pf7bPgyJzN6KgqximK+4W0VyXTwZ qvMNcY6VziNZQ== Date: Wed, 07 May 2025 23:15:56 +0100 Message-ID: <87bjs43w4j.fsf@olivermead.xyz> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a02:1348:ffff:ffff::6d6b:2469; envelope-from=olivermead@olivermead.xyz; helo=olivermead.xyz X-Spam_score_int: 4 X-Spam_score: 0.4 X-Spam_bar: / X-Spam_report: (0.4 / 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, FROM_SUSPICIOUS_NTLD=0.499, FROM_SUSPICIOUS_NTLD_FP=0.001, PDS_OTHER_BAD_TLD=1.999, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 3.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: ~/.authinfo.gpg exists, and corresponding keys exist with gnupg to decrypt it, the relevant private key does have a password. start emacs with 'emacs -Q', execute: ``` (set 'epg-pinentry-mode 'loopback) (icomplete-mode 1) ``` Type 'C-x C-f /ssh:'. In the minibuffer appears the prompt 'Password for [GPG KEY]: '. Content analysis details: (3.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.9 SPF_FAIL SPF: sender does not match SPF record (fail) [SPF failed: Please see http://www.openspf.org/Why?s=mfrom; id=olivermead%40olivermead.xyz; ip=2001%3A470%3A142%3A%3A17; r=debbugs.gnu.org] 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: olivermead.xyz (xyz)] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.0 FROM_SUSPICIOUS_NTLD_FP From abused NTLD 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD X-Mailman-Approved-At: Thu, 08 May 2025 02:25:48 -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: 2.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: ~/.authinfo.gpg exists, and corresponding keys exist with gnupg to decrypt it, the relevant private key does have a password. start emacs with 'emacs -Q', execute: ``` (set 'epg-pinentry-mode 'loopback) (icomplete-mode 1) ``` Type 'C-x C-f /ssh:'. In the minibuffer appears the prompt 'Password for [GPG KEY]: '. Content analysis details: (2.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.9 SPF_FAIL SPF: sender does not match SPF record (fail) [SPF failed: Please see http://www.openspf.org/Why?s=mfrom;id=olivermead%40olivermead.xyz;ip=2001%3A470%3A142%3A%3A17;r=debbugs.gnu.org] 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: olivermead.xyz (xyz)] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager ~/.authinfo.gpg exists, and corresponding keys exist with gnupg to decrypt it, the relevant private key does have a password. start emacs with 'emacs -Q', execute: ``` (set 'epg-pinentry-mode 'loopback) (icomplete-mode 1) ``` Type 'C-x C-f /ssh:'. In the minibuffer appears the prompt 'Password for [GPG KEY]: '. At this point the expected behaviour is for this epg prompt to accept the user's password input, decrypt the authinfo file and carry on with the TRAMP path entry. Attempting to input the password results in: - Each character entered switches the minibuffer between displaying the epg prompt and displaying the 'find-file' prompt. - Each character entered when the 'find-file' prompt is visible is added to that prompt's input. - No characters appear to be added to the epg prompt - no '*'s appear before the cursor. For example, if the user types '1234567890abcdefg' then the 'find-file' prompt will be displayed, with the text '~//ssh:24680bdf' entered. That's every other character of a password in plain text on the screen and nothing useful going on. I have found a work-around for this issue: Type any character into the epg prompt when it appears (this character will neither end up in the epg prompt nor the 'find-file' prompt), then TAB when the 'find-file' prompt returns. The epg prompt reappears and the password can be typed as normal from this point. In GNU Emacs 30.1 (build 2, x86_64-pc-linux-gnu, X toolkit, cairo version 1.18.4, Xaw3d scroll bars) Repository revision: 7e1ec134828a479c748d725f9cc528c08d4bb710 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101016 System Description: Arch Linux Configured using: 'configure --sysconfdir=/etc --prefix=/usr --libexecdir=/usr/lib --with-tree-sitter --localstatedir=/var --disable-build-details --with-modules --with-x-toolkit=lucid --without-gconf --without-gsettings '--program-transform-name=s/^ctags$/ctags.emacs/' 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt' CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM HARFBUZZ JPEG LCMS2 LIBOTF LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XAW3D XDBE XIM XINPUT2 XPM LUCID ZLIB Important settings: value of $LANG: en_GB-UTF.8 locale-coding-system: utf-8-unix Major mode: Circe Channel Minor modes in effect: fido-vertical-mode: t icomplete-vertical-mode: t icomplete-mode: t fido-mode: t global-emojify-mode: t emojify-mode: t doom-modeline-mode: t pdf-occur-global-minor-mode: t pyvenv-mode: t sly-symbol-completion-mode: t tracking-mode: t which-key-mode: t global-git-commit-mode: t magit-auto-revert-mode: t server-mode: t cursor-intangible-mode: t global-devil-mode: t devil-mode: t global-undo-tree-mode: t undo-tree-mode: t global-flycheck-mode: t flycheck-mode: t global-company-mode: t company-mode: t yas-global-mode: t yas-minor-mode: t override-global-mode: t recentf-mode: t global-display-line-numbers-mode: t display-time-mode: t global-auto-revert-mode: t save-place-mode: t savehist-mode: t repeat-mode: t windmove-mode: t display-battery-mode: t minibuffer-depth-indicate-mode: t winner-mode: t xterm-mouse-mode: t auto-insert-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 minibuffer-regexp-mode: t line-number-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: /home/olivermead/.emacs.d/elpa/which-key-20240620.2145/which-key hides /usr/share/emacs/30.1/lisp/which-key /home/olivermead/.emacs.d/elpa/transient-20250501.846/transient hides /usr/share/emacs/30.1/lisp/transient /home/olivermead/.emacs.d/elpa/bind-key-20230203.2004/bind-key hides /usr/share/emacs/30.1/lisp/bind-key /home/olivermead/.emacs.d/elpa/use-package-20230426.2324/use-package hides /usr/share/emacs/30.1/lisp/use-package/use-package /home/olivermead/.emacs.d/elpa/use-package-20230426.2324/use-package-lint hides /usr/share/emacs/30.1/lisp/use-package/use-package-lint /home/olivermead/.emacs.d/elpa/use-package-20230426.2324/use-package-jump hides /usr/share/emacs/30.1/lisp/use-package/use-package-jump /home/olivermead/.emacs.d/elpa/use-package-20230426.2324/use-package-ensure hides /usr/share/emacs/30.1/lisp/use-package/use-package-ensure /home/olivermead/.emacs.d/elpa/use-package-20230426.2324/use-package-diminish hides /usr/share/emacs/30.1/lisp/use-package/use-package-diminish /home/olivermead/.emacs.d/elpa/use-package-20230426.2324/use-package-delight hides /usr/share/emacs/30.1/lisp/use-package/use-package-delight /home/olivermead/.emacs.d/elpa/use-package-20230426.2324/use-package-core hides /usr/share/emacs/30.1/lisp/use-package/use-package-core /home/olivermead/.emacs.d/elpa/use-package-20230426.2324/use-package-bind-key hides /usr/share/emacs/30.1/lisp/use-package/use-package-bind-key /home/olivermead/.emacs.d/elpa/eglot-20221020.1010/eglot hides /usr/share/emacs/30.1/lisp/progmodes/eglot /home/olivermead/.emacs.d/elpa/track-changes-1.4/track-changes hides /usr/share/emacs/30.1/lisp/emacs-lisp/track-changes Features: (vc-hg vc-git vc-bzr vc-dispatcher conf-mode rfc2104 tramp-cmds ido cl-print tramp-cache time-stamp tramp-sh shortdoc shadow sort mixed-pitch mail-extr cus-start icomplete mule-util emacsbug circe-notifications alert log4e gntp epa-file lui-track-bar lui-track pulse paredit rainbow-delimiters company-oddmuse company-keywords company-etags company-gtags company-dabbrev-code company-dabbrev company-files company-clang company-capf company-cmake company-semantic company-bbdb emojify tar-mode notifications doom-modeline doom-modeline-segments doom-modeline-env doom-modeline-core shrink-path nerd-icons nerd-icons-faces nerd-icons-data nerd-icons-data-mdicon nerd-icons-data-flicon nerd-icons-data-codicon nerd-icons-data-devicon nerd-icons-data-sucicon nerd-icons-data-wicon nerd-icons-data-faicon nerd-icons-data-powerline nerd-icons-data-octicon nerd-icons-data-pomicon nerd-icons-data-ipsicon pdf-occur ibuf-ext ibuffer ibuffer-loaddefs tablist advice tablist-filter semantic/wisent/comp semantic/wisent semantic/wisent/wisent pdf-isearch let-alist pdf-misc pdf-loader pdf-tools pdf-view jka-compr pdf-cache pdf-info pdf-util pdf-macs image-mode exif ox-pandoc ox-org ox-extra ox-odt rng-loc rng-uri rng-parse rng-match rng-pttrn nxml-parse nxml-ns nxml-enc xmltok nxml-util ox-latex ox-icalendar org-agenda ox-html table ox-ascii ox-publish ox org-attach org-element org-persist org-id org-refile org-element-ast avl-tree org-contrib doom-themes-ext-org doom-themes-ext-treemacs doom-themes-ext-neotree doom-themes-ext-visual-bell doom-gruvbox-light-theme doom-themes doom-themes-base zig-mode reformatter company-jedi jedi-core python-environment epc ctable concurrent deferred pyvenv company-irony company-template irony-completion irony-snippet irony irony-iotask geiser-guile info-look geiser-debug geiser-repl geiser-image geiser-capf geiser-doc geiser-menu geiser-autodoc geiser-edit geiser-completion geiser-eval geiser-connection geiser-syntax scheme geiser-impl help-fns radix-tree geiser-log geiser-popup view geiser-custom geiser-base racket-mode racket-input quail racket-bug-report cus-edit cus-load racket-lisp-mode racket-collection tq racket-repl-buffer-name racket-stepper racket-shell racket-logger racket-profile racket-package racket-smart-open racket-xp racket-xp-complete racket-imenu racket-edit hideshow racket-repl semantic/symref/grep grep semantic/symref semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local cedet racket-show racket-eldoc racket-scribble-anchor racket-describe racket-scribble racket-visit shr pixel-fill kinsoku url-file svg dom racket-complete racket-common racket-parens racket-indent racket-font-lock racket-ppss racket-keywords-and-builtins racket-doc racket-browse-url racket-cmd racket-back-end racket-util racket-custom geiser sly sly-completion sly-buttons sly-messages sly-common apropos etags fileloop arc-mode archive-mode hyperspec lsp-mode lsp-protocol xref spinner network-stream markdown-mode lv inline ht ewoc bnf-mode format-all language-id inheritenv circe-color-nicks circe lui-irc-colors irc gnutls lcs lui-logging lui-format lui tracking shorten flyspell ispell circe-compat ivy-pass ivy ivy-faces colir password-store-otp pass f dash s password-store auth-source-pass which-key magit-bookmark magit-submodule 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-mode track-changes git-commit log-edit message sendmail yank-media rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util mailabbrev gmm-utils pcvs-util add-log magit-core magit-autorevert magit-margin magit-transient magit-process with-editor server magit-mode transient benchmark magit-git magit-base magit-section cursor-sensor crm llama compat debbugs soap-client mm-decode mm-bodies mm-encode url-http url-auth mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr url-gw nsm puny rng-xsd rng-dt rng-util xsd-regexp debbugs-compat devil edmacro kmacro undo-tree diff queue zone-tmux-clock zone vterm-tmux multi-vterm vterm bookmark face-remap compile text-property-search color term disp-table ehelp vterm-module term/xterm xterm flycheck company yasnippet-snippets yasnippet exec-path-from-shell simple-httpd pp webpaste request mailheader mail-utils use-package use-package-ensure use-package-delight use-package-diminish use-package-bind-key bind-key easy-mmode use-package-core finder-inf project dired-x dired dired-loaddefs tramp trampver tramp-integration tramp-message tramp-compat xdg shell parse-time iso8601 tramp-loaddefs recentf tree-widget wid-edit display-line-numbers time autorevert filenotify saveplace savehist repeat windmove battery dbus xml mb-depth winner comp comp-cstr cl-extra help-mode warnings comp-run comp-common xt-mouse autoinsert eshell esh-cmd generator esh-ext esh-opt esh-proc esh-io esh-arg esh-module esh-module-loaddefs esh-util files-x emacs-lock org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-src sh-script smie treesit executable ob-comint org-pcomplete pcomplete comint ansi-osc ansi-color ring org-list org-footnote org-faces org-entities time-date noutline outline org-version ob-emacs-lisp ob-core ob-eval org-cycle org-table ol rx org-fold org-fold-core org-keys oc org-loaddefs thingatpt find-func cal-menu calendar cal-loaddefs org-compat org-macs format-spec all-the-icons-autoloads bnf-mode-autoloads circe-autoloads company-autoloads counsel-autoloads debbugs-autoloads desktop-environment-autoloads devil-autoloads doom-modeline-autoloads doom-themes-autoloads emmet-mode-autoloads emms-autoloads evil-collection-autoloads annalist-autoloads evil-commentary-autoloads evil-snipe-autoloads evil-surround-autoloads exec-path-from-shell-autoloads exwm-autoloads flycheck-autoloads format-all-autoloads geiser-guile-autoloads geiser-autoloads general-autoloads haskell-mode-autoloads helm-autoloads helm-core-autoloads inheritenv-autoloads irony-autoloads ivy-rich-autoloads language-id-autoloads log4e-autoloads lsp-mode-autoloads mixed-pitch-autoloads nerd-icons-autoloads nov-autoloads esxml-autoloads org-contrib-autoloads org-download-autoloads async-autoloads ox-pandoc-autoloads paredit-autoloads parinfer-rust-mode-autoloads pass-autoloads password-store-autoloads pdf-tools-autoloads python-mode-autoloads pyvenv-autoloads racket-mode-autoloads rustic-autoloads markdown-mode-autoloads rust-mode-autoloads scribble-mode-autoloads f-autoloads simple-httpd-autoloads sly-autoloads swiper-autoloads ivy-autoloads tablist-autoloads track-changes-autoloads treemacs-evil-autoloads evil-autoloads goto-chg-autoloads treemacs-icons-dired-autoloads treemacs-magit-autoloads magit-autoloads pcase transient-autoloads magit-section-autoloads llama-autoloads treemacs-persp-autoloads persp-mode-autoloads treemacs-tab-bar-autoloads treemacs-autoloads posframe-autoloads ht-autoloads hydra-autoloads avy-autoloads dash-autoloads use-package-autoloads bind-key-autoloads vterm-autoloads webpaste-autoloads request-autoloads wfnames-autoloads which-key-autoloads info with-editor-autoloads xelb-autoloads yasnippet-snippets-autoloads yasnippet-autoloads zig-mode-autoloads reformatter-autoloads zone-tmux-clock-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 icons 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 touch-screen 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 font-render-setting cairo x-toolkit xinput2 x multi-tty move-toolbar make-network-process native-compile emacs) Memory information: ((conses 16 970916 766872) (symbols 48 65794 9) (strings 32 358977 23501) (string-bytes 1 8622213) (vectors 16 122931) (vector-slots 8 1501202 395754) (floats 8 1145 19408) (intervals 56 6796 3416) (buffers 992 27)) From unknown Sun Jun 15 08:58:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#78310: 30.1; icomplete-mode interferes with epg's loopback pinentry mode when using encypted authinfo Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 10 May 2025 10:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 78310 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: "Oliver J. Mead" , =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Cc: 78310@debbugs.gnu.org Received: via spool by 78310-submit@debbugs.gnu.org id=B78310.174687415817481 (code B ref 78310); Sat, 10 May 2025 10:50:01 +0000 Received: (at 78310) by debbugs.gnu.org; 10 May 2025 10:49:18 +0000 Received: from localhost ([127.0.0.1]:44423 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uDhld-0004Xt-VP for submit@debbugs.gnu.org; Sat, 10 May 2025 06:49:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48232) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uDhlb-0004Xa-8f for 78310@debbugs.gnu.org; Sat, 10 May 2025 06:49:16 -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 1uDhlV-00012U-EM; Sat, 10 May 2025 06:49:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=2s+vWPZC+XWcW83ZoL75caylPYvNrBnDjrwPGLT00jI=; b=YdG2SyiZNCxzRgYjGWLg H9xwk16WMCeMW+WM//M5eewK6ykXOUuvO8PU7r5flJgY7D/paGrlkJY/GTuIfAIdRUwQ+iEh71oW+ 0EdoRhWxcmY0hlXhgxae3JWIsK01vwrwTW2UKUeoyRNhHeYa8RteUZWaIj/NS/iSSlIA93HqHGKKT nrgNXanLIkwiu5h1MHwAB+WonXa7O/XPIwbMuMg9YOuJwgfC/kqPc2WImV3kfhMaBATMDCZ3Aev+e +4pq2j+ABvu+ah/AghvlNuNjKaWYo8XiM7BtK5vqInSL/39hWI/MmxH45eOEI91ZX+I1CPknkJ+v/ IGEm9Iu1RoHI4Q==; Date: Sat, 10 May 2025 13:49:06 +0300 Message-Id: <867c2oaggt.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87bjs43w4j.fsf@olivermead.xyz> (bug-gnu-emacs@gnu.org) References: <87bjs43w4j.fsf@olivermead.xyz> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) 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 (---) > Date: Wed, 07 May 2025 23:15:56 +0100 > From: "Oliver J. Mead" via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > > ~/.authinfo.gpg exists, and corresponding keys exist with gnupg to > decrypt it, the relevant private key does have a password. > > start emacs with 'emacs -Q', execute: > ``` > (set 'epg-pinentry-mode 'loopback) > (icomplete-mode 1) > ``` > Type 'C-x C-f /ssh:'. > In the minibuffer appears the prompt 'Password for [GPG KEY]: '. > > At this point the expected behaviour is for this epg prompt to accept > the user's password input, decrypt the authinfo file and carry on with > the TRAMP path entry. > > Attempting to input the password results in: > - Each character entered switches the minibuffer between displaying the > epg prompt and displaying the 'find-file' prompt. > - Each character entered when the 'find-file' prompt is visible is added > to that prompt's input. > - No characters appear to be added to the epg prompt - no '*'s appear > before the cursor. > For example, if the user types '1234567890abcdefg' then the 'find-file' > prompt will be displayed, with the text '~//ssh:24680bdf' > entered. That's every other character of a password in plain text on the > screen and nothing useful going on. > > I have found a work-around for this issue: > Type any character into the epg prompt when it appears (this character > will neither end up in the epg prompt nor the 'find-file' prompt), then TAB when > the 'find-file' prompt returns. The epg prompt reappears and the > password can be typed as normal from this point. João, any comments or suggestions? From unknown Sun Jun 15 08:58:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#78310: 30.1; icomplete-mode interferes with epg's loopback pinentry mode when using encypted authinfo Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 24 May 2025 08:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 78310 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: joaotavora@gmail.com Cc: 78310@debbugs.gnu.org, olivermead@olivermead.xyz Received: via spool by 78310-submit@debbugs.gnu.org id=B78310.174807694525955 (code B ref 78310); Sat, 24 May 2025 08:56:01 +0000 Received: (at 78310) by debbugs.gnu.org; 24 May 2025 08:55:45 +0000 Received: from localhost ([127.0.0.1]:56857 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uIkfR-0006kY-2y for submit@debbugs.gnu.org; Sat, 24 May 2025 04:55:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35226) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uIkfP-0006kE-6E for 78310@debbugs.gnu.org; Sat, 24 May 2025 04:55:43 -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 1uIkfJ-0007nS-NL; Sat, 24 May 2025 04:55:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=f98EYow4GAn7lB88Fbg42Wog2xy3Qr1+Ao9RftOlpFM=; b=QKA80vaOsXOVQkdsuuEC rZRmHhEWl3lisX7kEE+5BvTuQ4G5bkEdVf5ZrJfZ5+TKMBfo93tnTEwVFkqKR3STcqI6g8/8p4XKp 2C9Dk2+rSD7zbaoSyJLTUWFPasj19h49iFH9lkFQbJf3WnIrYkJBdBZmobN8oTW8nJnoFx9h1LC2+ kK/BwjhCKRGkl6z03e+0SqojbBBVBu9f7ocIlpZq0vKGaQEBrloR4p8YaaYHhpsATNoYZv0aCpcCT 54U9vswmRbH7/6Ra9K3G/rEb6xBlr2u2LRE/wZEpMcSVxm6pWf2c+M27iaJVAWKVOGwaP8Y6naP8m 0TuEQi3AbvjwKA==; Date: Sat, 24 May 2025 11:55:35 +0300 Message-Id: <868qmm2xrs.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <867c2oaggt.fsf@gnu.org> (message from Eli Zaretskii on Sat, 10 May 2025 13:49:06 +0300) References: <87bjs43w4j.fsf@olivermead.xyz> <867c2oaggt.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) 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 (---) Ping! João, any comments? > Cc: 78310@debbugs.gnu.org > Date: Sat, 10 May 2025 13:49:06 +0300 > From: Eli Zaretskii > > > Date: Wed, 07 May 2025 23:15:56 +0100 > > From: "Oliver J. Mead" via "Bug reports for GNU Emacs, > > the Swiss army knife of text editors" > > > > > > ~/.authinfo.gpg exists, and corresponding keys exist with gnupg to > > decrypt it, the relevant private key does have a password. > > > > start emacs with 'emacs -Q', execute: > > ``` > > (set 'epg-pinentry-mode 'loopback) > > (icomplete-mode 1) > > ``` > > Type 'C-x C-f /ssh:'. > > In the minibuffer appears the prompt 'Password for [GPG KEY]: '. > > > > At this point the expected behaviour is for this epg prompt to accept > > the user's password input, decrypt the authinfo file and carry on with > > the TRAMP path entry. > > > > Attempting to input the password results in: > > - Each character entered switches the minibuffer between displaying the > > epg prompt and displaying the 'find-file' prompt. > > - Each character entered when the 'find-file' prompt is visible is added > > to that prompt's input. > > - No characters appear to be added to the epg prompt - no '*'s appear > > before the cursor. > > For example, if the user types '1234567890abcdefg' then the 'find-file' > > prompt will be displayed, with the text '~//ssh:24680bdf' > > entered. That's every other character of a password in plain text on the > > screen and nothing useful going on. > > > > I have found a work-around for this issue: > > Type any character into the epg prompt when it appears (this character > > will neither end up in the epg prompt nor the 'find-file' prompt), then TAB when > > the 'find-file' prompt returns. The epg prompt reappears and the > > password can be typed as normal from this point. > > João, any comments or suggestions? > > > > From unknown Sun Jun 15 08:58:38 2025 X-Loop: help-debbugs@gnu.org Subject: bug#78310: 30.1; icomplete-mode interferes with epg's loopback pinentry mode when using encypted authinfo Resent-From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 24 May 2025 17:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 78310 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 78310@debbugs.gnu.org, olivermead@olivermead.xyz Received: via spool by 78310-submit@debbugs.gnu.org id=B78310.174810823814981 (code B ref 78310); Sat, 24 May 2025 17:38:02 +0000 Received: (at 78310) by debbugs.gnu.org; 24 May 2025 17:37:18 +0000 Received: from localhost ([127.0.0.1]:35036 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uIso9-0003tZ-Ji for submit@debbugs.gnu.org; Sat, 24 May 2025 13:37:17 -0400 Received: from mail-oo1-xc34.google.com ([2607:f8b0:4864:20::c34]:44287) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1uIso6-0003tF-Sa for 78310@debbugs.gnu.org; Sat, 24 May 2025 13:37:15 -0400 Received: by mail-oo1-xc34.google.com with SMTP id 006d021491bc7-603f54a6cb5so421324eaf.0 for <78310@debbugs.gnu.org>; Sat, 24 May 2025 10:37:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1748108229; x=1748713029; 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=GPmB+7bS4GXR/XyvqUH0TX7TzmKyr25P5xncnICcqiE=; b=PKFA1AwZQVg6oZZ4zRd5gnmENzaH/OBtvpM4KVO+62KcyQXhHn1x+tLJNJjLzEkDls EQ0Um/UrnvosHnE6f58Il0hUrWq1HASHCaT0yfWsIDfCqMNDwzAPTzjUbwJ4xqt4JCFM zhwnY0zDRb3IdTSwS6yErDetZsonNNsJ9LoQeDZnp9wneWw086n61z5JlET5VpmZ6X6E Hahpv+Y24NtC01ytVhbaC4TDSrgyN0bQrMjnD8t5QcXBz0gCTb/JzELV9jzXI56TdvhB E6e681eAk7+bLgfSXnQ9cW4rOOjb7BOJLADOQxTd7CrJTBiK9GslYbeWPxqqv6/JqC5y 6+2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1748108229; x=1748713029; 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=GPmB+7bS4GXR/XyvqUH0TX7TzmKyr25P5xncnICcqiE=; b=uPYkY5Zh13YbefUJU8TVxnWBgz2rEr0j+N9KMuFbFr1gJwrjEfLcYgqdv8gZl/VEex Eqae3qp/eeDtzGfZQRkpgNmo206VYKHYGQ/JyLq05i2JHld1IFhXdYCPTb5EHKR3/OWz azgcuN5zKIrX3OUhSOJp04qCFxCo5GoeEBqMVwi2KYm0iCKKjAHmFP2QXRstSbI467kj szrPk4RL1yYJ/0jNrl/nN7zd96f/L4atCsQXPRbFioxoiUODqkyRn/O+hg597/HNDLns kHBvCoGtLZn/hjkxJq4ftvk5Y/Gsvy4gJamOphID7UvI7EaQSfYeNPEKo/jCFwbEVhrI +38w== X-Forwarded-Encrypted: i=1; AJvYcCVYI8ToimuwXTaQCaMDy4XxLXXiFaeQBLo4Qv0dwZXx9bUdzPazQDlg3bzYcjxOUOI+0ZQmZg==@debbugs.gnu.org X-Gm-Message-State: AOJu0YyIFI/2/EvjY1pBXkysgL2gnhWVlQKxSmiNPbhwqyEjyLL0/MN0 rooBkftDZeuVY5bllEpTe6d46053NxIjpSyAJ4wC4J0Ei5FR1wZnCxsZhq8lfzp/V6nkJpIN5BJ zTJn96yhBpd9g88RA6yZPZvcHFXZgKixF0A== X-Gm-Gg: ASbGnctkunTjRNx6Ko1Vppe9zPb3n1H3cFvWCjPA7JuACMkYmknh0Q7TOoJYAPPdvLW LP6xXNacMqSYdrgoYqAeMEUMvYOd78s0kvUijM2SIuyFn4CC67rfbWuld8a1UFrHHvq4z6azGve IzOrwBkOff831tHjDxVEVKcuNoUpTTiv1+ X-Google-Smtp-Source: AGHT+IEAGAcqWrQisIeUdk+lR+QHYuxARVi0mIJVnrAey3xAGQjqiVhEq4OkY4zT/VsTFBcf0c3KkqQ2T3z9dQZ+fzE= X-Received: by 2002:a05:6820:1f02:b0:60b:a166:2f41 with SMTP id 006d021491bc7-60ba16630b1mr1462882eaf.5.1748108228898; Sat, 24 May 2025 10:37:08 -0700 (PDT) MIME-Version: 1.0 References: <87bjs43w4j.fsf@olivermead.xyz> <867c2oaggt.fsf@gnu.org> <868qmm2xrs.fsf@gnu.org> In-Reply-To: <868qmm2xrs.fsf@gnu.org> From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Date: Sat, 24 May 2025 18:36:57 +0100 X-Gm-Features: AX0GCFvnSEiCVNeC6aEWYnnG1DAvUzEzU3znzgexSjS5xL_P4Y31hgGNXoerkQc Message-ID: Content-Type: multipart/alternative; boundary="0000000000000331be0635e52af3" X-Spam-Score: 0.0 (/) 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 (-) --0000000000000331be0635e52af3 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, May 24, 2025, 09:55 Eli Zaretskii wrote: > . > > > > > > I have found a work-around for this issue: > > > Type any character into the epg prompt when it appears (this characte= r > > > will neither end up in the epg prompt nor the 'find-file' prompt), > then TAB when > > > the 'find-file' prompt returns. The epg prompt reappears and the > > > password can be typed as normal from this point. > > > > Jo=C3=A3o, any comments or suggestions? > Not really. This seems hairy to solve. Or maybe not. Maybe somehow epg could disable icomplete when reading passwords? Jo=C3=A3o > --0000000000000331be0635e52af3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sat, May 24, 2025, 09:55 Eli Zaretsk= ii <eliz@gnu.org> wrote:
.
> >
> > I have found a work-around for this issue:
> > Type any character into the epg prompt when it appears (this char= acter
> > will neither end up in the epg prompt nor the 'find-file'= prompt), then TAB when
> > the 'find-file' prompt returns. The epg prompt reappears = and the
> > password can be typed as normal from this point.
>
> Jo=C3=A3o, any comments or suggestions?

Not really. This seems hairy to solve= . Or maybe not. Maybe somehow epg could disable icomplete when reading pass= words?=C2=A0

Jo=C3=A3o
--0000000000000331be0635e52af3--