From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Pankaj Jangid Newsgroups: gmane.emacs.bugs Subject: bug#39111: 27.0.60; Tramp offers to save password in ~/.authinfo instead of ~/.authinfo.gpg Date: Mon, 13 Jan 2020 09:45:42 +0000 Message-ID: <0100016f9e4b71fd-b938d656-7502-4e59-9afb-87fc0e8c137c-000000@email.amazonses.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="195709"; mail-complaints-to="usenet@blaine.gmane.org" To: 39111@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jan 13 10:46:49 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iqwIX-000eUB-4S for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 13 Jan 2020 10:46:13 +0100 Original-Received: from localhost ([::1]:47912 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iqwIV-0003fU-Rp for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 13 Jan 2020 04:46:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37662) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iqwIN-0003Zh-F6 for bug-gnu-emacs@gnu.org; Mon, 13 Jan 2020 04:46:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iqwIL-00037f-Sx for bug-gnu-emacs@gnu.org; Mon, 13 Jan 2020 04:46:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52705) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iqwIL-00037Z-PT for bug-gnu-emacs@gnu.org; Mon, 13 Jan 2020 04:46:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iqwIL-0004zK-NH for bug-gnu-emacs@gnu.org; Mon, 13 Jan 2020 04:46:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Pankaj Jangid Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 13 Jan 2020 09:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 39111 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.157890874919150 (code B ref -1); Mon, 13 Jan 2020 09:46:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 13 Jan 2020 09:45:49 +0000 Original-Received: from localhost ([127.0.0.1]:58678 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iqwI8-0004yn-Re for submit@debbugs.gnu.org; Mon, 13 Jan 2020 04:45:49 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:33885) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <0100016f9e4b71fd-b938d656-7502-4e59-9afb-87fc0e8c137c-000000@amazonses.com>) id 1iqwI6-0004yg-Qe for submit@debbugs.gnu.org; Mon, 13 Jan 2020 04:45:47 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37506) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <0100016f9e4b71fd-b938d656-7502-4e59-9afb-87fc0e8c137c-000000@amazonses.com>) id 1iqwI4-0003Ez-Sb for bug-gnu-emacs@gnu.org; Mon, 13 Jan 2020 04:45:46 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <0100016f9e4b71fd-b938d656-7502-4e59-9afb-87fc0e8c137c-000000@amazonses.com>) id 1iqwI3-0002pT-6z for bug-gnu-emacs@gnu.org; Mon, 13 Jan 2020 04:45:44 -0500 Original-Received: from a8-87.smtp-out.amazonses.com ([54.240.8.87]:55988) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <0100016f9e4b71fd-b938d656-7502-4e59-9afb-87fc0e8c137c-000000@amazonses.com>) id 1iqwI2-0002og-U2 for bug-gnu-emacs@gnu.org; Mon, 13 Jan 2020 04:45:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=2i3gzvbgh3d3bo7yfqpvb5eru2hqctky; d=j4d.net; t=1578908742; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; bh=djgfvaR0vRcFWhMtVdJrehqHsH+SHdeQroQfjj+VMds=; b=sP4BgkJ3ENeDmQ4biOwRfSZMeTiAEPcVUwVdKF46u/RrDLQXbz9HRLgnG138ENhN fy50SxpuUDcB+WOhAd0wMJHYLchF7HGwvz6YebbQHRvf8djJki4rFjd5anaX1XDOAnj 0+ISX+bX0t6kfuCjfoFbeXyYhgm3DE1nE0Wc6e7Q= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=6gbrjpgwjskckoa6a5zn6fwqkn67xbtw; d=amazonses.com; t=1578908742; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:Feedback-ID; bh=djgfvaR0vRcFWhMtVdJrehqHsH+SHdeQroQfjj+VMds=; b=hKBBd1EDHhH1Qkv7KSC/LEbUMJgcl8gk5ebT8IXWWuOM+DgHr7kkhhxtqT/l0fHn lfA+pTEn3SOZbhKeCw7XtinMiooOYMnp03JfB1vNP788rHbTeQqTWBN+eA3yfSjp9XS u3bNfE7pPQRzpv6IkeI2BnUcaWhYa/OGfQMjI8XE= X-SES-Outgoing: 2020.01.13-54.240.8.87 Feedback-ID: 1.us-east-1.txOs6RzEvQ8hCXYeLqJ8lVjB3e7LuQl8h6pdq90PbRQ=:AmazonSES X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org gmane.emacs.bugs:174526 Archived-At: When I open a remote ssh file and connect to the server for the first time, Tramp offers to save the password in ~/.authinfo even if the file ~/.authinfo.gpg exists and is already loaded (by some other package like Gnus). Response from Michael Albinus on the subject: > The default value of auth-sources is '("~/.authinfo" "~/.authinfo.gpg" > "~/.netrc") > I suppose that auth-source checks one file after the other whether it > exist, when searching for a password. But when it wants to save the > password, it seems to take the first entry in auth-sources, instead of > checking, whether one of the files exist (and use this one). > In your case, I recommend to change the value of auth-sources to just > '("~/.authinfo.gpg") > However, this seems to be a bug in auth-source.el. In GNU Emacs 27.0.60 (build 9, x86_64-apple-darwin19.2.0, NS appkit-1894.20 Version 10.15.2 (Build 19C57)) of 2020-01-13 built on Pankajs-MacBook-Pro.local Repository revision: d47b157969356f15e038dbbfa4da7769f6f98583 Repository branch: emacs-27 Windowing system distributor 'Apple', version 10.3.1894 System Description: Mac OS X 10.15.2 Recent messages: No more unseen articles No more unread articles Mark set [2 times] Sending... Sending via mail... Saving file /Users/pankaj/Mail/archive/sent/2020-01... Wrote /Users/pankaj/Mail/archive/sent/2020-01 Sending...done C-h C-g is undefined Mark set Configured using: 'configure 'CFLAGS=-g -O0' CPPFLAGS=-I/usr/local/opt/ruby/include LDFLAGS=-L/usr/local/opt/ruby/lib' Configured features: RSVG DBUS GLIB NOTIFY KQUEUE ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES THREADS JSON PDUMPER LCMS2 GMP Important settings: value of $LC_CTYPE: UTF-8 value of $LANG: en_US locale-coding-system: utf-8-unix Major mode: Article Minor modes in effect: electric-pair-mode: t direnv-mode: t show-paren-mode: t which-key-mode: t global-hl-line-mode: t projectile-mode: t icomplete-mode: t shell-dirtrack-mode: t recentf-mode: t tooltip-mode: t global-eldoc-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 auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow emacsbug org-bullets org-element avl-tree ol-eww ol-rmail ol-mhe ol-irc ol-info ol-gnus ol-docview doc-view jka-compr image-mode exif ol-bibtex bibtex ol-bbdb ol-w3m help-fns radix-tree cl-print debug backtrace gnus-uu yenc flow-fill bbdb-message sendmail flyspell ispell nnir shr-color vc-git diff-mode sort gnus-cite smiley mm-archive mail-extr gnus-async gnus-bcklg qp gnus-ml disp-table gnus-topic cursor-sensor nndraft nnmh utf-7 nnfolder bbdb-gnus epa-file gnutls network-stream nsm gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime dig nntp gnus-cache gnus-alias gnus-sum url url-proxy url-privacy url-expand url-methods url-history mailcap shr url-cookie url-domsuf url-util svg xml dom gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo gnus-spec gnus-int gnus-range message rmc puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 gmm-utils mailheader gnus-win gnus nnheader gnus-util rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums text-property-search mail-utils mm-util mail-prsvr cl-extra company-oddmuse company-keywords company-etags etags fileloop generator xref project company-gtags company-dabbrev-code company-dabbrev company-files company-capf company-cmake company-xcode company-clang company-semantic company-eclim company-template company-bbdb company pcase display-line-numbers yasnippet help-mode elec-pair hideshow direnv dash sanityinc-tomorrow-bright-theme color-theme-sanityinc-tomorrow color paren which-key init server init-prog flymake-proc flymake warnings init-edit init-keys init-looks delight hl-line init-env exec-path-from-shell init-melpa init-tools projectile grep compile ibuf-ext ibuffer ibuffer-loaddefs ob-C cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs ob-python org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint org-pcomplete org-list org-faces org-entities noutline outline easy-mmode org-version ob-emacs-lisp ob-core ob-eval org-table ol org-keys org-compat advice org-macs org-loaddefs find-func cal-menu calendar cal-loaddefs bbdb-mua bbdb-com crm mailabbrev bbdb bbdb-site timezone icomplete edmacro kmacro erc-auth erc-join erc-goodies erc erc-backend erc-compat thingatpt pp erc-loaddefs tramp-cache tramp-sh tramp tramp-loaddefs trampver tramp-integration files-x tramp-compat shell pcomplete comint ansi-color ring parse-time iso8601 time-date ls-lisp format-spec recentf tree-widget wid-edit rx info package easymenu browse-url url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib early-init tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic 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 charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind kqueue cocoa ns lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 565161 40839) (symbols 48 35378 2) (strings 32 116486 10645) (string-bytes 1 4103395) (vectors 16 57864) (vector-slots 8 942243 48072) (floats 8 569 547) (intervals 56 4122 347) (buffers 1000 102)) -- Pankaj Jangid