Re: bug#58985: 29.0.50; Have auth-source-pass behave more like other back ends

Akib Azmain Turja <[email protected]>
Newsgroups gmane.emacs.erc.general,gmane.emacs.bugs
Message-ID <[email protected]>
Akib Azmain Turja via "Bug reports for GNU Emacs, the Swiss army knife
of text editors" <[email protected]> writes:

> Michael Albinus <[email protected]> writes:
>
>> "J.P." <[email protected]> writes:
>>
>> Hi,
>>
>>> v2. Respect existing user option.
>>
>> I'm not familiar with the auth-source-pass.el implementation, so I
>> cannot speak too much about your patch. Reading it roughly, I haven't
>> found serious flaws, 'tho.
>
> It has a serious flaw AFAIK.  I have a password entry
> "[email protected]", and this legitimate search query doesn't find it:
>
> (auth-source-search :host "disroot.org")
>
> But if specify the user, it finds the entry:
>
> (auth-source-search :host "disroot.org" :user "akib")
>
> And the entries can also be ambiguous.  For example, the entry at path
> "foo.org/bar.net" might be interpreted as the password of bar.net, or
> as the password of the user "bar.net" on "foo.org".  The current
> implementation seems to interpret such entries unpredictably.
>

I mean, the current implementation, not the patch.

-- 
Akib Azmain Turja --- https://akib.codeberg.page/
GPG key: 70018CE5819F17A3BBA666AFE74F0EFA922AE7F5
Fediverse: [email protected], Codeberg: akib
emailselfdefense.fsf.org | "Nothing can be secure without encryption."
signature.asc (application/pgp-signature, 832 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEyVTKmrtL6kNBe3FRVTX89U2IYWsFAmNspHgACgkQVTX89U2I
YWt+uhAAoBa94+XLYY3VrmZBtG7+7dif1nGJi0f9ObsbW05W1gH8VVOherurepfr
taH0Vr870XBXDa0EGPbUb9XGd3jAhK+GKw6mDqeTnkMMmjEmU9I84qah9d0sPKmG
LIx/O71rrWJFAVxS8EDhA7ynWOIs0m5Zw1TUu3+YAokW/2zldGe0c42ldQPx+I4P
ohDfQHKdWGpAzsbqjHrD18ncxeO5jdorONDGbFrs7/uqJYiotTHDKPOZJ5YJJJZG
9gplywPcvnANDzve5dHILtuJxRaMaNSLQ6lnAiiSdZCfJ75y8iFnDKA5USEzcR+O
UD7/yJom8QK2p6N0hAPES0a5mvcLsBOvTqP1R7A/syVbmmmBDqQiUwddYlY7ScZ4
bZCnflrGs0oCxBtAMfdyvJ6OMJOANW0ewoLgAYMTh/Ja4lw16SdYDyohTDGv/CaG
fKeGgDeYte134TX5K8ZVHytfEfdSSVclpBQB7CmWLV0ARzn03HLQF8zNa5NtE1JT
E/ZQ57hzAjbfJgyR68DAGn/fFzXlWvW+ScLZyGqK1PBd4o5knhhnHY3X9s1cTbTq
/8g3PRcB4WkegbAQqmATcT26HV0QZhgItdv/E9//HlPoI/l1S8wt7SAfVwHk06f7
jvjjaG9b8l0CoJUIOZaLU1pLD5NzHbnGnccavxZ+eTYrGaBqZ0I=
=lsio
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.