From unknown Sun Jun 15 08:27:52 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#33826 <33826@debbugs.gnu.org> To: bug#33826 <33826@debbugs.gnu.org> Subject: Status: 26.1; auth-source does not parse netrc files as documented Reply-To: bug#33826 <33826@debbugs.gnu.org> Date: Sun, 15 Jun 2025 15:27:52 +0000 retitle 33826 26.1; auth-source does not parse netrc files as documented reassign 33826 emacs submitter 33826 Daniel Gerber severity 33826 normal tag 33826 fixed thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 21 11:22:01 2018 Received: (at submit) by debbugs.gnu.org; 21 Dec 2018 16:22:01 +0000 Received: from localhost ([127.0.0.1]:58696 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gaNYm-000845-Jv for submit@debbugs.gnu.org; Fri, 21 Dec 2018 11:22:01 -0500 Received: from eggs.gnu.org ([208.118.235.92]:44428) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gaKai-0002Ew-90 for submit@debbugs.gnu.org; Fri, 21 Dec 2018 08:11:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gaKac-00027e-I6 for submit@debbugs.gnu.org; Fri, 21 Dec 2018 08:11:43 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:53904) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gaKac-00027S-Eg for submit@debbugs.gnu.org; Fri, 21 Dec 2018 08:11:42 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54032) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gaKab-0005Ka-Lg for bug-gnu-emacs@gnu.org; Fri, 21 Dec 2018 08:11:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gaKaW-0001zx-Ie for bug-gnu-emacs@gnu.org; Fri, 21 Dec 2018 08:11:41 -0500 Received: from smtp-sh.infomaniak.ch ([128.65.195.4]:54572) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gaKaW-0001tG-7h for bug-gnu-emacs@gnu.org; Fri, 21 Dec 2018 08:11:36 -0500 Received: from smtp8.infomaniak.ch (smtp8.infomaniak.ch [83.166.132.38]) by smtp-sh.infomaniak.ch (8.14.5/8.14.5) with ESMTP id wBLDBW8a026973 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Fri, 21 Dec 2018 14:11:32 +0100 Received: from jura (84-73-9-131.dclient.hispeed.ch [84.73.9.131]) (authenticated bits=0) by smtp8.infomaniak.ch (8.14.5/8.14.5) with ESMTP id wBLDBVXn089572 (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 21 Dec 2018 14:11:32 +0100 From: Daniel Gerber To: bug-gnu-emacs@gnu.org Subject: 26.1; auth-source does not parse netrc files as documented Date: Fri, 21 Dec 2018 14:11:58 +0100 Message-ID: <87r2ebdnxd.fsf@atufi.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Antivirus: Dr.Web (R) for Unix mail servers drweb plugin ver.6.0.2.8 X-Antivirus-Code: 0x100000 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.3 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 21 Dec 2018 11:21:59 -0500 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: -5.3 (-----) In describing "netrc" files, (info "(auth) Help for users") says=20 that "The =E2=80=98machine=E2=80=99 is the server [...] You can also use = =E2=80=98host=E2=80=99". But the code does not quite support `host`:=20 `auth-source-netrc-parse-entries` starts a new entry only with the=20 keyword `machine`. Also, currently multiple lines starting with `host` are just=20 merged together. The issue would have been easier to nail down if=20 the parser did some validation, like warning when one entry has=20 multiple values for the same key (user, port, ...). --- In GNU Emacs 26.1 Repository revision: 132b6b71fa7388aa2b1ad113d86c485b9c461209 --- From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 09 19:19:10 2019 Received: (at 33826) by debbugs.gnu.org; 9 Jul 2019 23:19:10 +0000 Received: from localhost ([127.0.0.1]:34504 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hkzO9-00022L-To for submit@debbugs.gnu.org; Tue, 09 Jul 2019 19:19:10 -0400 Received: from quimby.gnus.org ([80.91.231.51]:55562) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hkzO7-00022B-M7 for 33826@debbugs.gnu.org; Tue, 09 Jul 2019 19:19:08 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hkzO3-0001tK-OF; Wed, 10 Jul 2019 01:19:06 +0200 From: Lars Ingebrigtsen To: Daniel Gerber Subject: Re: bug#33826: 26.1; auth-source does not parse netrc files as documented References: <87r2ebdnxd.fsf@atufi.org> Date: Wed, 10 Jul 2019 01:19:03 +0200 In-Reply-To: <87r2ebdnxd.fsf@atufi.org> (Daniel Gerber's message of "Fri, 21 Dec 2018 14:11:58 +0100") Message-ID: <87o922pziw.fsf@mouse.gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.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 @@CONTACT_ADDRESS@@ for details. Content preview: Daniel Gerber writes: > In describing "netrc" files, (info "(auth) Help for users") says that > "The ‘machine’ is the server [...] You can also use ‘host’". > But the code does not quite support `host`: > `auth-sou [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 33826 Cc: 33826@debbugs.gnu.org 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 (-) Daniel Gerber writes: > In describing "netrc" files, (info "(auth) Help for users") says that > "The =E2=80=98machine=E2=80=99 is the server [...] You can also use =E2= =80=98host=E2=80=99". > But the code does not quite support `host`: > `auth-source-netrc-parse-entries` starts a new entry only with the > keyword `machine`. Yup; I've now removed that mention from the documentation. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 09 19:19:14 2019 Received: (at control) by debbugs.gnu.org; 9 Jul 2019 23:19:14 +0000 Received: from localhost ([127.0.0.1]:34507 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hkzOE-00022e-8w for submit@debbugs.gnu.org; Tue, 09 Jul 2019 19:19:14 -0400 Received: from quimby.gnus.org ([80.91.231.51]:55576) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hkzOD-00022X-5E for control@debbugs.gnu.org; Tue, 09 Jul 2019 19:19:13 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hkzOA-0001tR-JT for control@debbugs.gnu.org; Wed, 10 Jul 2019 01:19:12 +0200 Date: Wed, 10 Jul 2019 01:19:10 +0200 Message-Id: <87muhmpzip.fsf@mouse.gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #33826 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.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 @@CONTACT_ADDRESS@@ for details. Content preview: tags 33826 fixed close 33826 27.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control 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 (-) tags 33826 fixed close 33826 27.1 quit From unknown Sun Jun 15 08:27:52 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 07 Aug 2019 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator