Subsurface ans Dropbox

Anton Lundin glance at acc.umu.se
Wed May 27 10:10:20 PDT 2015


On 27 May, 2015 - Dirk Hohndel wrote:

> On Wed, May 27, 2015 at 09:55:31AM -0700, Linus Torvalds wrote:
> > On Wed, May 27, 2015 at 9:47 AM, Linus Torvalds
> > <torvalds at linux-foundation.org> wrote:
> > >
> > >                   The reason is sad: libgit2 doesn't have any sane
> > > authentication model. Real git will use your .ssh/config file to pick
> > > things like authentication keys and do proper user names and hostname
> > > translations, so you can set things up so that it "just works".
> > > libgit2 doesn't do any of that.
> > 
> > Just to clarify: real git doesn't actually do any authentication on
> > its own, it just depends on ssh - it executes an external program to
> > open the connection. So you get all the configurability that ssh has.
> > Per-site keys, per-site user-names etc etc.
> > 
> > libgit2, in contrast, wants to do everything by hand in C. It uses
> > libssh2, but that isn't the same thing at all as executing the ssh
> > program.
> 
> I still want to get this to work somehow. But every time I try to wrap my
> mind around what's missing and what's needed I get distracted. And it's
> not something I'm familiar enough with so that it would be easy to start
> and stop.
> 
> Even given that libgit2 uses libssh2 it should still be possible to craft
> a way to communicate with a server and keep a repository synced with that
> server...
> 
> It's software. All problems are solvable.
> 

The openssh folks have some ideas about finally producing a library based
on their code so there are still hopes that some time in the future<tm>
there will be a ssh-library that reads your .ssh/config just works<tm>.


//Anton


-- 
Anton Lundin	+46702-161604


More information about the subsurface mailing list