aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Unterwurzacher2021-08-17 15:45:05 +0200
committerJakob Unterwurzacher2021-08-17 15:45:05 +0200
commit3343eef8974ff6d5b4cf2649e4eaa77afa13f480 (patch)
tree92401adb0a4a01479280277b0cb2d73a2bdc95ba
parentdf56e88145d26101d6db4c98ac69bdd511113e9b (diff)
quickstart: add cloud storage example
https://github.com/rfjakob/gocryptfs/issues/501
-rw-r--r--docs/quickstart.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/quickstart.md b/docs/quickstart.md
index 2313d6a..f91a121 100644
--- a/docs/quickstart.md
+++ b/docs/quickstart.md
@@ -58,3 +58,17 @@ up encrypted in the `cipher` directory.
$ touch plain/test.txt
$ ls cipher
gocryptfs.conf gocryptfs.diriv ZSuIZVzYDy5-TbhWKY-ciA==
+
+Cloud Storage
+-------------
+
+When you want to store your encrypted data on cloud storage (Dropbox in this example),
+the `cipher` folder should be inside the `Dropbox` folder but the `plain` folder
+should be **outside**! Example:
+
+ $ mkdir ~/Dropbox/cipher
+ $ mkdir ~/plain
+ $ gocryptfs -init ~/Dropbox/cipher
+ $ gocryptfs ~/Dropbox/cipher ~/plain
+
+This makes sure that Dropbox only syncs the encrypted version of your data.