From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?K=C3=A9vin?= Le Gouguec Newsgroups: gmane.emacs.bugs Subject: bug#40152: 27.0.90; icomplete vs recursive prompts Date: Mon, 07 Sep 2020 11:11:27 +0200 Message-ID: <87sgbulznk.fsf@gmail.com> References: <87wo7ex4z6.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9727"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) To: 40152@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Sep 07 11:12:09 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kFDC5-0002Qi-F5 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 07 Sep 2020 11:12:09 +0200 Original-Received: from localhost ([::1]:44982 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kFDC4-000175-Gr for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 07 Sep 2020 05:12:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33006) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kFDBy-00015f-1r for bug-gnu-emacs@gnu.org; Mon, 07 Sep 2020 05:12:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36534) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kFDBx-0001y1-OR for bug-gnu-emacs@gnu.org; Mon, 07 Sep 2020 05:12:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kFDBx-00064N-Jg for bug-gnu-emacs@gnu.org; Mon, 07 Sep 2020 05:12:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?K=C3=A9vin?= Le Gouguec Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 07 Sep 2020 09:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40152 X-GNU-PR-Package: emacs Original-Received: via spool by 40152-submit@debbugs.gnu.org id=B40152.159946989723292 (code B ref 40152); Mon, 07 Sep 2020 09:12:01 +0000 Original-Received: (at 40152) by debbugs.gnu.org; 7 Sep 2020 09:11:37 +0000 Original-Received: from localhost ([127.0.0.1]:48080 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kFDBY-00063c-VF for submit@debbugs.gnu.org; Mon, 07 Sep 2020 05:11:37 -0400 Original-Received: from mail-wm1-f45.google.com ([209.85.128.45]:52907) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kFDBX-00063Q-Bg for 40152@debbugs.gnu.org; Mon, 07 Sep 2020 05:11:35 -0400 Original-Received: by mail-wm1-f45.google.com with SMTP id q9so13640153wmj.2 for <40152@debbugs.gnu.org>; Mon, 07 Sep 2020 02:11:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version:content-transfer-encoding; bh=4ZAlwRJ75PPVdo6oYYbmjU82VoEfSql2nItaZhQZHlI=; b=DztfxoLrIb/xnh8xLPanHlRcei1o0xhur6n1/cV1k9/sPd1VIQ/rhZx+EI3xcuDmbY zACey7mULUjKqGqC92A1H/qg7tUwdDmrlEsNCoUJv1K+L3/o+TdzE7mYoJEbq3LSMEgY HBIaDgadYZ+wKtC5XP8akT1B/zqfHC7L0xvjkerhJS9FHqqiLEBYXkObEHKio6+zlte0 ZlhB2YZnV9CY8fls3jRnsCbgzdB1+UwoFECbSlGyDr6515c4kFECcma7VCk925My2uYO MRv31lQtMBirikt97YTz+09g4dDLju0K7mMsyELevsBjDfR1snr+NlePBXa9QD3aMdHO H6/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=4ZAlwRJ75PPVdo6oYYbmjU82VoEfSql2nItaZhQZHlI=; b=hUrPRqyxDFto6hYiXajSDjXy3HNnBKfbzklywaHG0bbNsNqbEgNwq4lLhJdHiOkNTU Sv9JFUGCfPv+7u8nrg7m2DSW1TmzfZTC8lF0bqT4ZvjHWMDg5lE7b6GM86f7EUVw2g1U W9dei68hsIRzYIYCUnYVg7xv/r7o34hgOYt9zcRR/SU2rkmJYGCsXmYALw4W3oHTbHks 2fbS80XVZFRqE7O5OxC3LkOwql/KOmK5YV8l5AnR1wF8Wr/o6e+gf17vId2NcN77FH7e LHzndV7QTExBf6kj1nweu0bl4bpkhrB3CO7y9dQGVg/hKRd3yO4SQEneDcS/0Igid50I 7sOg== X-Gm-Message-State: AOAM532Dz3ZHeCq0ZlC/+Vuqdla7W+EZhBM/YZamNFNY1gH6G2ojlFt8 0RoyX4V5n03P2F1eMyBIJE7+BxDQ5CM= X-Google-Smtp-Source: ABdhPJyNLBJA+EDcoz5SlcXuUcaWjp0auzYF1/VxjGvDVDQi8El/HaqWNISytu6tibQKxJnhj6zs3g== X-Received: by 2002:a1c:3284:: with SMTP id y126mr19843859wmy.146.1599469889128; Mon, 07 Sep 2020 02:11:29 -0700 (PDT) Original-Received: from klegouguec-HP-ProBook-450-G1 ([2a01:e0a:20e:d340:2c3b:9883:b167:692]) by smtp.gmail.com with ESMTPSA id p3sm6657801wmm.40.2020.09.07.02.11.27 for <40152@debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 07 Sep 2020 02:11:28 -0700 (PDT) In-Reply-To: <87wo7ex4z6.fsf@gmail.com> ("=?UTF-8?Q?K=C3=A9vin?= Le Gouguec"'s message of "Fri, 20 Mar 2020 19:21:01 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:187417 Archived-At: K=C3=A9vin Le Gouguec writes: > (ISTR another instance of this bug where TRAMP and EPG would fight each > other when using the sudo or sudoedit methods (the former asking for the > root password, the latter for the ~/.authinfo.gpg key), but I can't seem > to reproduce it.) Found a recipe, with the SSH method: 1. create an ~/.authinfo.gpg file with the EasyPG assistant[1] 2. pkill -HUP gpg-agent 2. emacs -Q 3. (progn (setq epg-pinentry-mode 'loopback) (icomplete-mode)) 5. C-x C-f /ssh: This brings up epa.el's "Passphrase for symmetric encryption" prompt to unlock ~/.authinfo.gpg. The prompt cannot be completed, because any self-inserting character brings the "Find file" prompt back up, and from *there*, typing any character brings the "Passphrase for symmetric encryption" prompt back again. I don't mind icomplete proactively trying to open authinfo.gpg to find candidates for hostnames[2]; unfortunately as things stand I have to hit C-g a bunch, disable icomplete, do whatever I was trying to do, then enable icomplete back. [1] I.e. visit ~/.authinfo.gpg, and save it with a password when prompted. The content doesn't matter, but it has to be properly encrypted, otherwise GPG will recognize the file is malformed and abort before EPA can prompt for a password. [2] Or a TAGS file to find candidates for identifiers, as seen in the initial report.