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
Cache of clear- to chiphertextDirectory mapping contains invalid entries #252
To map (virtual) cleartext paths to actual ciphertext paths on the filesystem (e.g. /foo/bar -> /d/00/92jALKJSPPOI...) the class CryptoPathMapper is used.
Inside the class a cache is used for frequent clear->cipher mappings to prevent expensive IO operations. If a path is deleted or moved, the cache must be cleared of such a mapping and of all child mappings.
In the current implemenation this is not the case:
Only the mapping of the deleted/moved cleartext directory itself is removed, but no children. Hence, the cache contains invalid entries, leading to unexpected errors.
Activity