Skip to content

2.2.0

Latest

Choose a tag to compare

@infeo infeo released this 01 Dec 14:18
· 40 commits to develop since this release
Immutable release. Only release title and notes can be modified.
2.2.0
f181f81

What's Changed

Added

  • Show a short onboarding tour to newly created users, remembered across browsers and devices and replayable from the profile menu (#495)
  • Helm chart: hub.extraArgs passes additional runtime arguments to the Hub binary, e.g. to limit heap and off-heap memory (93ed117)

Changed

  • Updated Keycloak to 26.8.2-3 (published as 26.8.2.3) and disabled the deprecated "Full scope allowed" switch on Hub's Keycloak clients in favor of explicit role scope mappings. Existing realms are not migrated automatically, see required actions below (#512, ace9456)
  • License entitlements are no longer part of the public /api/config response and are now served to authenticated users via /api/license/entitlements (#513)
  • Redesigned all dialogs (#507)
  • Redesigned the vault details panel (#514)
  • Updated to Quarkus 3.39.5 (#502)
  • Updated com.auth0:java-jwt from 4.6.1 to 4.6.2
  • Updated frontend dependencies, including vue-router 5.5 and altcha 3.7 (4517c6f, 914c443, deb4a53)

Fixed

  • Fixed access tokens being accepted for vaults the user has no access to (#509)
  • Failed unlock attempts with a legacy device no longer show up as that device's last access (#510)
  • Fixed device registration when the device ID belongs to another user's legacy device (#508)
  • Completing an emergency access recovery now checks the identities of all future members before changing the vault's membership, so cancelling the trust warning no longer leaves the membership changed without access granted (#507)
  • The emergency access dialog now reports a recovery process whose signatures don't verify right away and no longer counts its approvals (#507)
  • Browsers whose stored user keys predate Hub 1.4.0 no longer generate a signing key that doesn't match the user's published one; they now need to be set up again with the Account Key (fa240e1)
  • The API now responds with 400 Bad Request instead of 500 Internal Server Error when a vault is created without emergencyKeyShares or vault members are set with a null role (d7e72f3, 7b23d65)
  • Helm chart: the default Content Security Policy now allows the license API configured via hub.license.apiUrl (b0c5995)

Security

Required actions for the 2.2.0 update

Important

Back up your database before you upgrade.

Keycloak

Update Keycloak to ghcr.io/cryptomator/keycloak:26.8.2.3. The Helm chart uses this tag by default, unless you pin keycloak.image.tag.

Keycloak creates Hub's realm only on its first start. Existing realms don't pick up the changed client configuration and must be adjusted manually in the Keycloak admin console after updating Keycloak:

1. Assign the kc-admin-api client scope

Keycloak's admin REST API now enforces an audience check. Without this step, Hub's requests to Keycloak fail with 401 Unauthorized.

For cryptomatorhub-system and, if present, cryptomatorhub-cli: open Clients → <client> → Client scopes → Add client scope, select kc-admin-api and add it as Default.

2. Disable "Full scope allowed" and map roles

The "Full scope allowed" switch is deprecated. As long as it is enabled, Keycloak keeps logging a deprecation warning.

For each client below, open Clients → <client> → Client scopes → <client>-dedicated → Scope, turn off Full scope allowed and assign these roles:

  • cryptomatorhub: realm roles user, create-vaults, admin
  • cryptomator: realm role user
  • cryptomatorhub-system: realm-management role realm-admin
  • cryptomatorhub-cli (if present): realm roles user, create-vaults and realm-management role manage-users

Full Changelog: 2.1.5...2.2.0