Re: tramp (2.6.2.29.2 nil/nil); wrong-type-argument "stringp #[0 \\300\\207 [my actual password.."
Michael Albinus <[email protected]> Wed, 12 Jun 2024 19:27:15 +0200
| Newsgroups | gmane.emacs.tramp |
|---|---|
| Message-ID | <[email protected]> |
Ethan Glasser-Camp <[email protected]> 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.