Skip to content

Commit aed3f51

Browse files
being-peaceoverheadhunter
authored andcommitted
Update README.md
Include some findings about passwords in commandline and mount options
1 parent 1be7576 commit aed3f51

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,11 @@ Cryptomator CLI requires that at least JDK 17 is present on your system.
2121
java -jar cryptomator-cli-x.y.z.jar \
2222
--vault demoVault=/path/to/vault --password demoVault=topSecret \
2323
--vault otherVault=/path/to/differentVault --passwordfile otherVault=/path/to/fileWithPassword \
24+
--vault thirdVault=/path/to/thirdVault \
2425
--bind 127.0.0.1 --port 8080
25-
# you can now mount http://localhost:8080/demoVault/
26+
# You can now mount http://localhost:8080/demoVault/,
27+
# The password for the thirdVault is read from stdin.
28+
# Be aware that passing the password on the commandline typically makes it visible to anyone on your system!
2629
```
2730

2831
## Filesystem integration
@@ -45,7 +48,8 @@ sudo mkdir /media/your/mounted/folder
4548
Then you can mount the vault
4649

4750
```sh
48-
sudo mount -t davfs http://localhost:8080/demoVault/ /media/your/mounted/folder
51+
echo | sudo mount -t davfs -o username=,user,gid=1000,uid=1000 http://localhost:8080/demoVault/ /media/your/mounted/folder
52+
# Replace gid/uid with your gid/uid. The echo is used to skip over the password query from davfs
4953
```
5054

5155
To unmount the vault, run

0 commit comments

Comments
 (0)