From: Erik Faye-Lund Date: Fri, 09 Sep 2011 10:48:48 GMT Subject: Re: The imporantance of including http credential caching in 1.7.7 Message-ID: In-Reply-To: On Fri, Sep 9, 2011 at 12:32 PM, John Szakmeister wrote: > [Added back some of the CC's] > > Ted: we don't usually cull the CC list on the git mailing list. > > 2011/9/9 Ted Zlatanov : > [snip] >> MJG> ... and one for Git on Windows? It seems we're lacking both Win and OS X >> MJG> developers here. >> >> Windows doesn't have a standard keychain service, does it? > > No, it doesn't, but you can use the wincrypt API which allows you to > at least encrypt the password from the user's login credentials.  In > particular, CryptProtectData() and CryptUnprotectData().  That way you > can at least have the password stored encrypted on disk. Actually, it seems recent Windows versions does have a credential manager, including an API: http://www.yanzzee.com/2009/09/windows-keychain.html http://msdn.microsoft.com/en-us/library/aa374731(v=VS.85).aspx#credentials_management_functions