We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e2f539 commit a012953Copy full SHA for a012953
lisp/net/tramp.el
@@ -4849,7 +4849,12 @@ verbosity of 6."
4849
"Read a password from user (compat function).
4850
Consults the auth-source package.
4851
Invokes `password-read' if available, `read-passwd' else."
4852
- (let* ((case-fold-search t)
+ (let* (;; If `auth-sources' contains "~/.authinfo.gpg", and
4853
+ ;; `exec-path' contains a relative file name like ".", it
4854
+ ;; could happen that the "gpg" command is not found. So we
4855
+ ;; adapt `default-directory'. (Bug#39389, Bug#39489)
4856
+ (default-directory (tramp-compat-temporary-file-directory))
4857
+ (case-fold-search t)
4858
(key (tramp-make-tramp-file-name
4859
;; In tramp-sh.el, we must use "password-vector" due to
4860
;; multi-hop.
0 commit comments