CortenDesk 1.20.0 adds Release ID and safer keys
Release device IDs from the console, load the server key from a Docker secret, and use direct UDP or IPv6 connections.
Release a device ID from the console
The device page now has a Release ID button. It frees the device's ID on the bundled ID server, so a reinstalled machine can register the same ID again.
This replaces the old manual path of stopping the server and editing hbbs's database. You need write access to devices to use it. Each release is written to the audit log.
Key handling is safer
You can now set CORTENDESK_PRIVATE_KEY_FILE=/run/secrets/rustdesk_key to install the server private key from a Docker secret on every start. The public key is derived from that key.
CortenDesk also rewrites a stale or mismatched id_ed25519.pub at start, with a warning. Settings → Server now shows the bundled server's real key as read-only. This fixes cases where the console could hand out the wrong key and clients saw "Key mismatch".
The bundled hbbs now stops with an error if id_ed25519 exists but cannot be read or is not a valid key.
Direct UDP and IPv6
The bundled CortenDesk Server 1.4.0 supports UDP hole punching and IPv6 peer-to-peer for RustDesk 1.5 clients when enable-udp-punch or enable-ipv6-punch is on.
Publish UDP 21116 for UDP hole punching. Set UDP_PUNCH=N or IPV6_PUNCH=N to turn those paths off.
CortenDesk Server 1.4.0 also includes key exchange version 1 for RustDesk 1.5, per-IP registration limits as settings (MAX_NEW_IDS_PER_IP, MAX_REGISTER_BURST_PER_IP), relay fixes, and memory fixes.
Smaller fix
The web client now sends address-book sign-in requests only to the console's own origin.
Updating
There are no migrations.
docker pull marcpope/cortendesk:1.20.0
docker pull ghcr.io/marcpope/cortendesk:1.20.0
Read the full release notes.