From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Bartosz =?UTF-8?Q?Kaczy=C5=84ski?= Newsgroups: gmane.emacs.bugs Subject: bug#58807: 28.1; Authentication in Gnus using password-store backend of auth-source Date: Thu, 27 Oct 2022 11:15:37 +0200 Message-ID: <5b95f19e-e1c8-8442-b996-f394693b87a5@asterio.cloud> References: <6fcf0ae0613b7de0702fce4897257b52@asterio.cloud> <87bkpxvdkf.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33168"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.0 Cc: 58807@debbugs.gnu.org To: Robert Pluim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 27 11:21:59 2022 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 1onz5K-0008MW-Ty for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 27 Oct 2022 11:21:58 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1onz00-0004MZ-Mb; Thu, 27 Oct 2022 05:16:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1onyzb-00042J-4S for bug-gnu-emacs@gnu.org; Thu, 27 Oct 2022 05:16:15 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1onyza-0005Sw-GL for bug-gnu-emacs@gnu.org; Thu, 27 Oct 2022 05:16:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1onyza-0002M5-25 for bug-gnu-emacs@gnu.org; Thu, 27 Oct 2022 05:16:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Bartosz =?UTF-8?Q?Kaczy=C5=84ski?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Oct 2022 09:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58807 X-GNU-PR-Package: emacs Original-Received: via spool by 58807-submit@debbugs.gnu.org id=B58807.16668621519034 (code B ref 58807); Thu, 27 Oct 2022 09:16:02 +0000 Original-Received: (at 58807) by debbugs.gnu.org; 27 Oct 2022 09:15:51 +0000 Original-Received: from localhost ([127.0.0.1]:56163 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1onyzO-0002Le-Ox for submit@debbugs.gnu.org; Thu, 27 Oct 2022 05:15:51 -0400 Original-Received: from relay1-d.mail.gandi.net ([217.70.183.193]:59497) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1onyzM-0002LN-Rz for 58807@debbugs.gnu.org; Thu, 27 Oct 2022 05:15:49 -0400 Original-Received: (Authenticated sender: bk@asterio.cloud) by mail.gandi.net (Postfix) with ESMTPSA id 66DBD240016; Thu, 27 Oct 2022 09:15:38 +0000 (UTC) Content-Language: pl In-Reply-To: <87bkpxvdkf.fsf@gmail.com> 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: , Original-Sender: "bug-gnu-emacs" Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:246283 Archived-At: Indeed, in Emacs build from master branch the command and manual differs from the manual on website [1] Now my config looks as follows: (use-package auth-source   :config   (auth-source-pass-enable)) and I can authenticate to the server. Thank you! [1] https://www.gnu.org/software/emacs/manual/html_node/auth/Help-for-users.html On 10/27/22 11:08, Robert Pluim wrote: >>>>>> On Wed, 26 Oct 2022 21:30:57 +0200, bk@asterio.cloud said: > bk> Hi, > bk> As it is written in subject I can't authenticate to my local dovecot > bk> server when I have enabled pass backend in auth-source. I don't have > bk> this problem if I use default ~/.authinfo file. If it's not exist it's > bk> generated by Emacs and contains line as follows: > bk> machine localhost login bk@asterio.cloud password pass > > bk> My minimal ~/.emacs file > bk> (setq auth-source-debug 'trivia) > bk> (setq auth-sources '(password-store)) > > (info "(auth) Help for users") describes how to enable `pass', and > thatʼs not it. > > Robert