Skip to content

Releases

v0.5.2

Choose a tag to compare

@github-actions github-actions released this 28 Nov 13:50
1fdea46

Sharper colours on iPhone, a way for home dashboards to show your machines and wake them, and stricter checks on dependencies.

📱 RDP on iPhone

Desktops shown in H.264 4:4:4 on an iPhone (where the browser hands decoded frames as NV12) no longer get red or coloured dots to the right of icons and text. The encoder lays out the extra colour picture along the screen width rounded up to a multiple of 32; Portique now reads it the same way. "Netteté maximale" is no longer needed to get clean colours.

On phones, the tab bar also sits closer to the bottom edge.

🏠 Dashboards: status and wake

A home dashboard can now call Portique directly, without going through your authenticating proxy, with two optional keys, each opening one route only:

  • PORTIQUE_STATUS_KEY(_FILE): GET /api/machine/status lists each machine with its name, what it offers (RDP, SSH, wake), whether its port answers (online, null when Portique only reaches it through a jump host) and its open desktops and terminals. No address, MAC or account is in the response.
  • PORTIQUE_WAKE_KEY(_FILE): POST /api/machine/wake/<id>, no body, wakes that machine exactly like its button.

Send the key as Authorization: Bearer <key>. Keys are at least 32 ASCII characters (openssl rand -hex 32) and must differ. A route whose key is not configured answers 404; a missing or wrong key gets 401. Neither key opens a desktop, a terminal or the admin pages.

🔒 Dependencies and build

  • scripts/ci.sh, and the GitHub CI with it, now runs cargo-deny (known vulnerabilities, licences, duplicate versions, sources), cargo-nextest (with cargo test --doc) and cargo-machete (unused dependencies). cargo-deny replaces cargo-audit.
  • cookie 0.18.3 (RUSTSEC-2026-0594). Portique was not affected: it uses plain cookies and never forks.
  • The image build installs wasm-opt once, in a cached layer checked against its published SHA-256, so a slow link no longer makes the arm64 build fail.

Docker

docker pull ghcr.io/neotoxicfr/portique:0.5.2
docker pull ghcr.io/neotoxicfr/portique:latest

Images cover amd64 and arm64. portique-0.5.2-x86_64-linux.tar.gz and portique-0.5.2-aarch64-linux.tar.gz hold the server binary (glibc 2.38+) and the compiled front. SHA256SUMS lists their checksums. No migration since v0.5.0.

v0.5.1

Choose a tag to compare

@github-actions github-actions released this 21 Nov 14:17
c65c048

A small fix release on top of v0.5.0, for phones and keyboard users.

📱 SSH terminal on iPhone

The bottom of the terminal no longer runs over the key bar. On iOS the row height measured to fit the terminal can differ slightly from the real rendering, so the screen came out taller than its frame. The frame now clips what goes past it, and after each fit the terminal drops rows while its screen still passes the bottom of the frame.

⌨️ Focus rings

Focus rings on controls packed side by side used to run over their neighbours: navigation segments, machine rows, the keys of the terminal and RDP bars, and the remove buttons of shortcut tags. They are now drawn inside the control and follow its rounded corners. On an active sticky key (Ctrl, Alt…), whose background is the focus blue, the ring is white so it stays visible.

Docker

docker pull ghcr.io/neotoxicfr/portique:0.5.1
docker pull ghcr.io/neotoxicfr/portique:latest

Images cover amd64 and arm64. portique-0.5.1-x86_64-linux.tar.gz and portique-0.5.1-aarch64-linux.tar.gz hold the server binary (glibc 2.38+) and the compiled front. SHA256SUMS lists their checksums. No migration since v0.5.0.

v0.5.0

Choose a tag to compare

@github-actions github-actions released this 21 Nov 11:01
21b64e6

🔀 Jump hosts, typed or picked

Wake and the SSH terminal now share one way to say how a machine is reached:

  • Wake is either Direct (Portique sends the magic packet over UDP) or Rebond: a command run on a jump host.
  • A jump host is either a known host from your list (nothing else to fill in: address, account, password and key come from it) or a Host typed for this machine alone: address, port, account, optional password, host key to approve or forget. "Accès à l'hôte" says how that typed host is itself reached: directly, or through a known host.
  • Deleting a known host no longer cuts the machines that went through it: each one gets a typed copy of it (address, account, password, key) and keeps reaching it the same way.
  • The address typed for wake in earlier versions is taken over on startup as a typed jump host, password and pinned key included.

📱 Phones and tablets

  • RDP on a touch screen: the keyboard button can be dragged anywhere and sits next to a new disconnect button. While the system keyboard is open, a key bar follows it: Esc, Tab, sticky Ctrl, Alt and Win, arrows, then Delete, Home, End, Page up and down, F1 to F12, Print Screen and Ctrl+Alt+Del.
  • Sharper text on browsers that hand RGB frames: when a browser gives decoded H.264 frames only as RGB, Portique now rebuilds the full 4:4:4 picture if the browser's conversion can be inverted, so text and icons lose their colour fringes. The session menu states the image path actually in use and offers Netteté maximale (no H.264 on this device) if you prefer.
  • Admin on a phone: editing a machine opens its editor right under the row you tapped.

⌨️ Faster typing over SSH

Keystrokes no longer wait for the previous one to be acknowledged (TCP_NODELAY on the SSH connection and on the web server). Measured with 160 ms of network delay, the median echo went from 241-276 ms to 160 ms, the round trip itself.

✨ Polish

  • The "Prepare a PC" page gets the app's bar with a back button, numbered steps, real download buttons and commands you select in one click.
  • The SSH terminal's last line no longer runs past the bottom of the screen.
  • Focus rings are no longer cut by the rounded corners of groups.
  • In proxy mode, the accounts list shows two-factor authentication as information: it is configured in your proxy, which Portique cannot see.

⚙️ For administrators

  • Back up /data before upgrading: migration 0009 adds the columns behind typed jump hosts.
  • The admin API changes: wol_command.via and ssh.jump take {"kind":"known","id":…} or {"kind":"host",…} and replace via_id, host, user, password, approve_hostkey and jump_id.
  • Wake by command no longer pre-fills a command, and only the host's exit code decides whether it failed.
  • scripts/publish-dev.sh also redeploys other deployments following :dev (DEPLOY_OTHERS).
  • Dependencies are up to date (gloo-net 0.8, qrcode 0.15, sqlx 0.9.1 and more), the unused openssl crate is gone, and the image builds with Rust 1.100 and trunk 0.22.2.

Docker

docker pull ghcr.io/neotoxicfr/portique:0.5.0
docker pull ghcr.io/neotoxicfr/portique:latest

Images cover amd64 and arm64. portique-0.5.0-x86_64-linux.tar.gz and portique-0.5.0-aarch64-linux.tar.gz hold the server binary (glibc 2.38+) and the compiled front. SHA256SUMS lists their checksums.

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 21 Nov 06:15
fdd7322

🎨 A new interface

Portique now looks like a system app on iPhone, iPad and Mac: system colours, grouped backgrounds, translucent bars, app-icon badges and switches, in light and dark following your device.

  • Home: one fixed-size card per machine with three fixed icon slots, always in the same order: Terminal (SSH), Desktop (RDP), Wake (Wake-on-LAN). A missing function leaves an empty circle, so icons never move from one card to the next. Hosts set to the "alert" terminal theme show in red. A search field filters the cards.
  • No filler: no greeting, no subtitles, no legend. Logout is an icon.
  • Navigation: a segmented control on desktop, a bottom tab bar on phones.
  • Account: settings-style groups for the password, two-factor authentication (a switch for TOTP, passkeys listed with a delete button) and terminal preferences (theme previews, key bar combos).
  • Admin: a split view, with machines on the left and the machine editor beside them. Each protocol has its own section and switch, in the same order as the home slots. Resetting a user's 2FA is now its own action and never touches their role.
  • Terminal: a thin top bar, an iOS-style key bar and an iOS-style alert for new host keys. The frame takes the terminal theme's background. While an alert is shown, the terminal behind it takes no input and the alert gets the focus.

📱 RDP on iPhone and iPad

The remote desktop was not usable on a touch screen without a hardware keyboard. It now is:

  • A keyboard button opens the system keyboard; text, Backspace, Enter, Delete, paste and IME input reach the PC.
  • Gestures: tap to click (a second tap nearby makes a double click), long press for a right click, one-finger drag to drag, two fingers to scroll, pinch to zoom the view locally and two fingers to pan it.
  • The full-screen button hides where the browser cannot go full screen (iPhone).

📲 Installed app (PWA)

  • The header no longer slides under the iPhone status bar or the notch; safe areas are honoured everywhere.
  • The system bar colour follows light and dark.
  • New app icon, with a full-bleed variant for Android's adaptive icons.
  • The offline page works from the very first launch, and opening a file such as the icon no longer replaces it.

🔒 Security

  • The TOTP step is consumed atomically, and the proof checked at login is checked again when the session is created: a password change, 2FA reset or removed passkey that lands mid-login wins.
  • Login attempts are reserved before any costly work and counted per /64 for IPv6. Pending passkey challenges are capped without locking everyone out.
  • A password change can no longer overwrite an admin reset made at the same moment; a demoted admin can no longer finish creating or promoting accounts.
  • Turning TOTP on or off and deleting a passkey need a session that is still open when the change is written: signing everyone out, for example with a password change, also stops a TOTP setup someone else had started.
  • If your account settings change while you log in, the login page says so instead of reporting a wrong password.
  • Argon2 runs off the request workers, a few at a time.
  • NTLM now requires 128-bit keys with signing and sealing.
  • SSH and Wake-on-LAN waits are all bounded in time, and what you type while a terminal opens is capped.

🧱 Sturdier protocol handling

The full codebase went through an automated review (CodeRabbit), with every point fixed or answered:

  • Malformed or oversized RDP frames are refused instead of misread: X.224, fast-path, MCS, licensing, capabilities, virtual channels, progressive tiles.
  • The clipboard is more reliable both ways. Each copy is acknowledged on its own, late answers no longer overwrite a newer copy, and a PNG the browser cannot read falls back to DIB.
  • A farm redirection or an oversized user name ends the session with a clear message instead of a black screen or a crash.
  • When Windows suspends the virtual channels, outgoing channel traffic waits for it to resume, as the protocol requires.
  • The desktop keeps following the window size even when the PC ignores some resize requests.

⚙️ For administrators

  • CI and releases now run on GitHub Actions: images for amd64 and arm64 are built natively and published as X.Y.Z and latest.
  • The "Prepare a PC" scripts check every step's result and fail loudly instead of reporting success. They also keep Windows line endings so cmd.exe finds its labels, and a retry after a failed undo no longer changes another network adapter's wake setting.
  • Wake by SSH command no longer pre-fills a command, and only the host's exit code decides whether it failed: the output is no longer read. A command that fails but exits with 0 now counts as sent.
  • The connections API gains alert on each machine. Resetting 2FA moves to POST /api/admin/users/{id}/reset-2fa, and the reset_2fa field of the user update is removed.

Upgrading

Back up /data before upgrading. Two migrations rebuild the users, connections and passkeys tables so that an ID is never handed out twice; they keep every row, but cannot be rolled back.

Docker

docker pull ghcr.io/neotoxicfr/portique:0.4.0
docker pull ghcr.io/neotoxicfr/portique:latest

Images cover amd64 and arm64. portique-0.4.0-x86_64-linux.tar.gz and portique-0.4.0-aarch64-linux.tar.gz hold the server binary (glibc 2.38+) and the compiled front. SHA256SUMS lists their checksums.

v0.3.0

Choose a tag to compare

@neotoxicfr neotoxicfr released this 20 Nov 19:08

🖥️ SSH terminal

Portique now opens SSH as well as RDP. A machine can offer RDP, SSH or both: one tile per machine, and when both are available the tile offers the choice.

  • One service key: Portique creates an ed25519 key on first use, keeps it encrypted, and the admin page gives the authorized_keys line to install on each host (with an optional from= restriction). The host's password, if any, is tried second.
  • Jump hosts: a host can be reached through another SSH host, chained like ProxyJump. Loops are refused.
  • Host keys approved by an admin at each hop, then pinned.
  • Mobile key bar on phones and tablets, sitting right above the virtual keyboard: Esc, Tab, sticky Ctrl and Alt, arrows, and combos saved per account (Ctrl+C, Ctrl+R…).
  • Themes: dark, light, Solarized, Dracula, Nord and a red "alert" theme, set per account and overridable per host.
  • xterm.js is served by Portique itself: no CDN, strict CSP kept. It is fetched from npm at build time and checked against its published SHA-512.
  • Accented characters work on servers running the C locale: the shell gets LC_CTYPE=C.UTF-8, as the OpenSSH client sends its locale.

🔒 Security

  • Opening a terminal requires a session that was opened with a second factor (TOTP or passkey) in built-in mode. The service key opens every machine it is installed on, so a password alone must not be enough. Having 2FA enrolled is not enough either: a stolen password would let someone enroll their own TOTP.
  • Wake-on-LAN by command can go through a declared SSH host (its key, its jump hosts, its approved host key). A host whose SSH is turned off is no longer used.

⚡ Faster openings

  • Opening an RDP session over a distant link is about 650 ms faster. Measured on a 162 ms round trip: first image at 1.94 s instead of 2.59 s. The client used to join its four MCS channels one round trip at a time. It now skips the joins when Windows allows it (SKIP_CHANNELJOIN).
  • The front is served compressed (gzip or brotli): the wasm goes from 1.3 MB to 0.5 MB, even without a compressing reverse proxy.
  • The server logs the duration of each RDP opening phase (TCP, X.224, TLS, NLA), and the browser console prints one opening summary.

🎨 Interface

  • A refused session now says why (no second-factor session, host without SSH, access removed) instead of "session ended".
  • Admin pages work on a phone: tables become cards with their actions in reach. The service key is shown in full.
  • Connections show a spinner and a Back button while they open. The terminal has a thin title bar with the host name.

⚠️ Upgrading

The connections API now exposes rdp and ssh instead of protocol. The database migrates on its own, and existing connections keep RDP.

Docker

docker pull ghcr.io/neotoxicfr/portique:0.3.0
docker pull ghcr.io/neotoxicfr/portique:latest

Images cover amd64 and arm64. portique-0.3.0-x86_64-linux.tar.gz and portique-0.3.0-aarch64-linux.tar.gz hold the server binary (glibc 2.38+) and the compiled front. SHA256SUMS lists their checksums.

v0.2.0

Choose a tag to compare

@neotoxicfr neotoxicfr released this 20 Nov 19:07

🏷️ yawrdp is now Portique

The project is about to grow beyond a web RDP client: SSH comes next. It takes a name of its own: Portique. New repository (neotoxicfr/portique), new image (ghcr.io/neotoxicfr/portique), new public address. Same features as v0.1.5, with every Firefox and security fix since.

Migrating an existing deployment

  • Rename the environment variables: YAWRDP_* becomes PORTIQUE_* (same names otherwise).
  • Rename the database in the data folder: yawrdp.db (plus its -wal and -shm files) becomes portique.db.
  • Switch the image to ghcr.io/neotoxicfr/portique. The binary is now portique, and the healthcheck runs portique healthcheck.
  • The Windows setup scripts are now portique.reg, portique.cmd and portique.ps1. A PC that already ran the old ones has nothing to redo.
  • The session cookie and the anti-CSRF header changed names, so open sessions need a fresh login.

🧩 Multi-architecture images

Every image tag now covers amd64 and arm64, so Portique runs on a Raspberry Pi or an Orange Pi as it does on a NAS. The arm64 image is built natively on an ARM machine, with no emulation, then joined with the amd64 one under the same tag. The release also ships an aarch64 archive next to the x86_64 one.

📦 Dependencies

  • webauthn-rs 0.6.2: passkeys registered with earlier versions stay valid, as the stored format is unchanged.
  • leptos 0.8.23, openssl 0.10.82, uuid 1.29.2, and Rust 1.100 for the build.

Docker

docker pull ghcr.io/neotoxicfr/portique:0.2.0
docker pull ghcr.io/neotoxicfr/portique:latest

portique-0.2.0-x86_64-linux.tar.gz and portique-0.2.0-aarch64-linux.tar.gz hold the server binary (glibc 2.38+) and the compiled front. SHA256SUMS lists their checksums.

v0.1.5

Choose a tag to compare

@neotoxicfr neotoxicfr released this 20 Nov 19:07

🔒 Security — dependency fixes

This release only patches dependencies: there is no change in behaviour. cargo audit and Dependabot alerts now run on every change.

  • russh 0.65.1 (Wake-on-LAN through an SSH command): a malicious SSH server could grow the client's memory without bound with EXT_INFO packets (GHSA-4p9f-7p9m-5vfg). It could also stall a channel by declaring a zero maximum packet size (GHSA-fw5c-8223-6h42). And kex_done now runs only after the host key is verified (GHSA-9264-jvgf-6w2f). yawrdp only talks to a host whose key an admin approved, but this client code path is ours.
  • tokio 1.54.1: race condition in time::Interval (RUSTSEC-2026-0384). 1.54.0 was also yanked.
  • rustls-webpki 0.103.16: distrusts a set of intermediate certificates (RUSTSEC-2026-0382). Not on yawrdp's path, since the PC's certificate is pinned, but patched anyway.
  • crypto-bigint 0.7.10 and ctutils 0.4.8: constant-time fixes (RUSTSEC-2026-0387, RUSTSEC-2026-0385).

Still open

  • rsa (RUSTSEC-2023-0071, the Marvin timing attack) has no fix. Only russh uses it, as an SSH client: it verifies the host's public key and logs in with a password, so yawrdp never runs an RSA private-key operation. Documented in .cargo/audit.toml.
  • The Debian 13 base image has HIGH findings with no fix available yet: util-linux, ncurses, systemd, perl, acl and sqlite. The container runs none of these programs. It runs as an unprivileged user, read-only, with every capability dropped.

Docker

docker pull ghcr.io/neotoxicfr/yawrdp:0.1.5
docker pull ghcr.io/neotoxicfr/yawrdp:latest

The yawrdp-0.1.5-x86_64-linux.tar.gz archive holds the server binary (glibc 2.38+) and the compiled front. SHA256SUMS lists its checksum.

v0.1.4

Choose a tag to compare

@neotoxicfr neotoxicfr released this 20 Nov 19:07

🐛 Fix — browsers stuck on an old version

Browsers could keep running an old version of yawrdp long after an update. Firefox was still on v0.1.0 after three releases, so the Firefox fixes of v0.1.1 to v0.1.3 never reached it. The server sent no cache headers: the browser was free to reuse its old page, and the old page loaded the old app. The service worker could also fall back to its cached copy of that page.

  • The page, the service worker, the manifest and the /setup/ scripts are now revalidated on every load (Cache-Control: no-cache, checked against their ETag).
  • The fingerprinted files built by trunk (the app's .js, .wasm and .css) are cached for a year (immutable): a new release gives them new names.
  • The service worker uses a new cache name, which drops the old cached page on its next update.

If a browser still shows the old version, a hard reload (Ctrl+Shift+R) or clearing the site's data fixes it once. From then on, updates show up on the next load.

Docker

docker pull ghcr.io/neotoxicfr/yawrdp:0.1.4
docker pull ghcr.io/neotoxicfr/yawrdp:latest

The yawrdp-0.1.4-x86_64-linux.tar.gz archive holds the server binary (glibc 2.38+) and the compiled front. SHA256SUMS lists its checksum.

v0.1.3

Choose a tag to compare

@neotoxicfr neotoxicfr released this 20 Nov 19:07

🐛 Fixes

Black screen with Firefox on Windows. v0.1.2 still showed a black screen there. The PC streamed for 81 seconds and yawrdp reported no error. yawrdp waits for each decoded H.264 frame before it runs the next graphics command. A hardware decoder that holds frames until more input arrives therefore froze the display without a trace. Waiting for a frame, or for its copy out of the decoder, is now capped at 1.5 seconds. Past that, H.264 is turned off for this browser and the session reopens without it, on RemoteFX Progressive / ClearCodec. The browser console says why. A browser update tries H.264 again.

"Préparer un PC" link. The footer link led nowhere: the front's router handled it as an in-app page. It now opens the Windows setup scripts.

Docker

docker pull ghcr.io/neotoxicfr/yawrdp:0.1.3
docker pull ghcr.io/neotoxicfr/yawrdp:latest

The yawrdp-0.1.3-x86_64-linux.tar.gz archive holds the server binary (glibc 2.38+) and the compiled front. SHA256SUMS lists its checksum.

v0.1.2

Choose a tag to compare

@neotoxicfr neotoxicfr released this 20 Nov 19:07

🎞️ H.264 in Firefox

v0.1.1 fixed Firefox's black screen by turning H.264 off for it. Firefox now keeps H.264, still hardware-encoded by the PC (NVENC). Each browser gets the best quality it can display:

  • Chrome, Edge and other Chromium browsers: full H.264 4:4:4, as before. The browser hands over the raw YUV planes, and yawrdp recombines the two AVC444 views.
  • Firefox: H.264 4:2:0. Its WebCodecs decoder only returns RGB frames, so the 4:4:4 recombination is out of reach. But the AVC444 main view is a complete 4:2:0 picture: Firefox displays that, and the auxiliary view (extra colour detail) still goes through the decoder to keep its reference frames intact.

The decoder is told that the stream is BT.709 full range, so the browser's RGB conversion matches what Windows encoded.

Checked with Firefox 158 against the real PC: 168 H.264 frames decoded in 25 seconds and the desktop displayed. Colours match the non-H.264 rendering, with a mean difference of 3/255 per channel and no range shift.

The H.264-off fallback from v0.1.1 now only kicks in when the browser's decoder actually fails. A Firefox that v0.1.1 had marked as "no H.264" is cleared automatically.

Docker

docker pull ghcr.io/neotoxicfr/yawrdp:0.1.2
docker pull ghcr.io/neotoxicfr/yawrdp:latest

The yawrdp-0.1.2-x86_64-linux.tar.gz archive holds the server binary (glibc 2.38+) and the compiled front. SHA256SUMS lists its checksum.