From: bk@asterio.cloud
To: ding@gnus.org
Subject: Unable to authenticate to local dovecot server in Gnus using password-store as auth-source backend
Date: Wed, 26 Oct 2022 21:08:33 +0200 [thread overview]
Message-ID: <e49eedc90b9f1c67816f34d9bc1785c8@asterio.cloud> (raw)
Hi,
As is written in subject I can't authenticate to my local dovecot server
when I have enabled pass backend in auth-source. I don't have this
problem in default ~/.authinfo file. If it's not exist it's generated by
Emacs and contain line as follows:
machine localhost login bk@asterio.cloud password pass
My minimal ~/.emacs file
(setq auth-source-debug 'trivia)
(setq auth-sources '(password-store))
(setq gnus-select-method '(nnnil ""))
(setq gnus-secondary-select-methods
'((nnimap "localhost"
(nnimap-address "127.0.0.1")
(nnimap-stream network)
(nnimap-authenticator login)
(nnimap-server-port 1143)
(nnimap-user "bk@asterio.cloud"))))
According to documentation [1] I tried numerous of entries of my user
password entry 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
But none of this works and in *Messages* buffer I have always following
logs:
auth-source-backend-parse: invalid backend spec: password-store
auth-source-search: found 1 backends matching (:max 1 :host ("localhost"
"127.0.0.1") :port (1143 "imap" "143") :user "bk@asterio.cloud" :require
(:user :secret) :create t)
auth-source-search: found 0 results (max 1) matching (:max 1 :host
("localhost" "127.0.0.1") :port (1143 "imap" "143") :user
"bk@asterio.cloud" :require (:user :secret) :create t)
auth-source-search: CREATED 0 results (max 1) matching (:max 1 :host
("localhost" "127.0.0.1") :port (1143 "imap" "143") :user
"bk@asterio.cloud" :require (:user :secret) :create t)
Opening nnimap server on localhost...failed:
Does anyone has similar setup and it works?
[1]
https://www.gnu.org/software/emacs/manual/html_node/auth/The-Unix-password-store.html
next reply other threads:[~2022-10-26 19:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-26 19:08 bk [this message]
2022-10-27 8:24 ` Robert Pluim
2022-10-27 8:43 ` Emanuel Berg
2022-10-27 9:18 ` Bartosz Kaczyński
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e49eedc90b9f1c67816f34d9bc1785c8@asterio.cloud \
--to=bk@asterio.cloud \
--cc=ding@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).