All posts

CortenDesk 1.21.0 adds share links and mobile web client work

Share one device by secret link, use the web client on phones and tablets, and limit Automation API tokens to add-only entries.

A device is shared through a secure link while phone and tablet controls surround it.
Share links1.21.0

CortenDesk 1.21.0 adds share links. You can send someone a secret link to one device. The link opens the web client in their browser, with no account and no RustDesk install. The person at the device still accepts the connection in RustDesk's accept window.

You choose how long the link works, from 15 minutes to 7 days, and how many people may connect at once. Creating, opening and ending links goes in the audit log.

In approved-only mode, the link reaches just that one device when you use the bundled Server 1.5.0. With an older external hbbs, share links work in open mode only. Set CORTENDESK_SHARE_LINKS=false to turn the feature off. See the CortenDesk wiki for share link setup.

Web client on phones and tablets

The web client now has mobile and tablet controls. It uses one control bar docked by orientation, the phone's own keyboard, extra keys, touch gestures, pinch zoom and a Trackpad mode.

It also reconnects by itself when the connection drops. On iPhone, Add to Home Screen gives a full-screen app.

Safer Automation API rollout options

Automation API tokens can now be add-only. A token can be limited to adding entries to chosen shared address books and nothing else. It receives only the new entry's ID, and an ID already in the book returns a 409.

Address book entries can also take a write-only password when created or updated. It is stored encrypted and never returned. Peers show has_password instead.

Other fixes

Rejected devices now appear in the recycle bin, so their IDs can be freed. If you add a device with a taken ID, CortenDesk says where that ID is.

The web client replaces a stalled video decoder instead of sending another key frame, targeting the black screen that re-selecting the display used to cure.

Logs and charts also get cleanup: outgoing sessions appear on the device page, file transfer logs show full paths, IP addresses no longer wrap, session types use the Overview chart colours, and the empty Overview connections chart no longer shows "Infinity" on its axis.

GET /api/peers now includes the device's console alias, so the RustDesk client's group tab shows it. Slovak is also added, bringing the console, emails and web client to 12 languages.

Updating

This version bundles CortenDesk Server 1.5.0. It runs three migrations on start: share link tables, an index on the connection and file transfer logs, and a column on API tokens. They were tested on MariaDB 10.6 and MySQL 8. MySQL 9.7 works, with the full test suite giving the same results as on 8.4.

Pull one of these images:

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

Full release notes: CortenDesk 1.21.0.