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 index 0000000000..4812c6f0b4 --- /dev/null +++ b/doc/forum/Store_annexed_files_encrypted_on_special_remote_with_gcrypt.mdwn @@ -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?