Subsurface ans Dropbox

Linus Torvalds torvalds at linux-foundation.org
Wed May 27 09:55:31 PDT 2015


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.

                       Linus


More information about the subsurface mailing list