All posts

CortenDesk 1.14.0 adds client two-factor checks

Client password sign-in now checks TOTP or emailed codes, SSO password blocking covers the client, and backups write audit and notification events.

An illustration of protected client sign-in and visible backup status for a self-hosted console.
Client two factor1.14.0

CortenDesk 1.14.0 brings two-factor checks to password sign-in from the RustDesk client. A user with TOTP now gets the client's code dialog, and CortenDesk issues a token only after the correct code.

If emailed sign-in codes are on, the client asks for the email code instead. A user who must enrol but has not set it up is refused until they enrol in the console. No client change is needed.

Client sign-in follows your access rules

Disable password sign-in now covers the RustDesk client when SSO is enforced. Before this release, the client API could still issue a token for a password sign-in and skip the identity provider's MFA. It now returns an error, with the same automatic fallback as the console when SSO is unconfigured or switched off.

Linked SSO accounts still waiting for approval can no longer sign in to the RustDesk client with a password.

A new Settings → Server option, or CORTENDESK_CLIENT_URL_SCHEME, controls the client URL scheme.

Device links now open rustdesk://connection/new/<id>. The older rustdesk://<id> form lost capitals in custom IDs, which could open as "ID not found". If your client was built with rdgen under another name, set its registered scheme here.

Backup results are visible

Every scheduled or manual backup now writes one result line to Console audit. Scheduled runs appear under "system".

There are also two new notification events:

  • "Backup completed"
  • "Backup or off-site copy failed"

Backup and restore also work on hosts where open_basedir rejects dotted path components, such as domain-named site folders.

Fixes for busy sites and Docker maintenance

Rate limits no longer share one address-based counter. Each limit now has its own counter. Device heartbeats are limited per device at 120 a minute, with a 6,000 ceiling per address.

docker compose exec cortendesk php artisan ... now switches to www-data by itself. On start, the container also returns storage and the backups folder to www-data, which repairs installs where a root-run backup caused later Back up now runs to fail.

If the SSO provider cannot be reached, the console SSO button and the client's Continue with SSO now say that instead of returning a 500. Back up now also has the missing space between the icon and label.

Notes for updating

There are no database migrations in this release.

Clients already signed in keep their tokens. The second factor applies at the next password sign-in. Recovery codes work on the console only, and the client's code field takes 6 digits.

With emailed sign-in codes on, the client asks for a code at every password sign-in and refuses sign-in while mail cannot be sent. The console still lets an administrator in to repair mail.

For setup details, see the CortenDesk wiki.

Pull one of these image tags:

docker pull marcpope/cortendesk:1.14.0
docker pull ghcr.io/marcpope/cortendesk:1.14.0

Full details are in the CortenDesk 1.14.0 release notes.