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
{{ message }}
Repository navigation
Identify the original files from encrypted files #2713
Hi,
I know in 1.7.0 version, people can "Locate Encrypted File" from the original files.
Can we also do the opposite?
The reason is that, there are always some encrypted files that are not able to sync successfully (sync errors!), but I am not able to identify which original files, and determine whether these original files are important or not. (if it's not important, then I can ignore the sync errors.)
This is a lot harder, as path encryption is a one-way-street.
We need to know which directory this is in order to decrypt the filename (for the cipher nerds: due to dir IDs being used as AD).
However we don't know the parent of a dir due to flattening. Therefore traversing paths only works from root to leaf.
We are working on a new vendor-independent encryption scheme and will probably return to deeply nested paths and storing the dir ID in place. Until then, reverse lookup requires a full (forward) dir tree traversal.
Nevertheless it is hard to achieve, it would be really useful as many (all?) people experience some sync errors as @oudev does.
So please keep it minds when rearchitecting the encryption.
I believe, if not all, most of the users will have the same issue, sooner or later.
Is there a systemic solution or strategy to resolve this issue? Can "a new vendor-independent encryption scheme" solve it? @overheadhunter
Thank you!
Activity
overheadhunter commentedon Mar 2, 2023
This is a lot harder, as path encryption is a one-way-street.
We need to know which directory this is in order to decrypt the filename (for the cipher nerds: due to dir IDs being used as AD).
However we don't know the parent of a dir due to flattening. Therefore traversing paths only works from root to leaf.
We are working on a new vendor-independent encryption scheme and will probably return to deeply nested paths and storing the dir ID in place. Until then, reverse lookup requires a full (forward) dir tree traversal.
hpvd commentedon Mar 2, 2023
Nevertheless it is hard to achieve, it would be really useful as many (all?) people experience some sync errors as @oudev does.
So please keep it minds when rearchitecting the encryption.
oudev commentedon Mar 6, 2023
I believe, if not all, most of the users will have the same issue, sooner or later.
Is there a systemic solution or strategy to resolve this issue? Can "a new vendor-independent encryption scheme" solve it? @overheadhunter
Thank you!
infeo commentedon Jan 29, 2025
What we can do is give the cleartext filename of the encrypted file. With this a user can search their unlocked vault for the actual file.
hpvd commentedon Jan 29, 2025
+1
Feature: Decrypt encrypted file name (cryptomator#3788)