GNU bug report logs - #58985
29.0.50; Have auth-source-pass behave more like other back ends

Previous Next

Package: emacs;

Reported by: "J.P." <jp <at> neverwas.me>

Date: Thu, 3 Nov 2022 13:52:02 UTC

Severity: wishlist

Tags: patch

Found in version 29.0.50

Done: "J.P." <jp <at> neverwas.me>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: "J.P." <jp <at> neverwas.me>
To: Damien Cassou <damien <at> cassou.me>
Cc: emacs-erc <at> gnu.org, akib <at> disroot.org, 58985 <at> debbugs.gnu.org, tino.calancha <at> gmail.com
Subject: bug#58985: 29.0.50; Have auth-source-pass behave more like other back ends
Date: Sun, 06 Nov 2022 20:59:09 -0800
Hi Damien,

Damien Cassou <damien <at> cassou.me> writes:

> I think it's fine to break backward compatibility if it makes
> auth-source-pass closer to what auth-source requires.

There's some nice behavior that you introduced initially regarding
the narrowing of results, namely (from the info manual):

  If several entries match, the one matching the most items (where an
  "item" is one of username, port or host) is preferred. For example ...

It'd be a shame to lose that, since folks may have come to rely on it.
Perhaps it would be prudent to offer an escape hatch of some sort to
restore the existing behavior?

> I don't have time to review the code though, I'm sorry.

No worries at all.

Unfortunately, I don't use pass myself and am mostly concerned with
ERC's integration. The good news is an actual pass user, Akib (Cc'd),
has expressed some interest regarding this topic on emacs-devel, so I'm
hoping they'll step in and take over or collaborate in some fashion.
Also, I noticed that the password-store.el in zx2c4's contrib/emacs
subdir actually requires auth-source as a dependency, so I've Cc'd the
maintainer for that package as well.

Thanks,
J.P.




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

Previous Next


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