On Wednesday, May 25, 2011, Ted Zlatanov <[email protected]> wrote:

> Hi,
>
> I wanted to suggest that on GNU Emacs Magit could use
> `auth-source-search' (see (info "auth") for details) to retrieve user
> passwords for such interactive prompts.  auth-source.el works in XEmacs
> too; it's part of Gnus right now but can be unbundled if you want to use
> it there.  `magit-password' can then be modified to use the matched
> string data (key name or user@host) for the search.

At the moment Magit actually *never* asks for a password; it invokes
Git as a subprocess, and Git asks for a password if needed.  I've
found a scenario where this fails under GNU/Linux [1], and I don't
know if it ever works under Windows [2].

I, for one, would certainly welcome a solution that works all the time.

[1] https://github.com/magit/magit/issues/154
[2] https://github.com/magit/magit/issues/188

-- 

-PJ

Reply via email to