]> dgit.raspbian.org Git - git-annex.git/commitdiff
(no commit message)
authorcodecircuit <codecircuit@web>
Fri, 28 Feb 2020 11:16:24 +0000 (11:16 +0000)
committeradmin <admin@branchable.com>
Fri, 28 Feb 2020 11:16:24 +0000 (11:16 +0000)
doc/forum/Store_annexed_files_encrypted_on_special_remote_with_gcrypt.mdwn [new file with mode: 0644]

diff --git a/doc/forum/Store_annexed_files_encrypted_on_special_remote_with_gcrypt.mdwn b/doc/forum/Store_annexed_files_encrypted_on_special_remote_with_gcrypt.mdwn
new file mode 100644 (file)
index 0000000..4812c6f
--- /dev/null
@@ -0,0 +1,12 @@
+Hello,
+
+my final goal is to store files on an untrusted external server/USB drive in an encrypted git repository.
+
+- First I set up the external git repository with `git init --bare /path/to/external`
+- Second I add the special remote with `git annex initremote encrypted-origin type=gcrypt gitrepo=/path/to/external encryption=hybrid keyid=$keyid`
+- Then I sync with `git annex sync`
+- Then I copy the files to the remote with `git annex copy -t encrypted-origin`
+
+I can now see the annexed files in the remote repository **unencrypted**. I do not want the copied files to be readable on the remote.
+
+Is that the intended behaviour, or did I do something wrong?