Skip to content

Navigation Menu

Sign in
Sign up

What is Reverse mode? #1007

Unanswered
physkets asked this question in Q&A
May 6, 2026 · 1 comments · 3 replies
Discussion options

Hi, I hope this isn't a stupid question.

Could someone explain to me what exactly "reverse mode" is?
The documentation states that: "In reverse mode, gocryptfs provides an encrypted view of a plain-text directory. The primary use-case are encrypted backups."
( https://nuetzlich.net/gocryptfs/reverse_mode_crypto/ )

What exactly does that mean?

You must be logged in to vote

Replies: 1 comment 3 replies

Comment options

lets say you have a dropbox or whatever sync that just looks whats there, and then syncs it up. Then you could reverse mount it in that magic directory.

Or, you reverse mount a directory, and then click "upload directory" in your cloud backup web form.

You must be logged in to vote
3 replies
Comment options

i.e. you get a "virtual" cipher folder without needing to actually have the duplicated storage on disk.

Comment options

I'm sorry, I'm afraid I still don't get it.

I mostly understand what it is to 'mount' a filesystem or some such, which is to take something that is raw binary data/objects, and make it readable/writable.

Now what is it to 'reverse mount'?
And what do you mean by 'magic directory'?

Is it that the data actually only lives on the cloud, and then like say gvfs allows mounting a Google Drive of OneDrive folder, this also mounts that at a local location?

If yes, so then I assume this is good for when there you only want one source/storage location, and it is just 'accessed' from everywhere else?

And if all of that is correct, then why does this scenario need AES-SIV encryption instead of the AES-GCM variety?

Comment options

"reverse mount" here is an abbreviation of "gocryptfs reverse mode mount".

Aes-siv because it's deterministic, aes-gcm is not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /