Re: The imporantance of including http credential caching in 1.7.7
- From
Erik Faye-Lund <kusmabite@gmail.com>
- Date
- Sep 9, 2011, 10:48 UTC
- Message-ID
- <CABPQNSbrjNR73GxE4xXFPqaVSUOaa5Drt4Je+zGY82rzajQxuw@mail.gmail.com>
- In-Reply-To
- <CAEBDL5VtVZcmQnj2CH7XzZ0YV_X61gO69-dXriGiYsAqk=NLPg@mail.gmail.com>
On Fri, Sep 9, 2011 at 12:32 PM, John Szakmeister <john@szakmeister.net> wrote:
Show 15 quoted lines
> [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 <tzz@lifelogs.com>: > [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