cli icon indicating copy to clipboard operation
cli copied to clipboard

ERROR [CryptomatorCli:36] No vault specified.

Open beanstalkblue opened this issue 8 years ago • 1 comments

My masterkey.cryptomator file is located at /home/me/vaults/cryptomator/masterkey.cryptomator

I run the cli jar like so:

java -jar cryptomator-cli-0.2.1.jar --bind 0.0.0.0 --port 8080 --vault cryptomator=/home/me/vaults/cryptomator/ --password=abc

I copied the path and mountName from ~/.Cryptomator/settings.json

This produces the error:

ERROR [CryptomatorCli:36] No vault specified.

Am I doing something wrong or is this a bug?

beanstalkblue avatar Mar 13 '17 21:03 beanstalkblue

The syntax for the password parameter is equal to the syntax for the vault. So:

java -jar cryptomator-cli-0.2.1.jar --bind 0.0.0.0 --port 8080 --vault cryptomator=/home/me/vaults/cryptomator/ --password cryptomator=abc

markuskreusch avatar Mar 14 '17 08:03 markuskreusch