Help mounting vault in rapsberry pi os

Hi folks. I’m here again, with kinda the same problem.
I have a cryptomator vault in Google drive called secret
I want to see those files unencrypted in the PI, just as in android.
So I did the following:

  1. Mount Google drive with rclone
    rclone mount gdrive: /home/pi/googledrive

That’s ok.

Now I can see in the PI file explorer, all my google drive and the folder where the secret is, but obviously the contents are encrypted.

So I run cryptomator cli

java -jar cryptomator-cli-0.4.0.jar --bind localhost --port 8081 --vault secret=/home/pi/googledrive/

That works ok, it asks me for the password, and unlocks it.

But now, how can I see the contents of secret unencypted?

I tried lots of things that previosly worked but now doesnt.

Can someone explain what steps to follow to see the encrypted folder plz?

Thanx in advance

PAblo

you need to mount the cryptomator cli server to your filesystem with Webdav

example
sudo mount -t davfs http://localhost:8081/googlevaultname/ /media/Localmount

the steps are documented here. https://github.com/cryptomator/cli

Hi, and tnx for the answer.
I did that, but the folder that mounts, contains only lost+found folder.
It’s strange, I did it before and worked.
Don’t remember if I created two rclone remotes or only one.
For example I used this:

rclone mount Gdrive: /home/pi/gdrive --vfs-cache-mode writes

java -jar cryptomator-cli-0.4.0.jar --bind localhost --port 8081 --vault gdrivevault=/home/pi/gdrive/CRYPTOMATOR_VAULTNAME

sudo mount -t davfs http://localhost:8081/gdrivevault /home/pi/gdrivevault -o user,rw,uid=$(id -u),gid=$(id -g)

But it does not work.

Am I missing something?
Thanx

P

I really don’t know what to suggest.

You had a vault working previously from these instructions, nothing has changed with cryptomator CLI.

https://community.cryptomator.org/t/cryptomator-in-raspi-4-gdrive/

Are you working with the same vault?
Are you working with the same raspberrypi / OS as previously?
Is the vault functioning correctly from your windows 10 machine?
What version of Rclone are you using ? (its been updated recently with significant changes to VFS- i have not yet tested on the PI)

HI, and thanx again.
Answers:
Are you working with the same vault? - Yes.
Are you working with the same raspberrypi / OS as previously? - Yes
Is the vault functioning correctly from your windows 10 machine? - Yes
What version of Rclone are you using ? (its been updated recently with significant changes to VFS- i have not yet tested on the PI) - rclone v1.45

  • os/arch: linux/arm
  • go version: go1.11.6

Java Version: openjdk version “11.0.7” 2020-04-14
OpenJDK Runtime Environment (build 11.0.7+10-post-Raspbian-3deb10u1)
OpenJDK Server VM (build 11.0.7+10-post-Raspbian-3deb10u1, mixed mode)

Davfs - got it from the repository

The thing is very strange…

I have a cryptomator vault in Gdrive called ‘CAJA FUERTE’.

I created the folder gdrive for mounting google drive.
I crated the folder gdrivevault.

If i issue this command:

java -jar cryptomator-cli-0.4.0.jar --bind localhost --port 8081 --vault gdrivevault=/home/pi/gdrive/CRYPTOMATOR_VAULTNAME

(CRYPTOMATOR_VAULTNAME being ‘CAJA FUERTE’) - The password does not work.

So this is exactly what I’m doing:

rclone mount Gdrive: /home/pi/gdrive

java -jar cryptomator-cli-0.4.0.jar --bind localhost --port 8081 --vault gdrivevault=/home/pi/gdrive/ (I do not put the vault name because it does not recognize the password.)

It asks me for the password of gdrivevault. Then I put the password of ‘CAJA FUERTE’, my vault.
It works, this is what cryptomator says:

16:05:54.580 [main] INFO o.c.f.w.s.WebDavServletController - WebDavServlet started: /gdrivevault
16:05:54.582 [main] INFO org.cryptomator.cli.CryptomatorCli - Server started. Press Ctrl+C to terminate.

Then:

sudo mount -t davfs http://localhost:8081/gdrivevault /home/pi/gdrivevault -o user,rw,uid=$(id -u),gid=$(id -g)

It asks me for user and pass — i press enter the 2 times.

It mounts gdrivevault – with nothing in it except lost+found (but you can see the size of gdrive is ok there)

Perhaps I am not using the correct folders, I don’t know.
It worked once, months ago…doesn’t now.

Can you look at the code I put, something must be wrong there.

Thanx a lot.

Pablo