From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Filipp Gunbin Newsgroups: gmane.emacs.bugs Subject: bug#58807: 28.1; Authentication in Gnus using password-store backend of auth-source Date: Thu, 27 Oct 2022 20:55:25 +0300 Message-ID: References: <6fcf0ae0613b7de0702fce4897257b52@asterio.cloud> <874jvptems.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11714"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Bartosz =?UTF-8?Q?Kaczy=C5=84ski?= , .cloud@debbugs.gnu.org, 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 19:56:27 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 1oo77A-0002io-Sz for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 27 Oct 2022 19:56:26 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oo76v-0002eJ-2q; Thu, 27 Oct 2022 13:56:09 -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 1oo76o-0000z0-Hh for bug-gnu-emacs@gnu.org; Thu, 27 Oct 2022 13:56:05 -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 1oo76o-00055G-9x for bug-gnu-emacs@gnu.org; Thu, 27 Oct 2022 13:56:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oo76o-0004Ij-5i for bug-gnu-emacs@gnu.org; Thu, 27 Oct 2022 13:56:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Filipp Gunbin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Oct 2022 17:56: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.166689334016492 (code B ref 58807); Thu, 27 Oct 2022 17:56:02 +0000 Original-Received: (at 58807) by debbugs.gnu.org; 27 Oct 2022 17:55:40 +0000 Original-Received: from localhost ([127.0.0.1]:59273 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oo76R-0004Hw-QG for submit@debbugs.gnu.org; Thu, 27 Oct 2022 13:55:40 -0400 Original-Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:53407) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oo76Q-0004Hg-IW for 58807@debbugs.gnu.org; Thu, 27 Oct 2022 13:55:39 -0400 Original-Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id DCE843200A49; Thu, 27 Oct 2022 13:55:28 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Thu, 27 Oct 2022 13:55:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; t=1666893328; x= 1666979728; bh=I71FP2wglq+8mUoPlvB1R+2Vs72XUanJffhHepnKoPI=; b=X /BKDiCaiWjqPRGAmR4X5Nn8GyTo4kTRxw8m3YZ5DKIeqrskDofIkJDxX7rTJmi0c ytlCRLRx5iB8t3hvGRAsaBSpHFOLYmqvYjC5PPcpQU9MWIUuiUvlLhXZzrS3m9xH dHDcD/yyCLxJF0LrH0uQBGPy83qQZbMm28BmY5Ttk8R0Wc5jHeRWGCgY/ypEb0cl C75UCwd8rqHKQcmPH0L2pc4x5jGIvj/f3dEvL2CAqvRpgwttm7zy7nHS4dFio8u9 Ky1Hsbdf53Okwg7Qbd0c55ZMJHkrBPCVUYRuuntKKfY2XpAb17qGfPsQZmAUWdd3 R02OQOExJfJEQaZDDpzhQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1666893328; x= 1666979728; bh=I71FP2wglq+8mUoPlvB1R+2Vs72XUanJffhHepnKoPI=; b=S DFaU/9H/FPAidvVFl7+hUh4vMg8C5ALpnk9BfxZZ6fuRwCuWjYjNZv1bL+SPLCWI RgUTjNG6LJibfCN8NnKKwyAp7XZCXUOxAAohlj0fSJDFyLONuQRgIW+5e5X63hTn mDNfT15Cb1XgbeOY5A/KKKdf6a2JUWaastxM28c2MW89JmruzPtGuujrtE+wx8Xd jp4aRC0YGaFibqsFjuf1LcbeH/9x10JAFbIaDHyeXzexNZlvHJHBdknkMP3WRafq 8+QY37MlBqcN8R0Wr6udfiqjifmkeStI0P9W4dZAGYs9XsBEE6R9r00fECbLsyHZ 4XebrLHMrZAYgf4uowusQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrtdeggdduudeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefujghffgffkfggtgfgsehtqhertddtreejnecuhfhrohhmpefhihhl ihhpphcuifhunhgsihhnuceofhhguhhnsghinhesfhgrshhtmhgrihhlrdhfmheqnecugg ftrfgrthhtvghrnhepfeelfeffteeiteeuvdettdfgheegveethfeuveejheejleeuiefg vedtiefhueegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepfhhguhhnsghinhesfhgrshhtmhgrihhlrdhfmh X-ME-Proxy: Feedback-ID: id48c41f1:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 27 Oct 2022 13:55:27 -0400 (EDT) In-Reply-To: <874jvptems.fsf@gmail.com> (Robert Pluim's message of "Thu, 27 Oct 2022 18:28:27 +0200") 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:246351 Archived-At: On 27/10/2022 18:28 +0200, Robert Pluim wrote: >>>>>> On Thu, 27 Oct 2022 17:04:18 +0300, Filipp Gunbin said: > Filipp> (defun auth-source-pass-entries () > Filipp> "Return a list of all password store entries." > Filipp> (let ((store-dir (expand-file-name auth-source-pass-filenam= e))) > Filipp> (mapcar > Filipp> (lambda (file) (file-name-sans-extension (file-relative-= name file store-dir))) > Filipp> (directory-files-recursively store-dir "\\.gpg\\'")))) > > So `auth-source-pass-filename' is actually a *directory*. > Perhaps we need an obsoletion and and alias. > > Filipp> I tested using setup similar to yours, but with gpg files -- = it worked. > > I saw nothing in Bartosz=CA=BC original bugreport indicating that the fil= es > were not gpg encrypted, nor that they were. I thought that these were files/dirs: > Password Store > =E2=94=9C=E2=94=80=E2=94=80 127.0.0.1 [..] But now I see that it's the output of "pass" (never used "pass" or auth-source-pass before). So probably the files are good, and it was really auth-source-forget-all-cached that helped (auth-source-pass-enable does nothing more than modifying auth-sources and calling it). Filipp