Keybase Client - bootstraponline/meta GitHub Wiki
Keybase Client
Building on macOS with brew installed git
Must use -tags production or keybase will run in dev mode and expect a local server to be running.
$ brew update; brew install go
$ go get github.com/keybase/client/go/keybase
$ cd ~/go/src/github.com/keybase/client/go/keybase
$ git checkout maxtaco/login-onetime
$ go install -tags production github.com/keybase/client/go/keybase
# Exit keybase if already running
$ keybase service
$ keybase oneshot
Error when cross compiling for linux 64 bit.
$ env GOOS=linux GOARCH=amd64 go build -v github.com/keybase/client/go/keybase
github.com/keybase/client/go/vendor/github.com/keybase/go-framed-msgpack-rpc/rpc/resinit
# github.com/keybase/client/go/vendor/github.com/keybase/go-framed-msgpack-rpc/rpc/resinit
../vendor/github.com/keybase/go-framed-msgpack-rpc/rpc/resinit/resinit.go:17:3: undefined: resInit
Building on Linux from custom location git
/usr/bin/git-remote-keybaseis required for encrypted git
Download official tarball.
$ nano ~/.bashrc
export GOPATH=$HOME/Desktop/golang
export GOROOT=$HOME/Desktop/go
export PATH=$GOROOT/bin:$PATH
export PATH=$GOPATH/bin:$PATH
Use same build commands as macOS. Binary ends up in $GOPATH/bin/keybase