From e06bf0da75294b33188cde319c29d93266fd4bb3 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 24 Sep 2013 17:25:47 -0400 Subject: git-annex-shell: Added support for operating inside gcrypt repositories. * Note that the layout of gcrypt repositories has changed, and if you created one you must manually upgrade it. See http://git-annex.branchable.com/upgrades/gcrypt/ --- doc/tips/fully_encrypted_git_repositories_with_gcrypt.mdwn | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'doc/tips') diff --git a/doc/tips/fully_encrypted_git_repositories_with_gcrypt.mdwn b/doc/tips/fully_encrypted_git_repositories_with_gcrypt.mdwn index 567976d96..5559acfae 100644 --- a/doc/tips/fully_encrypted_git_repositories_with_gcrypt.mdwn +++ b/doc/tips/fully_encrypted_git_repositories_with_gcrypt.mdwn @@ -50,14 +50,18 @@ the gpg key used to encrypt it, and then: ## encrypted git-annex repository on a ssh server -If you have a ssh server that has git-annex and rsync installed, you can -set up an encrypted repository there. Works just like the encrypted drive -except without the cable. +If you have a ssh server that has rsync installed, you can set up an +encrypted repository there. Works just like the encrypted drive except +without the cable. First, on the server, run: git init --bare encryptedrepo +(Also, install git-annex on the server if it's possible & easy to do so. +While this will work without git-annex being installed on the server, it +is recommended to have it installed.) + Now, in your existing git-annex repository: git annex initremote encryptedrepo type=gcrypt gitrepo=ssh://my.server/home/me/encryptedrepo keyid=$mykey -- cgit v1.2.3