From: Shuguang Sun <shuguang79@qq.com>
To: Noam Postavsky <npostavs@gmail.com>
Cc: 35241@debbugs.gnu.org
Subject: bug#35241: 27.0.50; Tramp can't decrypt .authinfo.gpg in Win 10
Date: Tue, 16 Apr 2019 12:54:14 +0800 [thread overview]
Message-ID: <15457.9284878977$1555390524@news.gmane.org> (raw)
In-Reply-To: <875zrezqxm.fsf@gmail.com> (Noam Postavsky's message of "Mon, 15 Apr 2019 21:20:37 -0400")
Noam Postavsky <npostavs@gmail.com> writes:
> Shuguang Sun <shuguang79@qq.com> writes:
>
>> I use .authinfo.gpg to store my login information, instead of .authinfo.
>>
>> Whe I open /plink:... with tramp, emacs get blocked and it seems tramp
>> is dealing with .authinfo
>
> Can you get a backtrace with M-x toggle-debug-on-quit, and then hitting
> C-g when it's stuck?
>
>
Below is part of the message. It seems it try to find "gpg2", and there is no "gpg2".
Actually, I have gpg version gpg (GnuPG) 2.2.15, and epg-gpg-program as "gpg".
--8<---------------cut here---------------start------------->8---
Debugger entered--Lisp error: (quit)
tramp-accept-process-output(#<process *tramp/plink username@host.com*>)
tramp-wait-for-regexp(#<process *tramp/plink username@host.com*> nil "\\(^\\|\0\\)[^#$\n]*///92fc211a5...")
tramp-wait-for-output(#<process *tramp/plink username@host.com*>)
tramp-send-command((tramp-file-name "plink" "username" nil "host.com" nil "./." nil) "cd ~ && pwd")
tramp-sh-handle-expand-file-name("." "/plink:username@host.com:")
apply(tramp-sh-handle-expand-file-name ("." "/plink:username@host.com:"))
tramp-sh-file-name-handler(expand-file-name "." "/plink:username@host.com:")
apply(tramp-sh-file-name-handler expand-file-name ("." "/plink:username@host.com:"))
tramp-file-name-handler(expand-file-name "." "/plink:username@host.com:")
locate-file-internal("gpg2" (list of path) (".exe" ".com" ".bat" ".cmd" ".btm" "") 1)
executable-find("gpg2")
epg-find-configuration(OpenPGP)
epg-context--make(OpenPGP nil nil nil nil nil nil)
epg-make-context()
epa-file-insert-file-contents("c:/Users/username/HOME/.authinfo.gpg" nil nil nil nil)
apply(epa-file-insert-file-contents ("c:/Users/username/HOME/.authinfo.gpg" nil nil nil nil))
epa-file-handler(insert-file-contents "c:/Users/username/HOME/.authinfo.gpg" nil nil nil nil)
insert-file-contents("~/.authinfo.gpg")
auth-source-netrc-parse(:max 1 :require (:secret :user) :file "~/.authinfo.gpg" :host "host.com" :user "username" :port "plink")
auth-source-netrc-search(:backend #<auth-source-backend auth-source-backend-29bf9d8> :type netrc :max 1 :require (:secret :user) :create nil :delete nil :max 1 :user "username" :host "host.com" :port "plink" :require (:secret :user) :create t)
apply(auth-source-netrc-search :backend #<auth-source-backend auth-source-backend-29bf9d8> :type netrc :max 1 :require (:secret :user) :create nil :delete nil (:max 1 :user "username" :host "host.com" :port "plink" :require (:secret :user) :create t))
auth-source-search-backends((#<auth-source-backend auth-source-backend-29bf988> #<auth-source-backend auth-source-backend-29bf9d8> #<auth-source-backend auth-source-backend-29bfa1c>) (:max 1 :user "username" :host "host.com" :port "plink" :require (:secret :user) :create t) 1 nil nil (:secret :user))
auth-source-search(:max 1 :user "username" :host "host.com" :port "plink" :require (:secret :user) :create t)
tramp-read-passwd(#<process *tramp/plink username@host.com*>)
tramp-action-password(#<process *tramp/plink username@host.com*> (tramp-file-name "plink" "username" nil "host.com" nil "/home/username/" nil))
--8<---------------cut here---------------end--------------->8---
--
Best Regards
Shuguang Sun
next prev parent reply other threads:[~2019-04-16 4:54 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <vk5yimvkeyca.fsf@qq.com>
2019-04-16 1:20 ` bug#35241: 27.0.50; Tramp can't decrypt .authinfo.gpg in Win 10 Noam Postavsky
2019-04-16 4:54 ` Shuguang Sun [this message]
2019-04-16 7:18 ` Michael Albinus
2019-04-16 9:34 ` Shuguang Sun
2019-04-16 9:42 ` Shuguang Sun
[not found] ` <vk5y5zrei997.fsf@qq.com>
2019-04-16 12:50 ` Michael Albinus
2019-04-16 14:47 ` Eli Zaretskii
2019-04-16 16:20 ` Michael Albinus
2019-04-16 16:42 ` Eli Zaretskii
2019-04-16 19:42 ` Michael Albinus
2019-04-17 7:35 ` Michael Albinus
2019-04-17 12:08 ` Michael Albinus
2019-04-17 14:29 ` Noam Postavsky
2019-04-17 19:09 ` Michael Albinus
2019-04-17 17:07 ` Eli Zaretskii
2019-04-16 15:20 ` Noam Postavsky
2019-04-16 16:03 ` Eli Zaretskii
2019-04-16 16:12 ` Michael Albinus
2019-04-17 2:02 ` Shuguang Sun
[not found] ` <vk5ywojt2xu2.fsf@qq.com>
2019-04-17 7:24 ` Michael Albinus
2019-04-12 2:44 Shuguang Sun
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='15457.9284878977$1555390524@news.gmane.org' \
--to=shuguang79@qq.com \
--cc=35241@debbugs.gnu.org \
--cc=npostavs@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.