[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#58807: 28.1; Authentication in Gnus using password-store backend of
From: |
Filipp Gunbin |
Subject: |
bug#58807: 28.1; Authentication in Gnus using password-store backend of auth-source |
Date: |
Thu, 27 Oct 2022 17:04:18 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Hi,
On 26/10/2022 21:30 +0200, bk@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@asterio.cloud
> ├── bk@asterio.cloud@127.0.0.1
> ├── bk@asterio.cloud@localhost
> └── localhost
> └── bk@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