Attempts to use this code line:
java -jar sanitizer-0.16.jar encryptPath -vault /media/mark/DATA_ARK/D-crypt/ -passphraseFile /home/mark/Cryptomator/passphrase.txt -cleartextListFile ./plain-text-paths.txt -outputPath ./temp.txt
Results in the error, below. It seems that it doesn’t like the passphrase.txt file which contains only a single line with about 60 standard (typewriter) characters. That is, no emoji or strange characters.
Thanks.
Cryptomator vault sanitizer v0.16
Exception in thread “main” java.lang.IndexOutOfBoundsException
at java.base/sun.nio.cs.StreamDecoder.read(StreamDecoder.java:151)
at java.base/java.io.InputStreamReader.read(InputStreamReader.java:185)
at org.cryptomator.sanitizer.commands.EncryptPathCommand.passphraseFromFile(EncryptPathCommand.java:155)
at org.cryptomator.sanitizer.commands.EncryptPathCommand.passphrase(EncryptPathCommand.java:127)
at org.cryptomator.sanitizer.commands.EncryptPathCommand.parse(EncryptPathCommand.java:112)
at org.cryptomator.sanitizer.commands.Commands.(Commands.java:61)
at org.cryptomator.sanitizer.commands.Commands.parse(Commands.java:26)
at org.cryptomator.sanitizer.Sanitizer.main(Sanitizer.java:12)