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
Per spec, the content directory in cipher space consists of 32 characters representing the SHA1 hash of the directory id. (for an example, see spec)
The result MissingContentDir indicates, that for an existing dirId, the content dir is missing. The fix is to create the directory.
But looking at the code to fix it, it is wrongly implemented:
Per spec, the content directory in cipher space consists of 32 characters representing the SHA1 hash of the directory id. (for an example, see spec)
The result
MissingContentDir
indicates, that for an existing dirId, the content dir is missing. The fix is to create the directory.But looking at the code to fix it, it is wrongly implemented:
cryptofs/src/main/java/org/cryptomator/cryptofs/health/dirid/MissingContentDir.java
Line 52 in 2f42f3c
Java substring method takes two indices, not a start index and a length.
The text was updated successfully, but these errors were encountered: