summaryrefslogtreecommitdiff
path: root/doc/tips/fully_encrypted_git_repositories_with_gcrypt.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-09-24 17:25:47 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-09-24 17:25:47 -0400
commite06bf0da75294b33188cde319c29d93266fd4bb3 (patch)
treed8c409e1b9ad3d060e1bb5b80ed2e101e1d43c21 /doc/tips/fully_encrypted_git_repositories_with_gcrypt.mdwn
parenta7f9ddb8de7c1e0357046d3dc9efc644bd5fb730 (diff)
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/
Diffstat (limited to 'doc/tips/fully_encrypted_git_repositories_with_gcrypt.mdwn')
-rw-r--r--doc/tips/fully_encrypted_git_repositories_with_gcrypt.mdwn10
1 files changed, 7 insertions, 3 deletions
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