Open TimetravelerDD opened 5 years ago
Seems to work for me, but I had to use forward slashes for cleartextPath:
C:\Users\jdoe>java -jar sanitizer-0.16.jar encryptPath -vault c:\Users\jdoe\OneDrive\Vault -cleartextPath folder/file.txt
PS: It was tricky to get a working JRE for Windows because the latest version 8 doesn't work with sanitizer and JRE 9 isn't available and supported anymore. Oracle apparently updated their license etc, TL;DR I ended up installing a community build from https://github.com/ojdkbuild/ojdkbuild
I am using the script in powershell on windows 10 and it seems to work fine, it returns a valid path, however the returned path is definitely not the correct one (my vault is in google filestream)
Maybe the format is wrong? backslash instead of forward slash etc?
Example:
The correct path would be: "G:\Meine Ablage\Encrypted Storage\Container\d\EY\PG4T3KFULXLBJ72STWMAXSCXBJKX75\7COF7G2SYYMDU2X2JIQMTV2BRCU3MQYR.lng"
(I can tell by opening the file and see which file syncs in google filestream and also by the filesize)
I would appreciate your help!