How to use keybase's git inside docker?

175 Views Asked by At

I have a keybase client running in the machine, but I want to be able to push commits from inside the container. However, keybase works a little different than git itself. It provides a git 'url' like this: keybase://private/user/project_name.

I don't know which protocol it uses, but git is able to reach the keybase client on my machine, which encrypts everything and sends to the keybase cloud.

1

There are 1 best solutions below

3
On

As described in "Keybase launches encrypted git", a git clone with such an URL works because a remote helper is used:

keybase/client/go/kbfs/kbfsgit

Keybase's remote helper performs all the crypto while letting git do its thing.