How-to Cards
The practical and handy reference

Cryptomator#

Cryptomator is a cloud cryptor - a tool allowing to work on and to share encrypted data seamlessly. The main benefit of using Cryptomator is that the service is transparent - after proper setup, the user and all applications can work with the data exactly the same way as before while the data is more secured.

cryptomator-diagram.png

Cryptomator protects your data by ingesting it in a so-called vault, which is mounted to a virtual drive and password protected. To access and view the data, you must unlock the vault with the created password. The data is stored on the cloud of your choice when creating the vault, but is encrypted automatically by the Cryptomator client. It is only from the virtual drive which act as a USB flash drive that you can access and view the data, as it shows the decrypted view of its content. Ingesting your files directly into the virtual drive permits Cryptomator to automatically encrypt the data with AES and 256-bit key length.

This How-to Card provides a guide on the below topics. For the full documentation on using Cryptomator, please visit the official website.

Note: Cryptomator does not offer cloud storage but adds an extra protection to your data stored on the cloud by automatically encrypting the files in the vault.

Downloading Cryptomator Desktop#

The desktop version of Cryptomator is available both for macOS, Windows, and Linux. Please follow the guide on Cryptomator’s official website to install the application on your operating system.

cryptomator-main.png

Cryptomator Hub#

Cryptomator Hub adds key and access management to your vaults from a central component deployed on your infrastructure, permitting collaborative work. As an owner/administrator of a vault, you can share your vaults with other people, who can access the vault by authenticating with Keycloak. There is thus no need for creating new accounts nor sharing encryption passwords with collaborators which are easily stolen, copied, or misused, and no data is shared on any online services.

As a vault administrator it is important to manage the admin password properly. In case you lose or forget the admin password, a recovery key is needed to restore access to the vault. This recovery key is generated upon creating the vault (see guide below). In practical, it is the responsibility of the project manager and/or PI to manage and store the admin vault password securely. Please use passphrase and proper password management when creating the admin vault password. For further information, visit the How-to Card on password management.

Setting up Cryptomator Hub#

Prerequisite: A Cryptomator license is required to use Cryptomator Hub and can be requested via the Service Portal.

  1. Go to the LCSB instance of Cryptomator Hub.

  2. Click on “LCSB Login”.

    cryptomatorHub-login.png
  3. Select “uni.lu” account to sign in.

    uni-login.png
  4. When signed in successfully, you will be presented with the Hub’s main page. To create a new vault, click the “Add” button on the top right corner and then “create new”.

    hub-mainpage.png
  5. Fill out vault name and admin password. The admin password is required to grant or revoke access to the vault. When the form is completed, click “Next”.

    creating-vault.png
  6. A recovery key is displayed on the page. Copy the recovery key and store it in a safe location (e.g. password management system like Bitwarden or Keepass). The recocery key is needed for restoring access to the vault data. Tick the checkbox and click “Create Vault”.

    recovery-key.png
  7. The vault has now been successfully created from the Hub. You can now mount the vault to your desired cloud storage location by clicking “download zipped vault folder”.

    download-vault-template.png
  8. Unzip the vault in the cloud storage location (e.g. ownCloud or OneDrive).

    ownCloud-folder.png

Vault management#

The following steps shows how to share a vault with other people and can only be performed by the vault administrator.

  1. From the Hub’s main page, click on the vault you wish to share and then “Manage vault”.

    manage-vault.png
  2. Enter the vault admin password and click “Manage”.

    vault-admin-password.png
  3. You are now able to share the vault with other team members by simply searching for the user and clicking the “add” button.

    add-member.png
  4. Before the user can access your vault, the user has to register the vault to the user’s local device (see section “Collaborating on a shared vault as a user). Only then can the vault administrator grant permission by clicking on “update permission”.

    grant-access.png

Collaborating on a shared vault as a user#

  1. Open the desktop application. Click the “add’ button and then “Existing vault”.

    add-existing-vault.png
  2. Click on “Choose”.

    vault-file.png
  3. Go to the shared vault folder on the cloud. Select “vault.cryptomator” and then “Open”.

    import-vault.png
  4. Click “Unlock now”.

    add-vault.png
  5. Cryptomator will automatically redirect you to the login page. Please authenticate yourself with Keycloak.

  6. If it is the first time you connect your device to the shared vault, you have to register the device. In this case, you will be prompt to enter a device name and then click “Confirm”. The admin can now grant access to the device.

    register-device.png
  7. Once the admin grants access, click “Reveal drive” to access the vault on the virtual drive.

    unlock-vault.png
  8. You can now view decrypted data and save files in the vault on the virtual drive.

    vault-data.png
  9. The cloud cannot see anything in the folder, as all data is encrypted - both folder/file name and files.

    cloud-data.png

Note: Always ingest the files directly into the vault on the virtual drive, as it will be encrypted and stored properly. If the file is ingested directly in the folder of the cloud storage location, it will not get encrypted by Cryptomator!