Sanitizer is a tool which can detect problems in Cryptomator vaults and restore lost data.
Currently, Sanitizer is only available as a console application. We will integrate it into Cryptomator soon. For now, the following instructions tell you how to use Sanitizer.
At first, you need to have
Java 9 or newer.
- Java for Windows is available for download here.
- JDK for macOS can be obtained here.
- There are various ways to install it on Linux, it vastly depends on your distribution.
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 your vault does not work as expected, you can send the files to our support email address and we will have a look.
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