You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gocryptfs is an encrypted file system overlay that functions very similar to the crypt remote. However, one of the aspects that I find lacking in the current iteration of crypt is its inability to support salted folder and file names. This means that all folders and files with the same name will encrypt to the same value. gocryptfs circumvents this with a file in each folder (gocryptfs.diriv). While not ideal, it still suits my circumstances.
I might try working on adding this, but if anyone has any feedback or wants to take a stab at it, go ahead. I may also see if I can do something similar with the rclone crypt backend but I suspect that'll be a bit more difficult and should be a different issue entirely.
Reacted by Ajaja, darkdragon-001, Tadej Janež, otherjason, Nich, clach04, Mike Boiko, Daniel Salvadori, Amine Hmida, André Schröder and 8 more
Reacted by Daniel Salvadori, Ilia Zaichuk, Amine Hmida, xaxa and Lcchy
It is certainly a weakness of the current directory encryption mode. I didn't like the idea of needing extra transactions to read the directory nonce but you are right it could be interesting.
If you wanted you could add a mode to the crypt backend which did this.
Unfortunately not. I don't think re-implementing the gocryptfs encryption is the way to go. Until rfjakob/gocryptfs#480 gets implemented, I most likely won't be working on this.
Activity
ncw commentedon May 3, 2020
It is certainly a weakness of the current directory encryption mode. I didn't like the idea of needing extra transactions to read the directory nonce but you are right it could be interesting.
If you wanted you could add a mode to the crypt backend which did this.
clach04 commentedon Sep 10, 2020
Compatibility with gocryptfs would be useful in of itself.
clach04 commentedon May 29, 2021
@Vesnyx were you able to spend time on this?
Vesnyx commentedon May 30, 2021
Unfortunately not. I don't think re-implementing the gocryptfs encryption is the way to go. Until rfjakob/gocryptfs#480 gets implemented, I most likely won't be working on this.
gotjoshua commentedon Jul 1, 2022
would love to see gocryptfs as a backend type or an option for the crypt backend
TerrorFactor commentedon Feb 26, 2026
rfjakob/gocryptfs#480 (comment)
They seem open to it. See this question in the link ("how would the ideal library to support rclone look?").
I'm no cider, but I started using gocryptfs before encryption was built into rclone, it would be nice if I could simplify my setup to only use rclone.