15

2020-04-08-using-keybase-for-secure-git-repos

 4 years ago
source link: https://github.com/tamouse/swaac/blob/master/posts/2020/04/2020-04-08-using-keybase-for-secure-git-repos.md
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
title date category tags

Using Keybase.io for secure git repos

2020-04-08T16:06

git

git

keybase

secure

repos

The Keybase.io provides a Git server to provide an end-to-end encrypted way to access and store a git remote repo. This is helpful for repos you don't want visible to the public, at any point. Some private repos are still visible in some ways, but the ones on Keybase enjoy strong encryption all the way through.

Keybase command line

To see the git capabilities, try this from the command line:

$ keybase git help
NAME:
   keybase git - Manage git repos

USAGE:
   keybase git <command> [arguments...]

COMMANDS:
   create	Create a personal or team git repository.
   delete	Delete a personal or team git repository.
   gc		Run garbage collection on a personal or team git repository.
   lfs-config	Configures a keybase git checkout to use LFS
   list		List the personal and team git repositories you have access to.
   settings	View and change team repo settings
   help, h	Shows a list of commands or help for one command

How I use it

I have a repo of emacs org-mode files kept in a local .git repo. To make a keybase git remote, I do the following things:

$ pushd ~/org
$ keybase git list
$ keybase git create org-files
$ git remote rename origin oldorigin
$ git remote add origin keybase://private/tamouse_/org-files
$ git push -u origin master

Keybase GUI

You can also create a new repository from the Git tab in the Keybase app.

For existing repos, you can get the remote url to set the local git remote to.

Example

aeaqeqF.jpg!web


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK