Sanitizer is a tool which can detect problems in Cryptomator vaults and restore lost data.
Currently, Sanitizer is only available as a console application. Eventually, we will integrate it into Cryptomator. For now, follow the instructions on how to use Sanitizer.
At first, you need to have
Java 9 or newer. The latest version of Java can be found here.
To verify you meet the minimum required Java version, you can simply invoke the following command via your command line interpreter:
Now you need to download the Sanitizer jar file. Afterwards you can run Sanitzer.
To do that on Windows, open the command prompt (Start Menu > Enter “cmd” and press enter) and enter the following command:
java -jar C:\path\to\sanitizer-0.15.jar check -vault C:\path\to\vault -deep
Replace the paths
C:\path\to\vault accordingly. You can open an Explorer window and drag and drop the JAR file and vault directory into the command prompt to insert the correct path.
This video shows how to do that on macOS.
After running Sanitizer, the files
*.check.txt are created. Those files contain some information about your vault (a list of the (encrypted) files and a problems report).
If you’re looking for a way to restore missing file extensions after using the
decryptVault command, please read this guide: Sanitizer: Restore Missing File Extensions