Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is reverse mounting possible? #5

Closed
dakkusingh opened this issue Nov 2, 2015 · 2 comments
Closed

Is reverse mounting possible? #5

dakkusingh opened this issue Nov 2, 2015 · 2 comments
Labels

Comments

@dakkusingh
Copy link

Is reverse mounting possible? Ie. mount a normal folder and come up with a fuse encrypted one?

No, and this is not planned at the moment. The thing is, AES-GCM (the encryption mode that gocryptfs uses) needs a random value for each block. For forward encryption, this random value is stored on disk inside the encrypted files. For reverse mode, there is no place to store that value.

See discussion here #2 (comment) and here #2 (comment)

@rfjakob
Copy link
Owner

rfjakob commented Nov 14, 2015

Even after having thought about it for a while I see no sane way to do this in gocryptfs.

@rfjakob rfjakob closed this as completed Nov 14, 2015
@rfjakob
Copy link
Owner

rfjakob commented Nov 17, 2015

I want to mention that there is Attic ( https://attic-backup.org/ ) that provides a superior alternative to reverse mode for encrypted backups. I am using it myself with great results.
The key point for encrypted backups is that the encryption must happen locally. This is what encfs reverse mode can be used for, but this is also what attic does.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants