From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.bugs Subject: bug#58807: 28.1; Authentication in Gnus using password-store backend of auth-source Date: Thu, 27 Oct 2022 18:28:27 +0200 Message-ID: <874jvptems.fsf@gmail.com> References: <6fcf0ae0613b7de0702fce4897257b52@asterio.cloud> 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="1796"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Bartosz =?UTF-8?Q?Kaczy=C5=84ski?= , .cloud@debbugs.gnu.org, 58807@debbugs.gnu.org To: Filipp Gunbin Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 27 18:29:20 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 1oo5ku-0000Be-1j for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 27 Oct 2022 18:29:20 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oo5kd-0007Qy-Rp; Thu, 27 Oct 2022 12:29:03 -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 1oo5kc-0007Dy-RS for bug-gnu-emacs@gnu.org; Thu, 27 Oct 2022 12:29:02 -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 1oo5kc-00081J-IW for bug-gnu-emacs@gnu.org; Thu, 27 Oct 2022 12:29:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oo5kc-0001t7-5X for bug-gnu-emacs@gnu.org; Thu, 27 Oct 2022 12:29:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Oct 2022 16:29: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.16668881167223 (code B ref 58807); Thu, 27 Oct 2022 16:29:02 +0000 Original-Received: (at 58807) by debbugs.gnu.org; 27 Oct 2022 16:28:36 +0000 Original-Received: from localhost ([127.0.0.1]:59107 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oo5kC-0001sR-4S for submit@debbugs.gnu.org; Thu, 27 Oct 2022 12:28:36 -0400 Original-Received: from mail-wr1-f54.google.com ([209.85.221.54]:40740) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oo5kA-0001sF-Vn for 58807@debbugs.gnu.org; Thu, 27 Oct 2022 12:28:35 -0400 Original-Received: by mail-wr1-f54.google.com with SMTP id z14so3150503wrn.7 for <58807@debbugs.gnu.org>; Thu, 27 Oct 2022 09:28:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=lA/rRKtL1C28+120YunG+CuVKFzhRprF8MtE6fTnrNQ=; b=Z/GLGAD0MDPpgY3XOczbN/bQo8LbVVtjhTgmtpOAJj/SG1Q4s6hZuDbchtEl/VtPy0 vXCCYyhMHjHtC/IyzRutYTdDVs1nrtZqCc/ZSLH3pASgyqJs4kJYUqH1MqJBzmbJb7lH pv1Z/lkWwftluj26xgL5Cp4QaUuhyFwxia+D7Va6W8hKOCanAxzNH0nQwxPj7VsvcGar 8wQzwuz1iGGVcMKseZl5Eqogz+YnqYbMskVw+qeDp/onPR2BHjUEDZhzhKA9/vx7+R5c sm2UY8A6FaN6cKy8iBfDsbyciESt7cT72IYA+oTDw5hUuyYXv6deLTRR0mNjpg2xuSoh s52g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=lA/rRKtL1C28+120YunG+CuVKFzhRprF8MtE6fTnrNQ=; b=kRoApMkazkvUQYLKnkq8pkW/AlqWFVB4FiRx9nzmr9ZV4p5tCn9PaeTAWjdgapaUDz 2u+ZPHHGW5HgR8iN+EVWxj3PwmKCO5u2oOEXdgsYVUfjVeg79MbNyqwXJGhENJBwHzvK 7v3NM0GhNxz3TvPN9PaSCgqhihW6QpXR3+wvi0lPgAFiiDe9HMKVL/e5inaHKhM7vkou glujboL3AgiTV+PG9nr4I+njpD79MjyAZJnhwhiafgYeSh3tWeYBRac3QQQgAaXm61jH 95QVca2IkSIpcfFCVVhHVSA9d2M2e1BBAmGi7pE2tY+mM+4epbGpN7W30p9u7Fh7TiMQ EimQ== X-Gm-Message-State: ACrzQf3u+NG4UBxwKAJm9vK8IZoO+aP7voWiE/Xs5r4dpOZ8iHSuXiHD 5tYJkzluU7TepYMmyWBlY2qS/3rDc/8= X-Google-Smtp-Source: AMsMyM7RvaQIbZo7Bu/eaXU9hH3tSOB/95Ad9QQKD5cg9iNjwOQV+vzZfPdC6N6uo0042yu4w1w+sg== X-Received: by 2002:a5d:6da9:0:b0:22e:53bd:31c1 with SMTP id u9-20020a5d6da9000000b0022e53bd31c1mr34944959wrs.358.1666888108786; Thu, 27 Oct 2022 09:28:28 -0700 (PDT) Original-Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id h2-20020adfe982000000b002322bff5b3bsm1852451wrm.54.2022.10.27.09.28.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Oct 2022 09:28:28 -0700 (PDT) In-Reply-To: (Filipp Gunbin's message of "Thu, 27 Oct 2022 17:04:18 +0300") 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:246326 Archived-At: >>>>> 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-filename)= )) Filipp> (mapcar Filipp> (lambda (file) (file-name-sans-extension (file-relative-na= me 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 files were not gpg encrypted, nor that they were. Robert --=20