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

Re: Revamping the git protocol

From
Petr Baudis <pasky@suse.cz>
Date
Oct 20, 2005, 09:12 UTC
Message-ID
<20051020091245.GY30889@pasky.or.cz>
In-Reply-To
<7vwtk8pvju.fsf@assigned-by-dhcp.cox.net>

Dear diary, on Thu, Oct 20, 2005 at 08:11:17AM CEST, I got a letter where Junio C Hamano <junkio@cox.net> told me that...

Show 7 quoted lines
> I am wondering if we can just get away with a simpler scheme
> Linus outlined instead.  One drawback of that approach is it
> does not easily allow things like challenge-response uniformly
> across different commands (admittedly we only have "upload-pack"
> command right now, but we could add list of supported commands
> easily in execute()), but you could do something along this, I
> presume?

What's wrong with my scheme? That is, _reply_ with challenge to the upload-pack command. This should be equally powerful to the Linus' scheme and the crucial advantage is that you do not need to tell at the client side whether you are talking to a new server or an old one.

I was convinced that the authentication part of the challenge-resposne isn't such a good idea after all, though. ;-)

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
VI has two modes: the one in which it beeps and the one in which
it doesn't.
Previous: Junio C HamanoNext: H. Peter Anvin
Message 3 of 10 in “Revamping the git protocol”
  1. H. Peter AnvinOct 20, 2005
  2. Junio C HamanoOct 20, 2005
  3. Petr BaudisOct 20, 2005
  4. H. Peter AnvinOct 20, 2005
  5. Petr BaudisOct 21, 2005
  6. Linus TorvaldsOct 20, 2005
  7. H. Peter AnvinOct 20, 2005
  8. Linus TorvaldsOct 20, 2005
  9. Johannes SchindelinOct 20, 2005
  10. Linus TorvaldsOct 20, 2005

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.