Giter Site home page Giter Site logo

Comments (7)

didlich avatar didlich commented on August 22, 2024

from my experience the cli is working properly on headless ubuntu server
re-check your password -> "InvalidPassphraseException"
in the first step I would try the local filesystem to exclude potential problems with google drive mount

from cli.

elliotks avatar elliotks commented on August 22, 2024

Hi @didlich

I setup the vault via Windows 10 with Cryptomator Version 1.3.4 x64
The password is correct as the vault works properly on my Windows 10 Machine.

Installed Packages
java-1.8.0-openjdk.x86_64 1:1.8.0.161-0.b14.el7_4 @updates
java-1.8.0-openjdk-headless.x86_64 1:1.8.0.161-0.b14.el7_4 @updates
javapackages-tools.noarch 3.4.1-11.el7 @base

I have confirmed the mount is functioning and can be written to:
[plex@hostname ~]$ cd mnt/drive/MySecretVault/
[plex@hostname MySecretVault]$ ls
d m masterkey.cryptomator masterkey.cryptomator.bkup
[plex@hostname MySecretVault]$ touch temp.txt
[plex@hostname MySecretVault]$ ls
d m masterkey.cryptomator masterkey.cryptomator.bkup temp.txt

from cli.

didlich avatar didlich commented on August 22, 2024

did you try to use a file containing the password? please try this first

from cli.

elliotks avatar elliotks commented on August 22, 2024

Hi @didlich

Same error with password inside secretPW file.

java -jar cryptomator-cli-0.3.1.jar --bind 0.0.0.0 --port 42427 --vault myvault=/home/plex/mnt/drive/myvault/ --passwordfile myvault=secretPW

from cli.

didlich avatar didlich commented on August 22, 2024

are you sure the path to the file "secretPW" is correct, I think it should look like myvault=/path/to/secretPW

from cli.

elliotks avatar elliotks commented on August 22, 2024

@didlich
Yes, if the path or file was incorrect it would throw the following error:
TS [main] ERROR org.cryptomator.cli.CryptomatorCli - Cannot read password from file:

from cli.

elliotks avatar elliotks commented on August 22, 2024

Hi @didlich
Thanks again for your suggestions, I had updated the password on the windows 10 machine for the vault. When I tried the old password I received
Exception in thread "main" java.nio.file.AccessDeniedException: /home/plex/mnt/drive/masterkey.cryptomator.bkup

Upon reviewing this, I tested editing with vi and received permission denied. I then updated the permissions to 755 on masterkey.cryptomator*

So I did fusermount -u /home/plex/mnt/drive
and remounted with -cc

I guess for some reason it caches the masterkey.cryptomator files

Thanks

from cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.