diff --git a/doc/forum/Keybase_encrypted_git_as_a_remote__63__/comment_1_38d868bf2e93c43091f9f337d9ec840d._comment b/doc/forum/Keybase_encrypted_git_as_a_remote__63__/comment_1_38d868bf2e93c43091f9f337d9ec840d._comment new file mode 100644 index 0000000000..082c0c0664 --- /dev/null +++ b/doc/forum/Keybase_encrypted_git_as_a_remote__63__/comment_1_38d868bf2e93c43091f9f337d9ec840d._comment @@ -0,0 +1,10 @@ +[[!comment format=mdwn + username="501st_alpha1" + avatar="http://cdn.libravatar.org/avatar/b6fde94dbf127b822f7b6109399d50c9" + subject="Figured out how to sync with Keybase" + date="2019-03-07T06:52:25Z" + content=""" +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//.git`). A plain `git annex sync` worked, since that just syncs the normal Git branches. When I tried to do a sync with `--content`, it failed with `unable 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//git-annex-files// encryption=none`. I originally tried a `directory` special remote, but when I did `git annex sync --content keybase-directory`, it worked for a while, but I started getting `rename: interrupted (Interrupted system call)` and similar errors. Switching to an rsync remote fixed the errors. I added a script [here](https://github.com/501st-alpha1/scott-script/blob/eba2827ebc1b61fe6b0c2fb2acc9b8cf6641465c/git-annex-add-keybase) 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](https://github.com/keybase/client/issues/16467), running `run_keybase` to restart all the Keybase services fixed the issue for me. +"""]]