Hello,
Does anybody have experience of the new keybase encrypted git as a remote for git annex?
Details can be found here: https://keybase.io/blog/encrypted-git-for-everyone
Hello,
Does anybody have experience of the new keybase encrypted git as a remote for git annex?
Details can be found here: https://keybase.io/blog/encrypted-git-for-everyone
While it doesn't "just work", I was able to get a solution set up that allows me to use a Keybase encrypted Git repo as a remote. I added the encrypted remote (with URL e.g.
keybase://private/<user>/<repo>.git
). A plaingit annex sync
worked, since that just syncs the normal Git branches. When I tried to do a sync with--content
, it failed withunable to check keybase
. My current workaround is to add a special remote that points to KBFS, e.g.git annex initremote keybase-rsync type=rsync directory=/keybase/private/<user>/git-annex-files/<repo>/ encryption=none
. I originally tried adirectory
special remote, but when I didgit annex sync --content keybase-directory
, it worked for a while, but I started gettingrename: interrupted (Interrupted system call)
and similar errors. Switching to an rsync remote fixed the errors. I added a script here to automate that plus a few other checks.Part way through the sync, I ran into an issue where it would hang immediately after sending a file to KBFS. As documented here, running
run_keybase
to restart all the Keybase services fixed the issue for me.