Ethan Glasser-Camp <ethan.glasser.c...@gmail.com> writes:

Hi Ethan,

> Ah, I see. I saw an entry in Emacs NEWS I saw when researching the
> issue with the title "Proper password prompts for methods "doas",
> "sudo" and "sudoedit".

Yes.

> Is this the same subject? Both entries in GNOME Secrets have
> `root@black-diamond` as the "label" and `root` as the user.
>
> ...
>
> I was referring specifically to this line in
> `auth-source-secrets-create`:
>
> (let* (...
>          (current-data (car (auth-source-search :max 1
>                                                 :host host
>                                                 :port port)))
>
> It seems like this would be liable to grab the secret for another user
> on the same host/port. For example, if I was using the `ssh` method,
> then `host` and `port` would not be unique, right? In my usage, with
> `sudo`, that's fine. Of course, I only skimmed the function and I may
> be misunderstanding.

I will check both issues tomorrow. Too tired for now.

> Thanks,
>
> Ethan

Best regards, Michael.

Reply via email to