kbfs
kbfs copied to clipboard
fatal: Unable to find remote helper for 'keybase'
How exactly does one git push or git clone with Keybase encrypted repository?
I am using latest OSX and Keybase and git 2.14.2.
Hi @ericjarvies. The latest Keybase comes with a binary installed in /usr/local/bin/git-remote-keybase. As long as /usr/local/bin is in your $PATH, then git on the command line should find it and use it for keybase remote URLs.
Are you using git from the command line? Is /usr/local/bin in your $PATH?
Hmm... it's not in my /usr/local/bin folder. Do I need to download and [re]install the latest version of Keybase in order for git-remote-keybase to install?
What version are you running? Did you disable auto-updates? Maybe try keybase update check?
NeedUpdate:false
My default OS X installation of git is in /usr/bin, but I upgraded git using Homebrew, and all of my brew installations are installed in my home folder (e.g.- ~/homebrew/bin/), and I renamed /usr/bin/git to /usr/bin/git-apple and created a git alias in /usr/bin/ that points to ~/homebrew/bin/, and of course /usr/bin/ and /usr/local/bin/ are in my path.
Where might I grab git-remote-keybase?
It's in the latest OSX package. You can try downloading it manually from our website I guess. Or you can do a keybase log send and we can see what version you're running.
It seems Keybase is not creating aliases in /usr/bin/ or /usr/local/bin/ to the Keybase.app/SharedSupport/bin/ folder for the various other files, e.g.- git-remote-keybase, kbfs, kbnm, and updater, assuming all of them need aliases like keybase does.
Hmm, I'm not actually an expert on the layout of the OSX installed files.
@cjb: any ideas here? Is there supposed to be a symlink to the git helper in /usr/local/bin?
Logs: a25a940c7939c2bca91fdf1c
Something like this;
sudo ln -s /Applications/Keybase.app/Contents/SharedSupport/bin/git-remote-keybase /usr/local/bin/git-remote-keybase?
Yup, that did the trick;
git clone keybase://private/ericjarvies/password_list
Cloning into password_list...
Initializing Keybase... done.
Syncing with Keybase... done.
Syncing encrypted data to Keybase: (100.00%) 2.97/2.97 KB... done.
warning: You appear to have cloned an empty repository.
So, a symbolic link needs to be created when Keybase performs the upgrade? e,g,-
sudo ln -s /Applications/Keybase.app/Contents/SharedSupport/bin/git-remote-keybase /usr/local/bin/git-remote-keybase
and what about these; kbfs kbnm updater ?
I can confirm I ran into this too using a fresh install of keybase and having similar homebrew setup.
I was able to originally clone a repo, but calling git pull showed the error from the OP.
I also did the ln -s /Applications/Keybase.app/Contents/SharedSupport/bin/git-remote-keybase /usr/local/bin/git-remote-keybase but did not need to include sudo when running the command.
After that git pull worked again.
In my case it was because of 2 things:
- No symlinks for Keybase utils in
/usr/local/bin; - No symlink for
/usr/bin/gitin/usr/local/bin/.