GNU bug report logs - #58807
28.1; Authentication in Gnus using password-store backend of auth-source

Previous Next

Package: emacs;

Reported by: bk <at> asterio.cloud

Date: Thu, 27 Oct 2022 00:11:02 UTC

Severity: normal

Found in version 28.1

Fixed in version 29.1

Done: Robert Pluim <rpluim <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #20 received at 58807 <at> debbugs.gnu.org (full text, mbox):

From: Filipp Gunbin <fgunbin <at> fastmail.fm>
To: bk <at> asterio.cloud
Cc: 58807 <at> debbugs.gnu.org
Subject: Re: bug#58807: 28.1; Authentication in Gnus using password-store
 backend of auth-source
Date: Thu, 27 Oct 2022 17:04:18 +0300
Hi,

On 26/10/2022 21:30 +0200, bk <at> asterio.cloud wrote:

[...]

> According to documentation [1] I tried numerous of entries of my user
> password in pass:
> pass ls
> Password Store
> ├── 127.0.0.1
> │   └── bk <at> asterio.cloud
> ├── bk <at> asterio.cloud <at> 127.0.0.1
> ├── bk <at> asterio.cloud <at> localhost
> └── localhost
>     └── bk <at> asterio.cloud
>

Looks like you forgot to gpg-encrypt the files, while the code
explicitly looks for them:

--8<---------------cut here---------------start------------->8---
(defun auth-source-pass-entries ()
  "Return a list of all password store entries."
  (let ((store-dir (expand-file-name auth-source-pass-filename)))
    (mapcar
     (lambda (file) (file-name-sans-extension (file-relative-name file store-dir)))
     (directory-files-recursively store-dir "\\.gpg\\'"))))
--8<---------------cut here---------------end--------------->8---

I tested using setup similar to yours, but with gpg files -- it worked.

Filipp




This bug report was last modified 2 years and 208 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.