git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: The imporantance of including http credential caching in 1.7.7

From
Ted Zlatanov <tzz@lifelogs.com>
Date
Sep 9, 2011, 10:15 UTC
Message-ID
<87pqjaxbrm.fsf@lifelogs.com>
In-Reply-To
<4E69C8F0.9070204@drmicha.warpmail.net>
On Fri, 09 Sep 2011 10:06:08 +0200 Michael J Gruber <git@drmicha.warpmail.net> wrote: 
Show 6 quoted lines
>> In the meantime, the best thing we can do to push it forward is to write
>> helpers. I implemented some basic ones that should work anywhere, but
>> aren't as nice as integration with existing keychains. Some people are
>> working on Linux ones. The single best thing GitHub can do to push this
>> forward right now is to provide a well-written OS X Keychain helper, and
>> to provide feedback on whether git's end of the API is good enough.

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?

The OS X Keychain helper should be pretty easy in terms of the system calls (he says after a quick Google search), the hard part IMHO is figuring out the right way to store credentials in it. There are several ways to structure the schema.

For modern Linux systems it's best to target the Secrets API, which is DBUS and XML-based and works with both the KDE and GNOME keychains. I only know about it what I have learned from Michael Albinus' interface in the Emacs source tree, but it certainly seems capable enough. This is what Jeff King was alluding to, I think, about what I'm working on. I have not been able to work on it so far, not for lack of trying.

My #1 target is to implement a GPG-based credential helper using a netrc-style file. I believe that would be the most useful one, though not the easiest one to set up for inexperienced users.

Ted
Previous: Michael J GruberNext: John Szakmeister
Message 18 of 24 in “The imporantance of including http credential caching in 1.7.7”
  1. Kyle NeathSep 7, 2011
  2. Sverre RabbelierSep 7, 2011
  3. Kyle NeathSep 7, 2011
  4. Junio C HamanoSep 7, 2011
  5. Michael J GruberSep 7, 2011
  6. Kyle NeathSep 7, 2011
  7. Junio C HamanoSep 7, 2011
  8. Philip OakleySep 7, 2011
  9. Junio C HamanoSep 7, 2011
  10. Michael J GruberSep 8, 2011
  11. John SzakmeisterSep 8, 2011
  12. Jeff KingSep 8, 2011
  13. Michael J GruberSep 9, 2011
  14. Miles BaderSep 9, 2011
  15. Jeff KingSep 9, 2011
  16. Jeff KingSep 8, 2011
  17. Michael J GruberSep 9, 2011
  18. Ted ZlatanovSep 9, 2011
  19. John SzakmeisterSep 9, 2011
  20. Erik Faye-LundSep 9, 2011
  21. John SzakmeisterSep 9, 2011
  22. Ted ZlatanovSep 9, 2011
  23. Ted ZlatanovSep 9, 2011
  24. Jeff KingSep 9, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.