Skip to content

Commit

Permalink
New enhancements
Browse files Browse the repository at this point in the history
- added an interactive shell to operate on open vault
- shell is also invoked to launch single operations issued from command line
- added mv command to move/rename items
- makedirs command is replaced by mkdir
  • Loading branch information
maxpat78 committed Oct 1, 2024
1 parent e966726 commit eae9db5
Show file tree
Hide file tree
Showing 2 changed files with 226 additions and 115 deletions.
22 changes: 12 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,26 +25,28 @@ options:
--change-password Change the password required to open the vault
```

Passing a couple options, you can show you master keys or recover them in case configuration files are corrupted:

`--print-keys` shows the decrypted primary and hmac master key in ASCII85 or BASE64 form, or as a list of English words like Cryptomator itself, to annotate them in a safe place for recovering purposes.

`--master-keys` grants access to the vault even in case of lost configuration files `vault.cryptomator` and/or `masterkey.cryptomator`, provided the master keys as ASCII85 or BASE64 strings; `- -` can be used to read the words list from standard input.


After the `vault_name`, you can specify some useful operations like:

```
ls list unecrypted vault contents (with size and time)
mkdir create a new directory/tree in the vault
mv move or rename files and directories
ln create a symbolic link
rm erase files or directories
decrypt decrypt a file or directory from the vault's virtual filesystem into a given destination
encrypt encrypt a file or directory
makedirs create a new directory/tree in the vault
ln create a symbolic link
rm erase a file or symbolic link
rmdir remove an empty directory
rmtree remove a full directory tree
alias show the real pathname linked to a virtual one
backup backup the Directory IDs (required to decrypt names) in a ZIP file
```

Passing a couple options, you can show you master keys or recover them in case configuration files are corrupted:

`--print-keys` shows the decrypted primary and hmac master key in ASCII85 or BASE64 form, or as a list of English words like Cryptomator itself, to annotate them in a safe place for recovering purposes.

`--master-keys` grants access to the vault even in case of lost configuration files `vault.cryptomator` and/or `masterkey.cryptomator`, provided the master keys as ASCII85 or BASE64 strings; `- -` can be used to read the words list from standard input.
If no operation is specified, an interactive shell is launched on open vault.

Functionality was tested in Windows 11 and Ubuntu 22.04 LTS Linux (under Windows WSL).

Expand Down
Loading

0 comments on commit eae9db5

Please sign in to comment.