GNU bug report logs -
#49243
27.2; [PATCH] Merge auth-source-pass changes from upstream
Previous Next
Reported by: Damien Cassou <damien <at> cassou.me>
Date: Sun, 27 Jun 2021 16:03:01 UTC
Severity: normal
Tags: patch
Found in version 27.2
Fixed in version 28.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 49243 in the body.
You can then email your comments to 49243 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#49243
; Package
emacs
.
(Sun, 27 Jun 2021 16:03:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Damien Cassou <damien <at> cassou.me>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sun, 27 Jun 2021 16:03:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi,
please find attached a few patches for auth-source-pass that were merged
upstream.
Damien Cassou (2):
; * lisp/auth-source-pass.el: Improve docstrings
; * lisp/auth-source-pass.el: Remove useless metadata
Iku Iwasa (1):
lisp/auth-source-pass.el: Support multiple hosts in search spec
Tino Calancha (1):
lisp/auth-source-pass.el: Keep legitimate spaces inside data
lisp/auth-source-pass.el | 61 ++++++++++++++++-------------
test/lisp/auth-source-pass-tests.el | 24 +++++++++++-
2 files changed, 57 insertions(+), 28 deletions(-)
--
Damien Cassou
"Success is the ability to go from one failure to another without
losing enthusiasm." --Winston Churchill
[0001-lisp-auth-source-pass.el-Support-multiple-hosts-in-s.patch (text/x-patch, attachment)]
[0002-lisp-auth-source-pass.el-Improve-docstrings.patch (text/x-patch, attachment)]
[0003-lisp-auth-source-pass.el-Remove-useless-metadata.patch (text/x-patch, attachment)]
[0004-lisp-auth-source-pass.el-Keep-legitimate-spaces-insi.patch (text/x-patch, attachment)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#49243
; Package
emacs
.
(Mon, 28 Jun 2021 13:09:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 49243 <at> debbugs.gnu.org (full text, mbox):
>>>>> On Sun, 27 Jun 2021 18:02:01 +0200, Damien Cassou <damien <at> cassou.me> said:
Damien> Hi,
Damien> please find attached a few patches for auth-source-pass that were merged
Damien> upstream.
Damien> Damien Cassou (2):
Damien> ; * lisp/auth-source-pass.el: Improve docstrings
Damien> ; * lisp/auth-source-pass.el: Remove useless metadata
Damien> Iku Iwasa (1):
Damien> lisp/auth-source-pass.el: Support multiple hosts in search spec
Hmm, if auth-source-search supports multiple hosts, it would be good
if that were documented in the info manual.
Robert
--
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#49243
; Package
emacs
.
(Wed, 30 Jun 2021 13:10:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 49243 <at> debbugs.gnu.org (full text, mbox):
Damien Cassou <damien <at> cassou.me> writes:
> please find attached a few patches for auth-source-pass that were merged
> upstream.
Thanks; looks good to me. You can still push directly to Emacs, I
think? Or do you want me to apply the patches?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#49243
; Package
emacs
.
(Wed, 30 Jun 2021 16:10:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 49243 <at> debbugs.gnu.org (full text, mbox):
Lars Ingebrigtsen <larsi <at> gnus.org> writes:
> Thanks; looks good to me. You can still push directly to Emacs, I
> think? Or do you want me to apply the patches?
I would feel safer if you do it for me :-).
> Hmm, if auth-source-search supports multiple hosts, it would be good
> if that were documented in the info manual.
not sure because supporting only one host was a bug: auth-source-pass
wasn't implementing the auth-source protocol correctly.
--
Damien Cassou
"Success is the ability to go from one failure to another without
losing enthusiasm." --Winston Churchill
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#49243
; Package
emacs
.
(Wed, 30 Jun 2021 17:57:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 49243 <at> debbugs.gnu.org (full text, mbox):
>>>>> On Wed, 30 Jun 2021 18:09:32 +0200, Damien Cassou <damien <at> cassou.me> said:
Damien> Lars Ingebrigtsen <larsi <at> gnus.org> writes:
>> Thanks; looks good to me. You can still push directly to Emacs, I
>> think? Or do you want me to apply the patches?
Damien> I would feel safer if you do it for me :-).
>> Hmm, if auth-source-search supports multiple hosts, it would be good
>> if that were documented in the info manual.
Damien> not sure because supporting only one host was a bug: auth-source-pass
Damien> wasn't implementing the auth-source protocol correctly.
That last bit was me, not Lars. I was trying to nudge you to go look
at the 'developers' section of the auth-source info manual and bring
its documentation in line with the implementation, since it currently
doesnʼt say anything about multiple hosts.
Robert
--
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#49243
; Package
emacs
.
(Fri, 02 Jul 2021 10:55:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 49243 <at> debbugs.gnu.org (full text, mbox):
Damien Cassou <damien <at> cassou.me> writes:
> Lars Ingebrigtsen <larsi <at> gnus.org> writes:
>> Thanks; looks good to me. You can still push directly to Emacs, I
>> think? Or do you want me to apply the patches?
>
> I would feel safer if you do it for me :-).
Sure; no prob. :-) Pushed now to Emacs 28.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
bug marked as fixed in version 28.1, send any further explanations to
49243 <at> debbugs.gnu.org and Damien Cassou <damien <at> cassou.me>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Fri, 02 Jul 2021 10:55:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#49243
; Package
emacs
.
(Fri, 02 Jul 2021 13:34:01 GMT)
Full text and
rfc822 format available.
Message #25 received at 49243 <at> debbugs.gnu.org (full text, mbox):
Robert Pluim <rpluim <at> gmail.com> writes:
> That last bit was me, not Lars. I was trying to nudge you to go look
> at the 'developers' section of the auth-source info manual and bring
> its documentation in line with the implementation, since it currently
> doesnʼt say anything about multiple hosts.
I've just checked. The info manual says:
-- Function: auth-source-search &rest spec &key type max host user port
secret require create delete &allow-other-keys
This function searches (or modifies) authentication backends
according to SPEC. See the function’s doc-string for details.
And the docstring says:
A string value is always matched literally. A symbol is matched as
its string value, literally. All the SPEC values can be single values
(symbol or string) or lists thereof (in which case any of the search
terms matches).
I think this is good enough.
--
Damien Cassou
"Success is the ability to go from one failure to another without
losing enthusiasm." --Winston Churchill
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#49243
; Package
emacs
.
(Fri, 02 Jul 2021 13:49:01 GMT)
Full text and
rfc822 format available.
Message #28 received at 49243 <at> debbugs.gnu.org (full text, mbox):
>>>>> On Fri, 02 Jul 2021 15:33:36 +0200, Damien Cassou <damien <at> cassou.me> said:
Damien> Robert Pluim <rpluim <at> gmail.com> writes:
>> That last bit was me, not Lars. I was trying to nudge you to go look
>> at the 'developers' section of the auth-source info manual and bring
>> its documentation in line with the implementation, since it currently
>> doesnʼt say anything about multiple hosts.
Damien> I've just checked. The info manual says:
Damien> -- Function: auth-source-search &rest spec &key type max host user port
Damien> secret require create delete &allow-other-keys
Damien> This function searches (or modifies) authentication backends
Damien> according to SPEC. See the function’s doc-string for details.
Damien> And the docstring says:
Damien> A string value is always matched literally. A symbol is matched as
Damien> its string value, literally. All the SPEC values can be single values
Damien> (symbol or string) or lists thereof (in which case any of the search
Damien> terms matches).
Ah, I didnʼt go back to the docstring
Damien> I think this is good enough.
Yes
Damien> "Success is the ability to go from one failure to another without
Damien> losing enthusiasm." --Winston Churchill
:-)
Robert
--
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 31 Jul 2021 11:24:06 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 269 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.